View source: R/repgrid-basicops.r
makeRepgrid | R Documentation |
The function creates a repgrid
object from scratch. A number of parameters have to be defined in order to
make a new grid (see parameters).
makeRepgrid(args)
args |
Arguments needed for the construction of the grid (list).
These include |
NULL
## Not run:
# make list object containing the arguments
args <- list(
name = c("element_1", "element_2", "element_3", "element_4"),
l.name = c("left_1", "left_2", "left_3"),
r.name = c("right_1", "right_2", "right_3"),
scores = c(
1, 0, 1, 0,
1, 1, 1, 0,
1, 0, 1, 0
)
)
# make grid object
x <- makeRepgrid(args)
x
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.