2006/9/28, Berton Gunter <[EMAIL PROTECTED]>: > ?"%%" I didn't know that operator, thanks!
But I was not clear, as I was looking more towards a lowlevel function. E.g. "trunc", "floor", "ceiling", ... are defined in names.c and while I currently not fully understand this I thought there could be a similair thing for fraction. I defined the function "frac <- function(x) abs( x - trunc(x) )" which seems to work well. Thanks again, Hans-Peter ______________________________________________ [email protected] 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.
