[R] numeric format

cvandy cvandy26 at gmail.com
Tue Feb 26 22:30:11 CET 2008


Hi!
I'm an R newbie and this should be a trivial problem, but I can't make it
work and cannot find what I'm doing wrong in the literature.
I entered the the command:
table<-data.frame(x, scientific=F, digits=4)
table
This prints a column of x with 16 useless decimal places after the decimal
point.  Also, it prints an unwanted index number (1-20) in the left column.
How do I get rid of the index column and how do I control the number of
decimal places?
Thanks in advance.
CHV  
-- 
View this message in context: http://www.nabble.com/numeric-format-tp15700452p15700452.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list