[R] Decimal number

arun smartpink111 at yahoo.com
Tue Aug 7 22:55:00 CEST 2012


Hello,

  beta0<-64.90614
 beta1<-17.7025
 herbeta<-c(beta0,beta1)
 herbeta
[1] 64.90614 17.70250

So, here you have "herbeta" (or is it simply "beta") assigned to the vector containing values of beta0 and beta1.  
Your statement
"I want to get the number of beta and beta with the full part after the
comma" 
is confusing.
A.K.





----- Original Message -----
From: hafida <hafida-06 at hotmail.fr>
To: r-help at r-project.org
Cc: 
Sent: Tuesday, August 7, 2012 4:37 PM
Subject: Re: [R] Decimal number

hello arun
>her beta can be considered simply as an object. 

> when i wrote beta
>I want to get the number of beta and beta with the full part after the
comma


hafida



--
View this message in context: http://r.789695.n4.nabble.com/Decimal-number-tp4639428p4639452.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at 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.




More information about the R-help mailing list