Bill Venables.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Joe Trubisz
Sent: Sunday, 20 January 2008 1:12 PM
To: R-help@r-project.org
Subject: [R] Newbie question on subsets
Hi...
I'm working through the book, A Handbook of Statistical
Part of the problem is that 'country' is probably a factor and you
will get all the levels that were in the original factor in the new
subset. Try the following that will remove the extra levels in the
factor:
my.subset <- subset(Forbes2000,
country %in% c("United
Kin
Hi...
I'm working through the book, A Handbook of Statistical Analyses
using R by Everitt, and I'm trying to do the following (p. 19 of his
book):
boxplot(log(marketvalue)~country,
data = subset(Forbes2000,
country %in% c("United
Kingdom","Germany","India","T
3 matches
Mail list logo