build_person_data: build_person_data is a function to create level 2 data.

Description Usage Arguments Value

Description

build_person_data is a function to create level 2 data.

Usage

1
build_person_data(j, n_level_2_var, mean_fixed_level_2, sd_fixed_level_2)

Arguments

j

Number of units.

n_level_2_var

Number of level 2 variables.

mean_fixed_level_2

A vector with means for the level 2 covariates.

sd_fixed_level_2

A vector with standard deviations for the level 2 covariates.

Value

A data frame with level 2 data for the units.


L-Ippel/SEMA documentation built on May 30, 2019, 8:23 a.m.