R/hash.R

Defines functions hash

Documented in hash

##' A function to create useless hashes (####) for ease of commenting
##'
##' @title Create useless hashes
##' @param j How many columns of hashes
##' @param i How many rows of hashes
##' @author Dustin Fife
##' @export
##' @examples
##' hash(j=100, i=11)
hash = function(j=50, i=4){
	k = paste(rep("#", times=j),collapse="")
	for (m in 1:i){
		cat("\n")
		cat(k)
	}     
	cat("\n\n")   
	for (m in 1:i){

		cat(k)
				cat("\n")
	}     
}    

Try the fifer package in your browser

Any scripts or data that you put into this service are public.

fifer documentation built on May 30, 2017, 7:40 a.m.