powered by
rav
rav.grid is a function that generates an empty (NAs filled) dataset according to the 'rAverage' format.
rav.grid
NA
rav.grid(lev, trials = 1, subset = FALSE, names = NULL)
Vector containing the number of levels of each factor. For instance, two factors with respectively 3 and 4 levels require lev = c(3,4).
lev = c(3,4)
Number of rows of the output matrix.
Logical. Indicates whether the matrix should contain a first column for subset coding.
Character. Indicates the column names (optional).
A data.frame object.
data.frame
rav, pargen, datgen, rAverage-package
pargen
datgen
rAverage-package
# NOT RUN { rav.grid(lev=c(3,2,3), trials=5, names=c("Hk","Fa","Mg")) # }
Run the code above in your browser using DataLab