long_format | R Documentation |
Converts the generated stimuli from the generate()
function into long format.
long_format(df, include = "design", include_candids = FALSE)
df |
A data frame that is the result from |
include |
A string indicating whether the long-format result should include all variables in the original data frame ( |
include_candids |
Logical; whether to include data about unused candidates in the result. If |
Returns the generated stimuli, but converted into long format, containing requested variables from the original df
, and the variables of item_nr
, condition
, euclidean_distance
(from the match_null).
lexops |>
split_by(Syllables.CMU, 1:3 ~ 4:6 ~ 7:20) |>
control_for(Zipf.SUBTLEX_UK, -0.2:0.2) |>
generate(n = 20) |>
long_format(include = "all")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.