df_to_gbi | R Documentation |
Convert a data frame into a group by individual matrix.
df_to_gbi(d, col_scan, col_id, uIds, uScans)
d |
a data frame. |
col_scan |
an integer indicating the column number holding the information of the scans. |
col_id |
an integer indicating the column number holding the individuals observations. |
uIds |
a character vector holding all the ids of the individuals. |
uScans |
a character vector holding all the ids of the scans. |
A group by individual matrix.
Sebastian Sosa, Ivan Puga-Gonzales
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.