Description Usage Arguments Details Value Examples
The purpose of this plot is to look for dramatic differences (which may indicate outliers) in the values of client-specific H-data values between the current and previous assessments.
1 | compare_diff(diffdata, var, zero_prob, mean, binwidth)
|
diffdata |
dataframe created by calc_diffs |
var |
H-data variable of interest |
zero_prob |
(optional) The probability of the difference in the variable of interest being zero |
mean |
(optional) The mean of the absolute value of the non-zero part of the variable of interest. Note that for the waist circumference:weight ratio, the mean of the absolute value of the non-zero part is multiplied by 1,000 |
binwidth |
(optional) The binwidth of the plot |
Simulates a comparison distribution and compares client-specific differences in H-data values between current and most previous assessment to the simulated distribution.
If optional variables are not specified, the function will use a reference value.
Histogram of simulated differences with lines indicating actual differences in H-data.
1 | compare_diff(diffdata, var, zero_prob, mean, binwidth)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.