The following gives two functions for producing distribution graphs:
distribution-graph
produces a single graph, and
multiple.distribution.graph
produces a number of graphs side by side.
Regards,
Tore Wentzel-Larsen
statistician
Centre for Clinical research
Armauer Hansen house
Haukeland
I am looking for a way to produce a distribution graph as in the example:
(http://cecsweb.dartmouth.edu/release1.1/datatools/dgraph.php?year=2003geotype=STD_HRRevent=A01_DISeventtype=UTIL
Anybody who can help?
Christian von Plessen
Department of Pulmonary Medicine
Haukeland university
?violinplot (You need to install the UsingR package first.)
On Mar 23, 2007, at 4:06 AM, Plessen, Christian von wrote:
I am looking for a way to produce a distribution graph as in the
example:
(http://cecsweb.dartmouth.edu/release1.1/datatools/dgraph.php?
On 23-Mar-07 11:06:49, Plessen, Christian von wrote:
I am looking for a way to produce a distribution graph as in the
example:
(http://cecsweb.dartmouth.edu/release1.1/datatools/dgraph.php?year=2003;
geotype=STD_HRRevent=A01_DISeventtype=UTIL
Anybody who can help?
Christian von
On Fri, 2007-03-23 at 14:22 +, [EMAIL PROTECTED] wrote:
[Apologies -- there were errors in the code I posted previously.
A corrected version is below]
On 23-Mar-07 11:06:49, Plessen, Christian von wrote:
I am looking for a way to produce a distribution graph as in the
example:
On 23-Mar-07 16:55:40, Marc Schwartz wrote:
[...]
How about something like this:
DistPlot - function(x, digits = 1, ...)
{
x - round(x, digits)
Tab - table(x)
Vals - sapply(Tab, function(x) seq(x) - mean(seq(x)))
X.Vals - unlist(Vals, use.names = FALSE)
tmp -