## S3 method for class 'data.frame':
hist(x, n.unique = 3, nclass = "compute",
na.big = FALSE, rugs = FALSE, mtitl = FALSE, ...)
# For S-Plus you must use hist.data.frame( ) as hist is not generic there
TRUE
to draw the number of missing values
on the top of the histogram in addition to in a subtitle. In the
subtitle, n is the number of non-missing values and m is the number
of missing valuesTRUE
to add rug plots at the top of each histogramscat1d
hist
, scat1d
d <- data.frame(a=runif(200), b=rnorm(200),
w=factor(sample(c('green','red','blue'), 200, TRUE)))
hist.data.frame(d) # in R, just say hist(d)
Run the code above in your browser using DataLab