simulatedata.car: Simulate Data For CAR Function

Description Usage Arguments

View source: R/simulateData.R

Description

Function to simulate data with treatment assignments from Covariate Adaptive Randomization Scheme

Usage

1
2
simulatedata.car(mean.x, mean.y, sigma0, sigma, rho, tau1, tau2, beta0,
  beta1, treat, covValues)

Arguments

sigma0

sigma0 in the bivariate normal distribution

sigma

sigma in bivariate normal distribution

rho

rho in bivariate normal distribution

tau1

Tau1 is the weight on the first covariate

tau2

Tau2 is the weight on the second covariate

treat

List containing the treatment assignments and the base matrix

covValues

covValues is the dummy variable matrix from the covariate values

mean.s

Mean of the short term response

mean.t

Mean long-term response

data

Is the data from the previous analysis if applicable. The default is NULL


Gtmille2/twoStageSeamless documentation built on Oct. 30, 2019, 6:36 p.m.