search for: causenam

Displaying 1 result from an estimated 1 matches for "causenam".

Did you mean: casename
2004 Apr 15
1
tapply() and barplot() help files for 1.8.1
...xlab = "Percent of YLLs", las = 1) New Version (as used with R 1.9.0): ## Calculate the % of YLLs for each group in the cause classification. x <- tapply(z$yllperdth, z[, fld], sum) totalYLLs <- sum(x) x <- x / totalYLLs * 100 x <- sort(x) causeNames <- names(x) ## NEW BIT x <- matrix(x) ## NEW BIT ## Plot the chart. horiz = TRUE makes it a bar instead of ## column chart. las = 1 prints the labels horizontally. xplot <- barplot(x, beside = TRUE, ## NEW BIT names...