Jason Horn <[EMAIL PROTECTED]> wrote:
> Can anyone think of a way to create a pretty() sequence that excludes

> zero?

You could use except(pretty(x), 0), if you first defined the (quite
useful) set-operation function:

  R> except <- function(a,b) unique(a[!match(a, b, 0)])

(Consider this a plug to add "except" to the "union", "intersect",
etc., family of set operations.)

-- David Brahm ([EMAIL PROTECTED])

______________________________________________
[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

Reply via email to