R/fx.R

Defines functions myfx4 myfx3 myfx2 myfx1

#' @export
myfx1 <- function(n){
	runif(n)
}
#' @export
myfx2 <- function(n){
	rnorm(n)
}

myfx3 <- function(){
	sample(1:100,1)
}

#' @export
myfx4 <- function(){
	n <- myfx3()
	rnorm(n)
}
ryamada22/ry4 documentation built on May 25, 2017, 10:13 p.m.