View source: R/zoo_order_period.R
zoo_order_period | R Documentation |
A list of ordered periods is provided for the whole analysis. This function compare this list to periods represented in the dataset and shorten the reference list if needed.
zoo_order_period( df = NA, period_column = "period", lorder_period = c("EN", "MN", "LN", "EBA", "MBA", "LBA", "EIA", "MIA1", "MIA2", "RR", "ERE", "LRE", "LA") )
df |
a dataframe with the archaeozoological assemblages and the period they belong |
period_column |
the column name of assemblage periods |
lorder_period |
a vector with the ordered periods, by default: c("EN", "MN", "LN", "EBA", "MBA", "LBA", "EIA", "MIA1", "MIA2", "RR", "ERE", "LRE", "LA"). See Nieto-Espinet al al. 2021 (https://doi.org/10.1371/journal.pone.0246201) |
the ordered list of periods existing in the dataframe
df <- zoo_read() lorder_period <- zoo_order_period(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.