## i have one question anouth this package..
library(datasets)
eurodist
## if i type this i get max distance between european cities
> max(eurodist)
[1] 4532
## but i would like get something like this: 4532 Gilbratar - Anthens
## and another one..  
## if a live in barcelona and i would like travel in all cities
## how can i get sum of all distance to other cities... i try
sapply(eurodist["Barcelona"], sum)
## and rowSums(eurodist["Barcelona",]) and it doesn't working.. tnx for
helping ;)
-- 
View this message in context: 
http://r.789695.n4.nabble.com/library-datasets-tp3050497p3050497.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to