Nothing
## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup--------------------------------------------------------------------
library(smoothic)
## -----------------------------------------------------------------------------
fit <- smoothic(
formula = lcmedv ~ .,
data = bostonhouseprice2,
family = "sgnd", # Smooth Generalized Normal Distribution
model = "mpr" # model location and scale
)
## -----------------------------------------------------------------------------
summary(fit)
fit$kappa # shape estimate
## ---- fig.width=10, fig.height=8----------------------------------------------
plot_paths(fit)
## ---- fig.width=10, fig.height=8----------------------------------------------
plot_effects(fit,
what = c("ltax", "rm", "ldis"), # or "all" for all selected variables
density_range = c(2.25, 3.75))
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.