[R] How to do division calculation in R?
Petr Savicky
savicky at cs.cas.cz
Sun May 6 20:16:45 CEST 2012
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.6666667
10/3 # [1] 3.333333
10 %/% 3 # [1] 3
Please, clarify the question.
Petr Savicky.
More information about the R-help
mailing list