#' Pred linreg
#'
#'
#' @param my_lm An object of class "linreg".
#'
#' @return The predicted values from the linear regression.
#'
#' @export
pred<-function(my_lm){
return(my_lm$fitted_values)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.