[R] How to do division calculation in R?

2012-05-06 Thread xiaocong zuo
Dear all,

Could you please tell me how to do the division calculation in R? That is
to say how to perform the operation of division in R software.

Thank you!

Xiaoc

[[alternative HTML version deleted]]

__
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.


Re: [R] How to do division calculation in R?

2012-05-06 Thread xiaocong zuo
Dear all,

Sorry, I means if we must remove the nonparameter value then do the
division calculation or there is any other ways to do?

Thank you!

Xiaoc

2012/5/6 xiaocong zuo xiaocong@gmail.com

 Dear all,

 Could you please tell me how to do the division calculation in R? That is
 to say how to perform the operation of division in R software.

 Thank you!

 Xiaoc


[[alternative HTML version deleted]]

__
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.


Re: [R] How to do division calculation in R?

2012-05-06 Thread Rui Barradas
Hello,

I'm not very comfortable with nonparametric division, but maybe the bar
operator will do.

help(/)

Hope this helps,

Rui Barradas


xiaocong zuo wrote
 
 Dear all,
 
 Sorry, I means if we must remove the nonparameter value then do the
 division calculation or there is any other ways to do?
 
 Thank you!
 
 Xiaoc
 
 2012/5/6 xiaocong zuo lt;xiaocong.zuo@gt;
 
 Dear all,

 Could you please tell me how to do the division calculation in R? That is
 to say how to perform the operation of division in R software.

 Thank you!

 Xiaoc

 
   [[alternative HTML version deleted]]
 
 __
 R-help@ 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.
 


--
View this message in context: 
http://r.789695.n4.nabble.com/How-to-do-division-calculation-in-R-tp4612541p4612870.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.


Re: [R] How to do division calculation in R?

2012-05-06 Thread Petr Savicky
On Sun, May 06, 2012 at 05:19:30PM +0800, xiaocong zuo wrote:
 Dear all,
 
 Sorry, I means if we must remove the nonparameter value then do the
 division calculation or there is any other ways to do?

Hello:

Do you mean division of numbers, functions or some other objects?
Division of numbers can be done simply with / or %/%.

  2/3  # [1] 0.667
  10/3 # [1] 3.33
  10 %/% 3 # [1] 3

Please, clarify the question.

Petr Savicky.

__
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.