Displaying 2 results from an estimated 2 matches for "sleuth2".
Did you mean:
sleuth
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),
probability=FALSE, xlim=...
2013 Sep 12
6
declaring package dependencies
...3-09-11 r63906)
> Caesar.mod0 <- loglm(~Infection + (Risk*Antibiotics*Planned),
data=Caesar)
Error: could not find function "loglm"
In DESCRIPTION I have
Depends: R (>= 2.10), vcd, gnm (>= 1.0.3)
Suggests:
ca,gmodels,Fahrmeir,effects,VGAM,plyr,rgl,lmtest,MASS,nnet,ggplot2,Sleuth2,car
and the vcd DESCRIPTION has
Depends: R (>= 2.4.0), grid, stats
Suggests: KernSmooth, mvtnorm, kernlab, HSAUR, coin
Imports: utils, MASS, grDevices, colorspace
so, in an R 3.0.0 console, library(vcdExtra) loads vcd and its dependencies:
> library(vcdExtra)
Loading required package: vc...