compute_flatline_score: Computes the quality scores of the rows in 'dataset'.

Description Usage Arguments Value Note

View source: R/Scores.R

Description

Computes the quality scores of the rows in dataset.

Usage

1

Arguments

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.

Value

A numeric vector of scores. A named vector in case id.var is non NULL.

Note

The score is defined as the proportion of scores that has the value for a variable as the variable before it.


Gootjes/rqtools documentation built on May 7, 2019, 8:05 a.m.