Re: [R] How to round only one df row & how to keep 3rd sigdif if zero

2015-06-18 Thread Crombie, Burnette N
eers. -Original Message- From: PIKAL Petr [mailto:petr.pi...@precheza.cz] Sent: Thursday, June 18, 2015 10:56 AM To: Crombie, Burnette N; r-help@r-project.org Subject: RE: [R] How to round only one df row & how to keep 3rd sigdif if zero Hi You need to distinguish between an object and printing a

Re: [R] How to round only one df row & how to keep 3rd sigdif if zero

2015-06-18 Thread PIKAL Petr
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of > bcrombie > Sent: Thursday, June 18, 2015 3:09 PM > To: r-help@r-project.org > Subject: [R] How to round only one df row & how to keep 3rd sigdif if > zero > > # How do I round only one row of a dataf

[R] How to round only one df row & how to keep 3rd sigdif if zero

2015-06-18 Thread bcrombie
# How do I round only one row of a dataframe? # After transposing a dataframe of counts & rates, all values took on the most # of signif digits in the dataset (rates), but I want counts to remain only one digit. # Also, how can I keep 3 significant digits in R when the 3rd is a zero? count <- c(1,