[R] xyplot w/ panel.lmline solution

2005-03-17 Thread eesteves
Dear Sebastian Luque (and All R Users) With the following code I managed to plot different characters and regression lines for panels 2 (Day of year 101) and 4 (Days of year 151, 157 and 172): xyplot(log(no.larvae)~age.cls|factor(day),data=mortal, layout=c(7,1),aspect=5/3,

[R] help w/ xyplot and panel.lmline

2005-03-15 Thread eesteves
Dear All, I'm confortable with xyplot(...) and panel.lmline(...) statements (at least I thought I did :). I've used the following code to plot the decline in log-abundance of fish larvae (no.larvae) with age (age.cls, 4 to 27 days-old) for specific dates of sampling (day, 9 dates). I further

[R] Help with multicomarisons after ANCOVA

2005-02-07 Thread eesteves
Dear All, I' ve used ANCOVA (through lm(Y~factor*x)) to study the influence/differences between levels of factor upon the Y-x relationship. I found that both intercepts and slopes differ among levels of the factor. I understand from the results of summary(lm(Y~factor*x)) which of the

[R] help with vector operation

2005-01-31 Thread eesteves
Dear All, I'm trying to calculate the following: g.rate-(SL-int)/NO where SL and NO are individual length and counts for the same subject, and the int value is a day-specific value i.e. for each DAY=88, 101..., 172 I'd like to use a different values of int=9.32, 8.43, ..., 9.81. All variables

[R] Help w/ matrix calc

2004-07-29 Thread eesteves
Dear All, Help is needed! I have a matrix with frequencies of fish larvae per length class (var. sl) and age-group (var. median.no) obtained with k-table(cut(sl,(5:22)),median.no) k[2:5,1:5] #to ilustrate k 4 5 6 7 (6,7] 3 1 0 0 (7,8] 3 0 1 0 (8,9] 3 4 3 5 (9,10] 3

[R] lme question

2004-03-26 Thread eesteves
Dear All, I need help both with analytical and computational aspects. My problem: I have counted and measured increments on otoliths (inner-ear bony structures) of fish larvae collected at different times of day. This was repeated three times for each fish larvae (in random order and no

[R] model II regression

2004-01-15 Thread eesteves
Dear All, A friend asked me for help with a regression problem dealing with y and x, both random variables. The x and y are respectively the observed and estimated biomass values of a green algae derived from an ecological model. We first considered it to be a model II regression and

[R] factorial experiments and repeated measures

2003-12-10 Thread eesteves
Dear All, I'm new to the list and relatively new to R (but not so to S-Plus) and I´ve been asked to help study some experimental data. In a factorial experiment (5 factors at 2 levels) the response-variable was measured at various times (0, 2, 5, 7, ..., 30 days after start). There's just one