as.simple.formula | R Documentation |
Converts character vector of atrributes' names and destination attribute's name to a simple formula.
as.simple.formula(attributes, class)
attributes |
character vector of attributes' names |
class |
name of destination attribute |
A simple formula like "class ~ attr1 + attr2"
Piotr Romanski
data(iris)
result <- cfs(Species ~ ., iris)
f <- as.simple.formula(result, "Species")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.