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...@hotmail.fr> To: r-help@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@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. ______________________________________________ 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.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.