Learn R Programming

RBaM (version 1.1.1)

toString.parameter: parameter to string

Description

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

Usage

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

Value

A string ready to be printed or written.

Arguments

x

parameter object, object to be converted.

...

Optional arguments.

Examples

Run this code
p <- parameter(name='par',init=0,prior.dist='Gaussian',prior.par=c(0,1))
toString(p)

Run the code above in your browser using DataLab