Learn R Programming

xps (version 1.32.0)

attachData-methods: Attach/Remove Data

Description

Attach/remove data from trees to/from ProcesSet.

Usage

attachData(object, treenames = character(0), varlist = character(0), outfile = "data.txt")

removeData(object)

Arguments

object
Object of class "ProcesSet".
treename
vector of tree names to export.
varlist
names of tree leaves to export
outfile
name of output file.

Value

A ProcesSet object.

Details

attachData exports varlist from tree(s) with treenames and and saves the result as data.frame in slot data. Possible values of parameter varlist are described in export.

removeData removes data from slot data and replaces data.frame data with an empty data.frame of dim(0,0).

See Also

attachDataXY, attachInten