data.list-methods {FLCore}R Documentation

Creates data.frame with list of values

Description

This method gets a list of "FLQuant" and coarces it into a data.frame with a list of the values of each "FLQuant". It is very similar to "as.data.frame" but instead of providing each "FLQuant" in a new column, all objects are "rbinded". It's intended to be helpfull for ploting with xyplot.

Generic Function

Usage
data.list(object, ...)
Arguments:
object: list of "FLQuant" objects
...: additional, optional arguments if requested
Value
"FLQuants" object

Methods

object="list"
creates a "data.frame" object from a list of "FLQuant" objects rbinding each object in the list. A new column is added with the name of the object "qname"

See Also

FLQuant-class, FLQuants-class

Examples

data(ple4)
flqs <- FLQuants(list(catch.n(ple4), landings.n(ple4), discards.n(ple4)))
data.list(flqs)

[Package FLCore version 1.3-3 Index]