transformPvs {conquestr}R Documentation

transformPvs

Description

Helper function to Transform PVs onto a new metric (e.g., PISA Mean = 500, SD = 100). Uses the method described in the PISA 2012 technical manual.

Usage

transformPvs(data, mT = 0, sdT = 1, weights = 1)

Arguments

data

A data frame or matrix that contains the PVs

mT

The desired mean of the PVs

sdT

The desired sd of the PVs

weights

a vector of weights, the same length as data[1] used to calculate the mean and SD across the PVs

Value

a List of transformed PVs with as many elements as PVs were listed in 'x'.


[Package conquestr version 1.3.4 Index]