Description Usage Arguments Value Author(s) See Also Examples
View source: R/epi_clean_spread_repeated.R
Create a single data frame with unique rows (individuals) and repeated observations across columns. A column with the replicate/repeated observation/time-point number for each row must be provided.
1 | epi_clean_spread_repeated(df = NULL, rep_col = "", id_col_num = 1)
|
df |
A dataframe in long format |
rep_col |
Column index or string to use to base spread on. |
id_col_num |
Column index with ID values. Default is 1. |
a nested list with as many sub-lists as unique values contained in the
column passed as rep_col. Column headers are renamed using
epi_clean_add_colname_suffix
and will contain suffixes taken from
the unique values in rep_col.
The ID column passed as id_col_num is included in each sub-list.
Antonio Berlanga-Taylor <https://github.com/AntonioJBT/episcout>
epi_clean_add_colname_suffix
, epi_clean_merge_nested_dfs
,
epi_clean_transpose
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.