In the documentation of 'pairs'(package:graphics), within the last example,
it reads: 

format(c(r, 0.123456789), digits=3)[1]

Why not simple use: format(r, digits=3)? What is the difference?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/a-quick-question-about-%22format%28%29%22-tf4476762.html#a12764903
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