[R] modulus operator?

Peter Dalgaard pdalgd at gmail.com
Sun May 21 13:45:36 CEST 2017


Or maybe Mod(), but please, Heidi, don't expect the rest of the world to guess your intentions like that...

-pd

> On 21 May 2017, at 10:27 , Jim Lemon <drjimlemon at gmail.com> wrote:
> 
> Hi Heidi,
> I think you are looking for the %% operator. See the Arithmetic help
> page in the base package.
> 
> Jim
> 
> On Sun, May 21, 2017 at 10:28 AM, McGann, Heidi <heidi.mcgann at snhu.edu> wrote:
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 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 at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list