| nobs.qpm_filtration | R Documentation |
Number of observations
## S3 method for class 'qpm_filtration'
nobs(object, ...)
## S3 method for class 'qpm_estimate'
nobs(object, ...)
object |
A |
... |
Unused. |
Number of time periods used.
sol <- qpm_solve(qpm_template("bkl"))
obs <- simulate(sol, nsim = 40, seed = 1, burn = 20)
nobs(qpm_filter(sol, obs[, c("period", "pi", "i")]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.