s-news
[Top] [All Lists]

Histograms/Density/Quantile plots

To: s-news@lists.biostat.wustl.edu, s-news-owner@lists.biostat.wustl.edu
Subject: Histograms/Density/Quantile plots
From: Santosh <santosh2005@gmail.com>
Date: Wed, 10 Oct 2007 07:33:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=BdkK3/g2s3znr7I8F0z65GkMNBhap6thrWHG6+MHJb0=; b=RjZg+XMEiIwhFGampZSjD+bXY7chUlriww5QrWl0U6WqcDKCehTiF04rnPlMkmnzMG661dDX8zgKKLSwFia3c39jKXJhzqcEaSot5mjOLIpJs8hKROrpC0vPcUvpoq7hvzu8ZBNDFhWTkTLPa23eqwq5aFzd8cC1v2RlFSMHNBA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=kA/v8Xcn+qoBDrmYW9wFk1AmYtI/YUZleT5KDrJNUC4/SgJ75o9a9VbInyKwXyiAwftPYb5JLal8WY0MnofUS7Hk7VTsxFQNtYTirTd7zguuy8fxXw2adksstrTaPmPwBqGwd+gOTTXyYy3gjXG+AtwW+uioswSk7Y9hwbv5XJM=
Hi,

I was wondering if it is possible to plot the following in one plot:
1     histogram of dichotomous distribution of data with bars next to each other; colors may be used to distinguish categories.
2     overlay the histogram with density and quantile lines of categorical data
3     Customize the x and y-axes as:
  • x - ticks display breaks applicable to the dichotomous bars as value instead of %s, so that the bars in each break/class are positioned on or around the tick value; x-label takes the column name of the variable
  • y axis and ticks are applicable for both density lines and bars; number of density lines  =  number of categories
c) Add legends for  bars and lines

In addition, I would highly appreciate your inputs on the following:
1) How is "width" calculated when using barplot(x, ...,beside=T, plot=T or plot=F)
2) What functions are used to calculate density (as mentioned above?
3) Is it possible to use differential equations in R/S+?
Thanks much in advance
Santosh
<Prev in Thread] Current Thread [Next in Thread>