.remove_forcing | R Documentation |
StudySpecification
In preparation for converting an RD StudySpecification
to another
StudySpecification
, this will strip the forcing variable entirely. It
is removed from the data (both @structure
and @column_index
),
as well as from the formula stored in @call
.
.remove_forcing(spec)
spec |
A |
Note that the output StudySpecification
will fail a validity check
(with validObject()
) due to an RD StudySpecification
requiring
a forcing variable, so change the @type
immediately.
The StudySpecification
without any forcing variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.