Learn R Programming

qcr (version 0.1-18)

qcs.add: qcs.add Add a data.frame object with a qcs object

Description

This function is used to join two objects of type data.frame and qcs.

Usage

qcs.add(x, ...)
"qcs.add"(x, value, var.index = NULL, sample.index = NULL, covar.index = NULL, ...)

Arguments

x
Object type qcs
value
Object type data.frame
var.index
a scalar with the column number corresponding the observed data for the variable (the variable quality). Alternativelly can be a string with the name of the quality variable.
sample.index
a scalar with the column number corresponding the index each group (sample).
covar.index
optional. A scalar or numeric vector with the column number(s) corresponding to the covariate(s). Alternativelly can be a character vector with the names of the covariates.
...
arguments to be passed to or from methods.