I need to control of a given grid is uniform. This control using signif
until now works:

if (all(signif(abscissa[1:(length(abscissa) - 1) + 1] -
abscissa[1:(length(abscissa) - 1)]) == signif(rep((range(abscissa)[2] -
         range(abscissa)[1])/(length(abscissa) - 1), length(abscissa) -
1)))) {
# other stuff
}

Does someone have some suggestions to improve this control? Thanks in
advance!! :)

Marc

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to