Displaying 1 result from an estimated 1 matches for "0.256323".
2007 Mar 22
3
"digits" doesn't work in format function
Dear All,
I was trying to format a numeric vector (100*1) by using
outd <- format(x=m, sci=F, digits=2)
> outd[1:10]
[1] " 0.01787758" "-0.14760306" "-0.45806041" "-0.67858525" "-0.64591748"
[6] "-0.05918100" "-0.25632276" "-0.15980138" "-0.08359873" "-0.37866688"
>m[1:10]
[1]