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