generate.data: Generate Data Function

Description Usage Arguments

View source: R/generate.data.R

Description

This function is used to generate data for use in a simulation of the seamless trails with different endpoints

Usage

1
generate.data(n1, mean.bin, mean.t, sigma, rho)

Arguments

n1

n1 is the number of people recruited overall in the study

mean.bin

Mean.bin is the mean of the binary endpoint

mean.t

Mean.t is the mean of the normally distributed endpoint

sigma

Sigma is the standard deviation of the endpoints, which is assumed to be equal

rho

Rho is the correlation between the endpoints


Gtmille2/multiEndpoint documentation built on Oct. 30, 2019, 6:35 p.m.