Learn R Programming

hsem (version 1.0)

ml2: simulated urge to smoke data

Description

By using an example for urge to smoke in the McNeish and Hamaker (2020), this data set is a simulated subset. It consists of 10 repetitions on regular time scales for 20 different individuals. For response variable, urge to Smoke is on a standardized scale average 0 and the standard deviation 1.

Usage

data("ml2")

Arguments

Format

A data frame with 200 observations on the following 6 variables.

urge

standardized urge to smoke

urge1

previous urge to smoke

dep

standardized depression

dep1

previous depression

id

individual indicator

time

time indicator