[R] quotient and remainder

Simon Blomberg simonb at cres10.anu.edu.au
Fri Jun 24 04:55:21 CEST 2005


You may find the Reference Cards in the Contributed Documentation section 
of CRAN to be of interest.

Simon.

At 12:07 PM 24/06/2005, zhihua li wrote:
>Dear Dimitris,
>
>I've read <the introduction to R> thoroughly and gooogled in the internet 
>about my question, but got no answer. I think it would be great if there's 
>a doc grouping R functions into different functional categories.
>
>Thanks a lot for your replies!
>
>
>>From: "Dimitris Rizopoulos" <dimitris.rizopoulos at med.kuleuven.be>
>>To: "zhihua li" <lzhtom at hotmail.com>
>>CC: <r-help at stat.math.ethz.ch>
>>Subject: Re: [R] quotient and remainder
>>Date: Thu, 23 Jun 2005 09:01:08 +0200
>>
>>>11%/%5
>>[1] 2
>>>11%%5
>>[1] 1
>>
>>Best,
>>Dimitris
>>
>>p.s., I'd suggest you to take a look at the "An Introduction to R" doc
>>
>>----
>>Dimitris Rizopoulos
>>Ph.D. Student
>>Biostatistical Centre
>>School of Public Health
>>Catholic University of Leuven
>>
>>Address: Kapucijnenvoer 35, Leuven, Belgium
>>Tel: +32/16/336899
>>Fax: +32/16/337015
>>Web: http://www.med.kuleuven.be/biostat/
>>     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm
>>
>>
>>----- Original Message ----- From: "zhihua li" <lzhtom at hotmail.com>
>>To: <r-help at stat.math.ethz.ch>
>>Sent: Thursday, June 23, 2005 8:37 AM
>>Subject: [R] quotient and remainder
>>
>>
>>>hi netters
>>>
>>>Is there a function in R that can compute the quotient and remainder of a
>>>division calculation?   such that when 11 is given as the dividend and 5
>>>the divider, the function returns 2(quotient) and 1(remainder).
>>>
>>>Thanks a lot!
>>>
>>>_________________________________________________________________
>>>å
è´¹ä¸‹è½½ MSN Explorer:   http://explorer.msn.com/lccn/
>>>
>>
>>
>>--------------------------------------------------------------------------------
>
>>
>>
>>>______________________________________________
>>>R-help at stat.math.ethz.ch mailing list
>>>https://stat.ethz.ch/mailman/listinfo/r-help
>>>PLEASE do read the posting guide! 
>>>http://www.R-project.org/posting-guide.html
>
>
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Simon Blomberg, B.Sc.(Hons.), Ph.D, M.App.Stat.
Centre for Resource and Environmental Studies
The Australian National University
Canberra ACT 0200
Australia
T: +61 2 6125 7800 email: Simon.Blomberg_at_anu.edu.au
F: +61 2 6125 0757
CRICOS Provider # 00120C




More information about the R-help mailing list