Displaying 2 results from an estimated 2 matches for "case0102".
2012 Jan 31
1
Currency symbols in Xtick or Ytick labels
How do you label Xtick and Ytick marks with Currency symbols: $2000
instead of 2000? I would like to add dollar symbols to tickmarks on
boxplots, histograms and back-to-back histograms.
My Examples (requiring the lattice and Hmisc packages):
data(case0102, package="Sleuth2")
str(case0102)
boxplot(Salary~Sex, case0102)
histogram(~ Salary | Sex, data=case0102)
require(Hmisc)
# out <- histbackback(split(case0102$Salary, case0102$Sex),
probability=TRUE, xlim=c(-.001,.001),
out <- histbackback(split(case0102$Salary, case0102$Sex),
p...
2009 Oct 25
1
Datasets for "The Statistical Sleuth"
Hi everyone,
I wonder if there already exists any R packages containing all the
data sets for the book "The Statistical Sleuth"
(http://www.proaxis.com/~panorama/home.htm; also available at StatLib
http://lib.stat.cmu.edu/datasets/sleuth).
I'm writing an R package with a friend for one of our stat courses
where SAS is the main tool being used. As the time is limited and half
of the