Description Usage Arguments Value Author(s) See Also Examples
This function generates a context with a specified data unit activated
1 |
model |
a character string indicates which model governs the generating process. |
pars |
a context |
n |
numer of runs |
progress |
a boolean value indicates if the generating steps should be printed or not. |
a context with its data unit activated
Hoang-Trieu Trinh, thtrieu@apcs.vn
1 2 3 4 5 6 7 8 | # Defind a context
p <- pars(students = 20, items = 15)
# Generate data from p by POKS model (Partial Order Knowledge Structure model) twice
poks.data <- gen("poks", p, n = 2, progress = TRUE)
# poks.data is a list of two contexts (since we generated data twice)
poks.data
# To access to the generated data, access to poks component
poks.data[[1]]$poks
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.