Learn R Programming

IPV (version 1.0.0)

ipv_long_to_wide: IPV long to wide

Description

Helper function to convert long format data into appropriate wide format for ipv_est

Usage

ipv_long_to_wide(x, id = "id", value.var = "value")

Arguments

x

data frame; raw data in long format

id

character; name of case identifying variable

value.var

character; name of variable that contains measurement values