[R] Using "|"

From: Jim Milks <jrclmilks_at_joimail.com>
Date: Wed 04 May 2005 - 01:34:11 EST

Dear all,

I have a rodent dataset that I am reanalyzing. The set consists of several variables (#Microtus captured, Grass stems/m^2, etc), among which is a Grid factor variable c(North,South). I have evidence that there are significant differences in vegetation and rodent populations between the two locations (from chi-square tests) and would like to run separate analyses along North/South lines on the rest of my data. For example, I type:

> plot(Microtus.T~Grass | Grid)

However, I get the following:

Error in plot.window(xlim, ylim, log, asp, ...) :

        need finite xlim values
In addition: Warning messages:

1: "|" not meaningful for factors in: Ops.factor(Grass, Grid)
2: no finite arguments to min; returning Inf
3: no finite arguments to max; returning -Inf

Other than adding xlim arguments, what else can I do, especially in light of warning message 1?

Thank you in advance.

Jim Milks

Graduate Student
Environmental Sciences Ph.D. Program
Wright State University
3640 Colonel Glenn Hwy
Dayton, OH 45435

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed May 04 01:56:37 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:32 EST