View source: R/indivsInfo_ExtractEnd.R
indivsInfo_ExtractEnd | R Documentation |
Function to extract info by individual at end of life or model run.
indivsInfo_ExtractEnd(sf_EndByStage)
sf_EndByStage |
- sf dataframe returned by |
The input sf dataframe should be the output of indivsInfo_ExtractEndByStage
.
For each unique individual, the end of the model run or death is identified by the record
where age==max(age)
. "Unique" individuals are determined by eliminating original
individuals which resulted in more than one final individual (e.g., when metamorphosis
results in more than one individual).
sf dataframe with columns:
startTime
origID - original (starting) individual ID
endTime - ending time
endID - ending individual ID
endLHS - ending life stage
endGridCell - ID of ending ROMS grid cell
endLon - ending longitude
endLat - ending latitude
endDepth - ending depth (m)
endBathym - bathymetric depth (m) at ending location
endAge - ending age(d)
endNum - ending number
successful - flag indicating "success" (TRUE) or failure (FALSE) (e.g., settlement) [if column in sf_EndByStage
]
endGeom - ending 2d location as SF_POINT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.