Description Usage Arguments Value Author(s) See Also
A program that computes the time until definitive deterioration in a quality of life score and print the results in a csv file according treatment arm
1 2 |
X |
input data matrix or data frame with a quality of life score. Missing values are inserted as NA |
score |
vector with the name of the quality of life scores of interest |
order |
a vector equals to 1 if the deterioration corresponds to a decrease of the score, 2 otherwise |
ref.init |
the reference score to qualify the deterioration.
By default, |
MCID |
vector equals to the minimal clinically important difference (MCID). Several MCIDs can be specified |
ref.def |
the deterioration is definitive 1: if there is no clinically significant improvement as compared to the reference score ( |
death |
missing if patients who died without experienced a deterioration are censored at the time of the last QoL score, equals to the name of the death date in the dataframe |
group |
the name of the variable in |
names.group |
the name of each treatment group to print |
sensitivity |
Boolean equals to |
file |
the name of the csv file to create with the results of the time to deterioration analysis |
this function does not return value in R console but create a csv file with the results of the time to deterioration analysis
Amelie ANOTA
Maintainer: Amelie ANOTA <aanota@chu-besancon.fr>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.