Displaying 2 results from an estimated 2 matches for "yplot".
Did you mean:
plot
2013 Jan 04
1
group variables in classes
...is script I have a
problem.
classes <- function(x, n){
s <- seq(0, ceiling(max(x)), by = n)
factor(n*findInterval(x, s), levels = s)
}
z<-sapply(tapply(t$d,t$plot,function(x) classes(t$d, 4)),table)
z<-cbind(z)
Thank you!
Initial data:
nr x y d plot plotn xplot yplot
121 162 50.26989 46.230 55.00 1 NA NA NA
120 160 43.05703 41.096 12.50 2 NA NA NA
1211 162 50.26989 46.230 55.00 2 NA NA NA
143 130 48.29959 59.406 42.00 2 NA NA NA
144 131 49.56329 55.866 79.50 2 NA NA NA
145 161 55.20783 50.046 79.7...
2004 May 04
1
xyplot and for loops
I'm attempting to use xyplot() within a for() loop to plot the relationship
between a DV and a series of predictor variables, split by 2 conditioning
variables. However, xyplot() does not "seem" to be recognized within the for()
loop; I don't receive any error message, but nothing is plotted and a plotting
d...