format sprintf Michael
On Fri, Mar 23, 2012 at 8:16 AM, sagarnikam123 <sagarnikam...@gmail.com> wrote: >> x > [1] 7 8 9 10 11 12 > > convert such that > > 7.0000 > 8.0000 > 9.0000 > 10.000 > 11.000 > 12.000 > > total size of 5 digits for each value > > > -- > View this message in context: > http://r.789695.n4.nabble.com/how-to-convert-digits-to-specified-decimal-vectors-tp4498588p4498588.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. ______________________________________________ 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.