[R] modulus operator?

Jim Lemon drjimlemon at gmail.com
Sun May 21 10:27:28 CEST 2017


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.



More information about the R-help mailing list