[R] Decimal number

R. Michael Weylandt michael.weylandt at gmail.com
Tue Aug 7 21:56:16 CEST 2012


On Tue, Aug 7, 2012 at 11:47 AM, hafida <hafida-06 at hotmail.fr> wrote:
> HI
>
>>i have a little problem please help me to solve it
>
>>this is the code in R:
>
>>> beta0
> [1] 64.90614
>> beta1
> [1] 17.7025
>> beta
> [1] 17 64
>
>>her beta<- c(beta0, beta1)
>
> thank you in advance
> hafida

Are you looking for the round() function? Or, given the results you
gave, possibly floor()?

Best,
Michael



More information about the R-help mailing list