Dear Tom,
Yes, this works great.
Many thanks and best regards,
Jan
Mulholland, Tom wrote:
I think this might have been my code
mapply(paste,strwrap(levels(ncdata$Chapter),18,simplify = FALSE),collapse =
\n)
Tom
-Original Message-
From: Jan P. Smit [mailto:[EMAIL PROTECTED]
Sent: Thursday
),20,prefix = ),collapse = \n)
Tom
-Original Message-
From: Jan P. Smit [mailto:[EMAIL PROTECTED]
Sent: Thursday, 14 April 2005 11:48 AM
To: r-help@stat.math.ethz.ch
Subject: [R] Wrapping long labels in barplot(2)
I am using barplot, and barplot2 in the gregmisc bundle, in the
following way
+0700, Jan P. Smit wrote:
Dear Tom,
Many thanks. I think this gets me in the right direction, but
concatenates all levels into one long level. Any further thoughts?
Best regards,
Jan
Mulholland, Tom wrote:
This may not be the best way but in the past I think I have done something like
levels(x
I am using barplot, and barplot2 in the gregmisc bundle, in the
following way:
barplot2(sort(xtabs(expend / 1000 ~ theme)),
col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1,
xlab = $ '000, plot.grid = T)
The problem is that the values of 'theme', which is a factor, are in
some cases
Dear Phillippe,
Very interesting. The URL of the article is
http://www.scientific-computing.com/scwsepoct04free_statistics.html.
Best regards,
Jan Smit
Philippe Grosjean wrote:
Hello,
In the latest 'Scientific Computing World' magazine (issue 78, p. 22), there
is a review on free statistical
Dear R-helpers,
I'm a beginner using R 1.8.1 on Windows 2000. I'm trying to replicate some
examples in Franses' Paap's Quantitative Models in Marketing Research.
t - 1:1000
e1 - rnorm(1000)
e2 - rnorm(1000)
x - 0.0001*t+e1
y2 - -2+x+e2
y - ifelse(y20,1,0)
plot(x, y, pch = 16, col =