Description Usage Arguments Value See Also Examples
View source: R/intsvy.ben.pv.R
intsvy.ben.pv calculates the percentage of students performing at or above the cut-off points (scores) given by the useR. The default are the benchmarks established by official reports.
1 2 |
pvlabel |
The label corresponding to the achievement variable, for example, "ASRREA", for overall reading performance. |
cutoff |
The cut-off points for the assessment benchmarks (e.g., cutoff= c(357.77, 420.07, 482.38, 544.68, 606.99, 669.30)). |
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 PIRLS. |
export |
A logical value. If TRUE, the output is exported to a file in comma-separated value format (.csv) that can be opened from LibreOffice or Excel. |
name |
The name of the exported file. |
folder |
The folder where the exported file is located. |
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. |
pirls.ben.pv returns a data frame with the percentage of students at or above the benchmark and the corresponding standard error.
timss.ben.pv, pirls.ben.pv, pisa.ben.pv
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
pisa.ben.pv(pvlabel="MATH", by="CNT", data=student2012)
intsvy.ben.pv(pvlabel="MATH", by="CNT", data=student2012, config=pisa_conf)
piaac.ben.pv(pvlabel="LIT", by="CNTRYID", data=piaac)
intsvy.ben.pv(pvlabel="LIT", by="CNTRYID", data=piaac, config=piaac_conf)
timss.ben.pv(pvlabel="ASMMAT", by="IDCNTRYL", data=timss4)
intsvy.ben.pv(pvlabel="ASMMAT", by="IDCNTRYL", data=timss4, config=timss4_conf)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.