powered by
This feature is useful for research purposes like exploring distributions of indexes etc.
randomGrid( nc = 10, ne = 15, nwc = 8, nwe = 5, range = c(1, 5), prob = NULL, options = 1 )
repgrid object.
repgrid
Number of constructs (default 10).
Number of elements (default 15).
Number of random words per construct.
Number of random words per element.
Minimal and maximal scale value (default c(1, 5)).
c(1, 5)
The probability of each rating value to occur. If NULL (default) the distribution is uniform.
NULL
Use random sentences as constructs and elements (1) or not (0). If not, the elements and constructs are given default names and are numbered.
if (FALSE) { x <- randomGrid() x x <- randomGrid(10, 25) x x <- randomGrid(10, 25, options = 0) x }
Run the code above in your browser using DataLab