View source: R/3b_wrapperFunctions.R
| addDummyEffects | R Documentation |
A function to add one alter_covariate effect for each location dummy variable included in the state. Dummy variables in the state object are named "dummyXX", where XX can take any value. This is particularly useful when including fixed effects for each location to explicitly model the indegree of each location.
addDummyEffects(effectsObject, state)
addFixedEffects(effectsObject, state)
effectsObject |
The monan Effects object to which the dummy location effects should be added. |
state |
The monan state (data) object that the effects object applies to |
An object of type effectsList.monan
myEffects <- createEffects(myState) |>
addEffect(loops) |>
addDummyEffects(myState)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.