as.simple.formula: Converting to formulas

Description Usage Arguments Value Author(s) Examples

Description

Converts character vector of atrributes' names and destination attribute's name to a simple formula.

Usage

1

Arguments

attributes

character vector of attributes' names

class

name of destination attribute

Value

A simple formula like "class ~ attr1 + attr2"

Author(s)

Piotr Romanski

Examples

1
2
3
  data(iris)
  result <- cfs(Species ~ ., iris)
  f <- as.simple.formula(result, "Species")

Example output

OpenJDK 64-Bit Server VM warning: Can't detect initial thread stack location - find_vma failed
Warning message:
system call failed: Cannot allocate memory 

FSelector documentation built on May 2, 2019, 4:52 p.m.