## Make the main object:
lft <- lifertable(ColumnFemale = Female,
ColumnAge = Age,
ColumnEggs = Eggs,
SexRate = Sexrate,
ColumnGroups = Group,
data = Insects)
as.data.frame(lft$LIFERTABLE)
Run the code above in your browser using DataLab