Nothing
knitr::opts_chunk$set(echo = TRUE) if (requireNamespace("reproducibleRchunks",quietly=TRUE)) { library("reproducibleRchunks") } else { } options(reproducibleRchunks.templates = list( # latex="\\hrulefill \n \\section{${title}} # \\medskip \\small # ${content}\n \\hrulefill \n # ") latex="\\marginpar{${content}}" ))
Using the pressure
data set (vapor pressure of mercury as a function of temperature), we ran a simple regression model with temperature predicting pressure.
model <- lm(pressure~temperature, pressure)
We found the following model coefficients:
result <- broom::tidy(model) knitr::kable(result)
knitr::kable(result)
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.