Nothing
#' @title cost.mse
#' @description mse
#' @export cost.mse
#' @return Mean Square Error
#' @param y Response
#' @param yhat The predicted value
cost.mse <- function(y, yhat)
{
mean((y - yhat)^2)
}
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.