as.simple.formula: Converting to formulas

Description Usage Arguments Value Author(s) Examples

View source: R/misc.R

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 31, 2017, 2:27 a.m.