function to create a tibble with indicator for year and stage from a "records" object produced by AlphaSimHlpR. Possibly redundant to framePhenoRec() function.

tidyrecords(records)

Arguments

records

a list-class "records" object produced by AlphaSimHlpR

Value

a tibble with indicator for year and stage

Examples

records <- fillPipeline(founders, bsp, SP)
#> Error in fillPipeline(founders, bsp, SP): object 'bsp' not found
records <- tidyrecords(records)
#> Error in unnest(., recs): could not find function "unnest"