[R] What's data() for?
yjmha69
yjmha69 at yahoo.com
Fri May 14 01:43:58 CEST 2010
Hi there,
>library(faraway)
>pima
pregnant glucose diastolic triceps insulin bmi diabetes age test
1 6 148 72 35 0 33.6 0.627 50 1
2 1 85 66 29 0 26.6 0.351 31 0
>data(pima)
>pima
pregnant glucose diastolic triceps insulin bmi diabetes age test
1 6 148 72 35 0 33.6 0.627 50 1
2 1 85 66 29 0 26.6 0.351 31 0
As you can see, I can already use pima without running data(pima),
after running data(pima), it looks the same. So what's the reason to
use data(pima) ?
Thanks
YJM
More information about the R-help
mailing list