a MD
>
> Work: 301-451-8575
> Mobile: 301-204-5642
> Email: zoppo...@mail.nih.gov
>
> From: Raphael Fraser [raphael.fra...@gmail.com]
> Sent: Monday, September 20, 2010 12:21 PM
> To: r-help@r-project.org
> Subject: [R] Rounding
On Sep 20, 2010, at 12:25 PM, Joshua Wiley wrote:
Hi Raphael,
mat <- matrix(rnorm(100), ncol = 2)
round(mat, 2)
for documentation see ?round
Thanks, Josh. I was having trouble a couple of minutes ago remembering
this. Getting old, I guess. In constructing my thanks to Josh I tested:
pr
Hi Raphael,
mat <- matrix(rnorm(100), ncol = 2)
round(mat, 2)
for documentation see ?round
Cheers,
Josh
On Mon, Sep 20, 2010 at 9:21 AM, Raphael Fraser
wrote:
> I have a 2x50 matrix and would like to round all the elements to 2
> decimal places. Can any one help?
>
> Thanks,
> Raphael
>
> ___
I have a 2x50 matrix and would like to round all the elements to 2
decimal places. Can any one help?
Thanks,
Raphael
__
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.
4 matches
Mail list logo