R/hello.R

Defines functions randomnumber times2 hello

Documented in hello

# Hello, world!
#
# This is an example function named 'hello'
# which prints 'Hello, world!'.
#
# You can learn more about package authoring with RStudio at:
#
#   http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
#   Install Package:           'Cmd + Shift + B'
#   Check Package:             'Cmd + Shift + E'
#   Test Package:              'Cmd + Shift + T'

hello <- function() {
  print("Hello, world!")
}
###this is multiplying anumber by 2
times2 <- function(x) {
  prod(2,x)
}
randomnumber <- function() {
  set <- 1:200
  sample(set, 1)
}
benrwoodard/adobeauth documentation built on Dec. 19, 2021, 8:44 a.m.