Learn R Programming

RBaM (version 1.1.1)

toString.prediction: prediction to string

Description

Convert an object of class 'prediction' into a ready-to-write vector of string

Usage

# S3 method for prediction
toString(x, ...)

Value

A string ready to be printed or written.

Arguments

x

prediction object, object to be converted.

...

Optional arguments.

Examples

Run this code
pred=prediction(X=twoPopulations[,1:3],spagFiles=c('P1.spag','P2.spag'))
toString(pred)

Run the code above in your browser using DataLab