getCall: Convert string to function call

Description Usage Arguments Value Author(s) Examples

View source: R/getCall.R

Description

Convert string to function call, where you can acces easily all entries

Usage

1
getCall(MLCall)

Arguments

MLCall

Your call to a machine learning algorithm. All arguments in this call should be named.

Value

A function Call of class "call"

Author(s)

Wannes Rosiers

Examples

1
2
3
4
5
6
7
## Not run: 
library(e1071)
MLCall <- "svm(formula = Species ~ ., data = iris)"
functionCall <- getCall(MLCall)
functionCall$formula

## End(Not run)

parallelML documentation built on May 29, 2017, 3:59 p.m.

Search within the parallelML package
Search all R packages, documentation and source code