View source: R/NormalBlockBase-S3methods.R
| isNB | R Documentation |
Checks if a model is of class NormalBlockBase(), i.e. any
normal-block model (variance-block or mean-block family).
isNB(object)
object |
An R object. |
A boolean telling whether object inherits from the NormalBlockBase class.
ex_data <- generate_normal_block_var_data(n = 50, p = 20, d = 1, q = 3)
data <- NormalBlockData$new(ex_data$Y, ex_data$X)
model <- normal_block(data, blocks = 3, control = NB_control(verbose = FALSE))
isNB(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.