Description Usage Arguments Value
Turn an observation data.frame into a long data.table
1 | to_long_form(dt, unit, observers, measurements)
|
dt |
'data.table' containing the reliability data in wide format |
unit |
name of the column containing the unit id |
observers |
list of names of the columns containing the oberverments, one per observer |
measurements |
name of the new column containing the measurements |
A long-form melted data.table with the same unit column and two new columns "observer" and measurements and as many rows as units.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.