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")

larskotthoff/fselector documentation built on Feb. 18, 2021, 12:13 a.m.