Repository navigation
Replies: 1 comment
|
It was defined in a hidden chunk ( library(did)
set.seed(1814)
sp <- reset.sim() # default simulation parameters, exported by did
sp$te <- 0
time.periods <- 4
sp$te.e <- 1:time.periods # dynamic effects
dta <- build_sim_dataset(sp)
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In the first code section of the {did} vignette (https://bcallaway11.github.io/did/articles/did-basics.html) the definition of the
spobject is missing, isn't it?There is only
sp$te.e <- 1:time.periodsbut the other simulation parameters are missing.All reactions