getCall: Convert string to function call

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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.