realdata2: Hypothetical real data

realdata2R Documentation

Hypothetical real data

Description

Hypothetical real data for cross-validated risk scores design with two outcomes (CVRS2).

Usage

data(realdata2)

Format

A list of 2 data frames with patients and covariates data, and a vector of responses.

patients: A data frame with one row per patient and the following columns: FID (family ID), IID (individual ID), treat (1 for the treatment arm and 0 for the control arm).

covar: Covariate data for L covariates, one row per patient.

response: A vector of hypothetical true binary response 1.

response2: A vector of hypothetical true binary response 1.

The order of the patients in the data frames and the vector of responses should match.

Examples

data(realdata2)
sig = 0.05
nclust = 4
group.prop.sig = 0.2
seed = 123
plotrs = T
realres.cvrs2 = analyse.realdata2(realdata2, nclust, sig, group.prop.sig, seed, plotrs)

svetlanache/rapids documentation built on Sept. 15, 2023, 7 a.m.