is.NAWRUmodel | R Documentation |
NAWRUodel
object checkTests whether the input object is a valid object of class NAWRUmodel
.
is.NAWRUmodel(object, return.logical = FALSE)
object |
An object to be tested. |
return.logical |
If |
A logical value or nothing, depending on the value of return.logical
.
# load data for France
data("gap")
tsList <- amecoData2input(gap$France, alpha = 0.65)
# Traditional phillips curve
model <- NAWRUmodel(tsl = tsList, trend = "RW2", cycle = "AR2", type = "NKP", cycleLag = 0:1)
is.NAWRUmodel(model, return.logical = TRUE)
attr(model, "phillips curve")$cycleLag <- 0
is.NAWRUmodel(model, return.logical = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.