.new_StudySpecification | R Documentation |
StudySpecification
object.Helper function to create a new StudySpecification
. Called internally
from rct_spec()
, rd_spec()
or obs_spec()
.
.new_StudySpecification(
form,
data,
type,
subset = NULL,
call = NULL,
na.fail = TRUE,
called_from_lmitt = FALSE
)
form |
Formula to create StudySpecification, see help for
|
data |
The data set |
type |
One of "RCT", "RD", or "Obs" |
subset |
Any subset information |
call |
The call generating the |
na.fail |
Should it error on NA's ( |
called_from_lmitt |
Logical; was this called inside |
A new StudySpecification object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.