View source: R/func_loop_group.R
loop_group | R Documentation |
Take a data.frame with grouped data i.e grouped by hour for a diurnal, and duplicate
the first group at the end of the data.frame, with its grouping variable == max(group)+1
loop_group(df, by = NULL, grp = NULL)
df |
data.frame contained grouped/binned data |
by |
value of the increment between groups, if NULL an attempt is made to guess this value |
grp |
column containg grouping data. if NULL the first group of the grouped data.frame will be used. |
W. S. Drysdale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.