Description Usage Arguments Value Note
Computes the quality scores of the rows in dataset
.
1 | compute_flatline_score(x, id.var = NULL)
|
x |
A dataset that contains every subject (rows) and all variables (columns) to be used. Or a numeric vector to compute a single score. |
id.var |
Either a numeric or character vector identifying a column in the dataset, or a vector of the same length as the amount of rows in x. |
A numeric vector of scores. A named vector in case id.var is non NULL.
The score is defined as the proportion of scores that has the value for a variable as the variable before it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.