Displaying 2 results from an estimated 2 matches for "cornalees".
2005 Feb 27
1
subsetting data set dimenion problem
...need, since I know they are going
to have the same value), I don't get the error:
> hills2000 <- races2000[races2000$type == 'hill', -c(1:6,11)]
> hills2000
dist climb time timef
Tiso Carnethy 6.00 2500 0.7822222 0.9191667
[...]
Cornalees 5.50 800 0.6183333 NA
[...]
What is causing the error with my original subsetting? I speculated it
was related to the NA values, but there is an NA in the resulting
hills2000, corresponding to the Cornalees hill race.
Thanks,
Clint
--
Clint Harshaw, PhD
Department of M...
2005 Feb 28
0
Re: R-help Digest, Vol 24, Issue 28
...oing to have the same value), I don't get the error:
>
> > hills2000 <- races2000[races2000$type == 'hill', -c(1:6,11)]
> > hills2000
> dist climb time timef
> Tiso Carnethy 6.00 2500 0.7822222 0.9191667
> [...]
> Cornalees 5.50 800 0.6183333 NA
> [...]
>
> What is causing the error with my original subsetting? I speculated it
> was related to the NA values, but there is an NA in the resulting
> hills2000, corresponding to the Cornalees hill race.
>
> Thanks,
> Clint
&g...