require(qcc) require(xtable) x <- table (, exclude=NULL) x <- if (!is.numeric (x)) { warning ("Data may not be numeric, but proceeding as requested.\nDid you forget to check the tabulate option?") } rk.header ("Pareto chart") rk.graph.on () try ({ descriptives <- pareto.chart(x) rk.results(xtable(descriptives)) }) rk.graph.off ()