R/plot.rPower.R

plot.rPower <- function(x, ...) {
	if (!inherits(x, "rPower")) 
		stop("Use only with \"rPower\" objects")
  barplot(table(x[[2]]) / length(x[[2]]))
}

Try the rPowerSampleSize package in your browser

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

rPowerSampleSize documentation built on May 2, 2019, 5:50 a.m.