#' Fitting model
#'
#' @param X design matrix
#' @param w parameter vector
#'
#' @return vector of predicted values
fit <- function(X, w) {
f <- X %*% w
return(f)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.