as.data.frame.lifertableLFT {Lifertable} | R Documentation |
Coerce Life Table to a Data Frame
Description
Function to coerce the object displaying Life Table into a data frame.
Usage
## S3 method for class 'lifertableLFT'
as.data.frame(x, row.names = NULL, ...)
Arguments
x |
A lifertableLFT object |
row.names |
|
... |
additional arguments to be passed to or from methods. |
Value
as.data.frame.lifertableLFT
returns a data frame.
Examples
## Make the main object:
lft <- lifertable(Female, Age, Eggs, Sexrate,
ColumnGroups = Group, data = Insects)
as.data.frame(lft$LIFERTABLE)
[Package Lifertable version 0.0.1 Index]