Description Usage Arguments Details Value Author(s) See Also Examples
This function synthesize a given data under the assumptions of a given model
1 2 |
model |
a character string indicates which model governs the synthesizing process. |
data |
a list contains data that needs to be synthesized, first component is the response matrix, the other components are additional information that the specified model requires. |
keep.pars |
a character string vector contains names of the parameters to be
kept after learning the most probable context from |
students |
number of students in the synthetic data, by default this number is kept. |
n |
number of synthetic dataset(s) to generate. |
progress |
a boolean value indicates if the generating steps should be printed or not. |
This function is essentially a wrapper of function learn
and gen
,
where in between it eliminates all parameters that are not indicated in keep.pars
in the learned context.
you are also given the option of changing the number of students.
a list with two components, first component is identical to argument data
, second is a context or a list of contexts that have been generated.
Hoang-Trieu Trinh, thtrieu@apcs.vn
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.