Quantcast

How to do division calculation in R?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

How to do division calculation in R?

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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to do division calculation in R?

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 <[hidden email]>

> 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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to do division calculation in R?

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 <[hidden email]>

> 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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to do division calculation in R?

Petr Savicky
In reply to this post by xiaocong zuo
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.

______________________________________________
[hidden email] 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.
Loading...