powered by
Conversion functions to dimRedData.
as.dimRedData(formula, ...)# S4 method for formula as.dimRedData(formula, data)
# S4 method for formula as.dimRedData(formula, data)
The formula, left hand side is assigned to the meta slot right hand side is assigned to the data slot.
other arguments.
Will be coerced into a data.frame with as.data.frame
data.frame
as.data.frame
formula: Convert a data.frame to a dimRedData object using a formula
formula
Other dimRedData: dimRedData-class
dimRedData-class
## create a dimRedData object using a formula as.dimRedData(Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width, iris)[1:5]
Run the code above in your browser using DataLab