RespAddFixedEffect: RespAddFixedEffect

Description Usage Arguments Value Examples

View source: R/Simulation.R

Description

RespAddFixedEffect

Usage

1
RespAddFixedEffect(Response, RandoDataFrame, ColID, BetaVector)

Arguments

Response

TrainRandoResp object with a response variable (dependent variable)

RandoDataFrame

a TrainRandoSubj object with the randomization data

ColID

index of the column of the RandoDataFrame which will be used as independant variable

BetaVector

a vector of the beta effect

Value

response TrainRandoResp object with a response variable (dependent variable)

Examples

1
2
data("myResponse","myRandoDataFrame")
myResponse <- RespAddFixedEffect(Response=trainingrando::myResponse,RandoDataFrame=trainingrando::myRandoDataFrame,ColID=2, BetaVector=c(-1,0,0,1))

NicDubois/trainingrando documentation built on March 13, 2020, 5:33 a.m.