mean_ppvs: Mean calculated separately for each of the five plausible...

Description Usage Arguments Value

View source: R/meanpv.R

Description

Mean calculated separately for each of the five plausible values and a given weight.

Usage

1
mean_ppvs(data, pvname, groups, final_weights, student_id, school_id)

Arguments

data

Name of a data frame containing columns given in other arguments.

pvname

Name of the plausible value column.

groups

Name of one or more factors used for grouping.

final_weights

Name of a column that contains final student weights.

student_id

Name of a column with student IDs.

school_id

Name of a column with school IDs.

Value

Data frame containing columns for each of given factor variables, five columns with means calculated for each plausible values and a column with sums of weights.


mi2-warsaw/PISAoccupations documentation built on May 22, 2019, 8:58 p.m.