compute_density_smoothed.Rd
Compute density and cumulative density of change score for eCDF plot. The density is smoothed out using the kernel density and N datapoints for EACH anchor group
compute_density_smoothed( dat = NULL, anchor.group = NULL, time.var = NULL, timepoint = NULL, change.score = NULL )
dat | pass the dataframe, must contain the anchor group and the change score |
---|---|
anchor.group | indicate the name of the anchor group |
time.var | variable of the Time in the dataframe - PLEASE CHECK THAT THIS IS CORRECTLY ORDERED, default is Time |
timepoint | default here is to just use the final timepoint, e.g., "Time_4". Please be sure to have ordered your time variable correctly. |
change.score | indicate the name of the PRO change score |
character vector