#' Square Root Function
#'
#' Takes a list of numbers and calculates both their square and square roots.
#'
#' @param x
#'
#' @return a list of squares and their respective roots
#' @export
#'
#' @examples
#' x = 4, then s = 16, and sr = 4
sqandsqrt = function(x){
x=1:12
s = x^2
s
sr = sqrt(s)
sr
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.