R/pp.R

Defines functions pp

#############################################################################
#Description: Prints progress through a loop
#Notes:
#Author: Matthew Young
#Date Modified: 29/11/2012

pp=function(total,count,i=i){
	if(missing(count)){count=evalq(i,envir=parent.frame())}
	if(missing(total)){total=evalq(stop,envir=parent.frame())}
	cat(round(100*(count/total)),"%   \r")
}

Try the goseq package in your browser

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

goseq documentation built on Nov. 8, 2020, 8:13 p.m.