as.data.frame.mlist {mscalib}R Documentation

Data Frames

Description

Turns the mlist object into a data.frame

Usage

## S3 method for class 'mlist':
as.data.frame(x,row.names=NULL,optional = FALSE)

Arguments

optional
row.names
x object of class massvectorlist

Details

These functions create a data frame, tightly coupled collections of variables which share many of the properties of matrices and of lists, used as the fundamental data structure by most of R's modeling software.

Author(s)

Witold Wolski wolski@molgen.mpg.de

See Also

as.matrix.mlist, as.matrix,

Examples

 data(mvl)
 tmp <- as.data.frame(mvl)
 names(mvl)
 plot(tmp$lengthmv,tmp$mass.Min.)
 data(mvl)
 mvl<-mvl[1:100]
 data(cal)
 test<-getintcalib(mvl,cal,error=500)
 tmp<-as.data.frame(test)
 names(tmp)

[Package Contents]