dummy_data {RobinCar2} | R Documentation |
Dummy Trial Data with Permute-Block Randomization
Description
This dataset contains the dummy trial data with permute block randomization.
Usage
dummy_data
Format
A data frame with 600 rows and 7 columns:
- id
The ID of the patients.
- treatment
The treatment assignment, "pbo", "trt1" and "trt2"
- s1
The first stratification variable, "a" and "b".
- s2
The second stratification variable, "c" and "d".
- covar
The covariate following normal distribution.
- y
The continuous response.
- y_b
The binary response.
Source
The data is generated by the create_dummy.R script.
[Package RobinCar2 version 0.1.1 Index]