Nothing
#' Compute least squares coefficient fast
#'
#' @params y response vector
#' @params x matrix of covariates
#' @return param parameter vector
fastols <- function (y ,x) {
XtX <- crossprod(x)
Xty <- crossprod(x, y)
return(solve(XtX, Xty))
}
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.