is_vlmc | R Documentation |
This function returns TRUE
for VLMC models and FALSE
for other objects.
is_vlmc(x)
x |
an R object. |
TRUE
for VLMC models.
pc <- powerconsumption[powerconsumption$week == 5, ]
dts <- cut(pc$active_power, breaks = c(0, quantile(pc$active_power, probs = c(0.25, 0.5, 0.75, 1))))
model <- vlmc(dts)
# should be true
is_ctx_tree(model)
# should be true
is_vlmc(model)
# should be false
is_covlmc(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.