#' My function of squares and cubes
#'
#' produces list of squares and cubes
#'
#' this is a part of the introduction to working on packages
#'
#' @param x a vector
#'
#' @return a lot of vectors in the form of a vector object
#' @export
#'
#' @examples
#' x=1:4; myf(x)
myf = function(x){
obj1 = x^2
obj2 = x^3
list(square=obj1, cube=obj2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.