#' First Ever Function
#'
#' @param x Name
#'
#' @return Output from print
#' @export
#'
#' @examples
#' hello("Ben")
hello <- function(x) {
print(paste0("Hello ", x, ", this is the world!"))
}
#' Creat A Squared Matrix
#'
#' @param n A scalar number
#'
#' @return A squared matrix
#' @export
#'
#' @importFrom stats rnorm
#' @importFrom sde BM
#'
#' @examples
#' mym(4)
mym <- function(n){
return(sum(c(rnorm(n)))*BM(x=0, t0=0, T=1, N=1))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.