intsvy.table: Frequency table

View source: R/intsvy.table.R

intsvy.tableR Documentation

Frequency table

Description

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

Usage

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

## 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)

intsvy documentation built on Oct. 3, 2023, 1:07 a.m.