Description Usage Arguments Value Examples
View source: R/code_CDR_user.R
code_CDR adds a variable called "CDR" to a data set according to the scoring algorithm by Morris (1993).
1 |
df |
a data frame |
id_name |
the name of the primary ID variable in the data set |
deb |
debug yes or no (will slow function down) |
a data frame
1 2 3 | data("CDRexamples")
code_CDR(df = CDRexamples, id_name = "id", deb = FALSE)
code_CDR(df = CDRexamples, id_name = "id", deb = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.