On 2011-03-09 00:17, Lao Meng wrote:
No,even there's only one observation,boxplot can still be drawn.
x<-1
boxplot(x)
or
x<-1:3
boxplot(x)
...
Well, yes, it *can* be drawn. But it shouldn't be.
A boxplot based on fewer than, say, 10 values is
just nonsense. Even 10 is pretty dubious.
Anyway,
, India.
--- On Wed, 9/3/11, Lao Meng wrote:
From: Lao Meng
Subject: Re: [R] Boxplot problem
To: "Dennis Murphy"
Cc: gau...@gauravkumar.org, "R help"
Date: Wednesday, 9 March, 2011, 1:47 PM
No,even there's only one observation,boxplot can still be drawn.
x<-1
boxp
No,even there's only one observation,boxplot can still be drawn.
x<-1
boxplot(x)
or
x<-1:3
boxplot(x)
...
2011/3/9 Dennis Murphy
> Hi:
>
> A box plot is based on a five number summary, so you need at a minimum five
> observations (and preferably at least twice that) to make a box plot a
> v
Hi:
A box plot is based on a five number summary, so you need at a minimum five
observations (and preferably at least twice that) to make a box plot a
viable summary measure for a continuous variable. Consider other graphical
summaries for these data - perhaps a strip chart or a simple scatterplot
The problem is dat is a data object, not a function. You used the syntax for
a function "dat(1:19)"
What you probably want is:
gc <- dat[,1:19]
act <- dat[,20:39]
That will select columns 1 through 19 and put them into the object gc, and
act will get columns 20 through 39. Is that what you wa
What is this statement supposed to do:
gc<-dat(1:19)
You are trying to call the function 'dat' with a vector of 19 values.
Is this what you intended? If the function 'dat' does not exist,
that is why you are getting the error.
On Sat, Jun 21, 2008 at 2:46 AM, Paul Adams <[EMAIL PROTECTED]> wr
6 matches
Mail list logo