qcs.add {qcr}R Documentation

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, ...)

## Default S3 method:
qcs.add(
  x,
  value,
  var.index = NULL,
  sample.index = NULL,
  covar.index = NULL,
  ...
)

Arguments

x

Object type qcs

...

arguments to be passed to or from methods.

value

Object type data.frame

var.index

a scalar with the column number corresponding to the observed data for the variable (the variable quality). Alternativelly it 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.


[Package qcr version 1.4 Index]