| df_long | R Documentation |
This dataframe can be converted into a repgrid object via importDataframe().
The long format has this name because it has few columns and many rows. It is a common format
in data analytics. Here, each row contains a different element-construct combination and the corresponding rating
value. The format looks like this:
element | left_pole | right_pole | rating | preferred_pole | rmin | rmax |
element 1 | left pole 1 | right pole 1 | 5 | left | 1 | 5 |
element_2 | left pole 1 | right pole 1 | 3 | left | 1 | 5 |
element_3 | left pole 1 | right pole 1 | 1 | left | 1 | 5 |
The columns element, left_pole, right_pole, and rating are mandatory, the columns preferred_pole, rmin,
and rmax are optional. rmin and rmax contain the min and max of the rating scale. Alternatively, you may
pass rmin and rmax as arguments in the function call.
importDataframe()
Other grid dataframes:
df_construct_columns,
df_element_columns
df_long
importDataframe(df_long, format = "long")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.