Description Usage Arguments Value Examples
AddAResponse
1 | AddAResponse(RandoDataFrame, nobs = NA, ResponseUnit = "", RespValues)
|
RandoDataFrame |
a TrainRandoSubj object with the randomization data |
nobs |
the number of observations in the dataset by default the number of rows in RandoDataFrame |
ResponseUnit |
a character string with the unit of the response |
RespValues |
can be a fixed value intercept which will be repeated nobs times or a numerical vector of the same lenght than nobs. |
response TrainRandoResp object with a response variable (dependent variable)
1 2 | data("myArms","myRandoDataFrame","myprogfact")
myResponse <- AddAResponse(RandoDataFrame=myRandoDataFrame, ResponseUnit='Weight (in kg)',RespValues=70)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.