Description Usage Arguments Value See Also Examples
View source: R/intsvy.mean.pv.R
The fucntion intsvy.mean.pv uses plausible values to calculate the mean achievement score and its standard error.
| 1 | 
| pvnames | The names of collumns corresponding to the achievement score, for example, paste0("PV",1:5,"MATH") for PISA. | 
| by | The label for the grouping variable, usually the countries (e.g., by="CNTRYID"), but could be any other categorical variable. | 
| data | An R object, normally a data frame. | 
| 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. | 
intsvy.mean.pv returns a data frame with means and standard errors.
pisa.mean.pv, timss.mean.pv, pirls.mean.pv
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run: 
intsvy.mean.pv(pvnames = paste0("ASRREA0",1:5), by= "IDCNTRYL", 
    data=pirls, config=pirls_conf)
intsvy.mean.pv(pvnames = paste0("PV",1:5,"MATH"), by="CNT", data=student2012, 
    config=pisa_conf)
    
intsvy.mean.pv(pvnames = paste0("BSMMAT0",1:5), by= "IDCNTRYL", data=timss8g, 
    config=timss8_conf)
    
intsvy.mean.pv(pvnames = paste0("PVNUM", 1:10), by="CNTRYID", data=piaac, 
    config=piaac_conf)    
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.