mlbench (version 1.1-3)

as.data.frame.mlbench: Convert an mlbench object to a dataframe

Description

Converts x (which is basically a list) to a dataframe.

Usage

as.data.frame.mlbench(x, row.names=NULL, optional=FALSE, ...)

Arguments

x
Object of class "mlbench".
row.names,optional,...
currently ignored.

Examples

Run this code
p <- mlbench.xor(5)
p
as.data.frame(p)

Run the code above in your browser using DataCamp Workspace