intsvy.table: Frequency table

Description Usage Arguments Value See Also Examples

View source: R/intsvy.table.R

Description

intsvy.table produces a frequency table for a categorical variable printing percentages and standard errors.

Usage

1
intsvy.table(variable, by, data, config)

Arguments

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.

Value

intsvy.table returns a data frame with percentages and standard errors.

See Also

timss.table, pirls.table

Examples

1
2
3
4
5
6
## 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)

dickli/intsvy2 documentation built on Sept. 8, 2020, 12:05 a.m.