Learn R Programming

lans2r (version 1.2.0)

spread_data: Spread data into wide format

Description

This function allows easy spreading into wide format.

Usage

spread_data(data, values = TRUE, errors = TRUE)

Value

the original data frame but in wide format

Arguments

data

a data frame with lans2r data

values

whether to include the values in wide format

errors

whether to include the errors in wide format