> 50 %% 12 [1] 2 > 50 %/% 12 [1] 4 > ?Arithmetic
--- livia <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > I have got a question about a simple calculation. If > I would like to > calculate 50/12 and return the result as 4 and the > remainer 2. Is there a > function of doing this? > > Many thanks. > -- > View this message in context: > http://www.nabble.com/Calculate-remainer-tp14414906p14414906.html > Sent from the R help mailing list archive at > Nabble.com. > > ______________________________________________ > R-help@r-project.org 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. > ______________________________________________ R-help@r-project.org 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.