Specific Grader Difference Table / Bar Chart
threshold_diff.Rd
This function is a more flexible version of the AMILSC tables as it allows for two specific graders to be selected and compared. Additionally, it allows for the unit thresholds to be varied and partitions in the data to be made to observe changes across the entire range of the trait of interest.
Arguments
- df
Input dataframe in long format
- variable
A valid column name denoting the variable of interest
- grader_a
First grader.
- grader_b
Second grader.
- units
An integer specifying how many units for the first threshold etc.
- visuals
Will output either a stacked bar chart or a table. Can be either "table" or "bar", default is "table".
- partitions
An integer specifying how many groups to split the variable into.