; TIBCO Software
> wdunlap tibco.com
>
>
> > -Original Message-
> > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf
> > Of David Carlson
> > Sent: Tuesday, March 25, 2014 7:02 AM
> > To: 'Qiang Kou';
gt;
> -
> David L Carlson
> Department of Anthropology
> Texas A&M University
> College Station, TX 77840-4352
>
>
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of
Thank you Qiang Kou , it worked :)
Appreciate it.
From: Qiang Kou
To: Pavneet Arora/UK/RoyalSun@RoyalSun
Cc: R help
Date: 25/03/2014 13:37
Subject:Re: [R] Digits in R
Have you tried "round(vars, digits = 4)" ?
KK
On Tue, Mar 25, 2014 at 7:17 AM, Pav
On 25/03/2014 7:17 AM, Pavneet Arora wrote:
Hello All,
I am new in R, so please excuse the basic questions.
But how do you change the number of digits to be displayed?
I have done the following, hoping I will get 4 decimal places in my
answer:
vars <- var(cbind(Sepal.l,Sepal.w,Petal.l,Petal.w)
:r-help-boun...@r-project.org] On Behalf Of Qiang Kou
Sent: Tuesday, March 25, 2014 8:45 AM
To: Pavneet Arora
Cc: R help
Subject: Re: [R] Digits in R
Have you tried "round(vars, digits = 4)" ?
KK
On Tue, Mar 25, 2014 at 7:17 AM, Pavneet Arora <
pavneet.ar...@uk.rsagroup.com> wrote
On 25/03/2014 7:17 AM, Pavneet Arora wrote:
Hello All,
I am new in R, so please excuse the basic questions.
But how do you change the number of digits to be displayed?
I have done the following, hoping I will get 4 decimal places in my
answer:
vars <- var(cbind(Sepal.l,Sepal.w,Petal.l,Petal.w)
Have you tried "round(vars, digits = 4)" ?
KK
On Tue, Mar 25, 2014 at 7:17 AM, Pavneet Arora <
pavneet.ar...@uk.rsagroup.com> wrote:
> Hello All,
>
> I am new in R, so please excuse the basic questions.
> But how do you change the number of digits to be displayed?
>
> I have done the following,
Hello All,
I am new in R, so please excuse the basic questions.
But how do you change the number of digits to be displayed?
I have done the following, hoping I will get 4 decimal places in my
answer:
vars <- var(cbind(Sepal.l,Sepal.w,Petal.l,Petal.w))
print(vars,digits=4)
But as seen below fro
8 matches
Mail list logo