Dear R people, This is probably a FAQ, and a silly question besides, but... a lot of R packages have datasets contained within them. cf. spatial has "topo". Once I have loded the appropriate library, how do I access the datasets contained within? I know this must be very simple, but I have spent some (fruitless, frustrated time) trying to do this, so am asking for help. Thanks, Faheem. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Faheem Mitha <faheem at email.unc.edu> writes:> Dear R people, > > This is probably a FAQ, and a silly question besides, but... > > a lot of R packages have datasets contained within them. cf. spatial has > "topo". Once I have loded the appropriate library, how do I access the > datasets contained within? I know this must be very simple, but I have > spent some (fruitless, frustrated time) trying to do this, so am asking > for help.> library(spatial) > data(topo) # make the topo data available > summary(topo)x y z Min. :0.200 Min. :0.000 Min. :690.0 1st Qu.:1.925 1st Qu.:1.550 1st Qu.:787.5 Median :3.250 Median :3.300 Median :830.0 Mean :3.319 Mean :3.212 Mean :827.1 3rd Qu.:4.975 3rd Qu.:4.850 3rd Qu.:873.0 Max. :6.300 Max. :6.200 Max. :960.0 See ?data for more details. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._