schizob {remiod} | R Documentation |
wide format of binary response of Schizophrenia data.
Description
A dataset containing the treatment and binary responses measured at baseline and 3 post-baseline visits
Usage
schizob
Format
A data frame with 437 rows and 5 variables:
- tx
treatment, 1 for treated and 0 for placebo
- y0
binary response at the baseline
- y1, y3, y6
binary response at the post-baseline week 1, 3, and 6.
Source
long-to-wise tranformation of schizo data, i.e. schizob = data.table::dcast(schizo, id + tx ~ week, value.var = "imps79b")
[Package remiod version 1.0.2 Index]