Description Usage Arguments Details Value OmicsSurv OmicsReg and OmicsCateg
View source: R/createClass_validOmics.R
These functions check the validity of new objects created in
the OmicsSurv, OmicsReg, and OmicsCateg classes.
1 2 3 4 5 | ValidOmicsSurv(object)
ValidOmicsReg(object)
ValidOmicsCateg(object)
|
object |
An object potentially of class |
We have currently written checks to make sure the dimensions of the mass spectrometry or bio-assay data frame and response matrices or vectors match. Other checks should be added in response to user feedback during or after beta testing. ENHANCEMENT.
TRUE if the object is a valid object, else an error message
with the rule broken.
Valid OmicsSurv objects will have two response vectors: a vector of
the most recently recorded follow-up times and a logical vector if that
time marks a death or event (TRUE: observed event; FALSE:
right-censored observation).
Valid OmicsReg and OmicsCateg objects with have one response
vector of continuous (numeric) or categorial (factor)
observations, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.