intsvy.table | R Documentation |
intsvy.table produces a frequency table for a categorical variable printing percentages and standard errors.
intsvy.table(variable, by, data, config)
variable |
The data label with the variable to be analysed. |
by |
The label for the grouping variable, usually the countries (i.e., by="IDCNTRYL"), but could be any other categorical variable. |
data |
An R object, normally a data frame, containing the data from PISA. |
config |
Object with configuration of a given study. Should contain the slot 'prefixes' with prefixes of filenames with the student, home, school, and teacher data. |
intsvy.table returns a data frame with percentages and standard errors.
timss.table, pirls.table
## Not run:
intsvy.table(variable="ASDGSLM", by="IDCNTRYL", data=timss4,
config = intsvy:::timss_conf)
intsvy.table(variable="ST08Q01", by="CNT", data=pisa, config=pisa_conf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.