View source: R/class_dataset.R
toString.dataset | R Documentation |
Convert an object of class 'dataset' into a ready-to-write vector of string
## S3 method for class 'dataset'
toString(x, ...)
x |
dataset object, object to be converted. |
... |
Optional arguments. |
A string ready to be printed or written.
X=data.frame(input1=rnorm(100),input2=rnorm(100))
Y=data.frame(output=X$input1+0.8*X$input2+0.1*rnorm(100))
workspace=tempdir()
d <- dataset(X=X,Y=Y,data.dir=workspace)
toString(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.