Re: [R] Mac/PC differences in lmer results

2019-06-05 Thread Nicolas Schuck
gt; > On Thu, May 30, 2019 at 7:50 AM Nicolas Schuck <mailto:nico.sch...@gmail.com>> wrote: > I know that it is in use on the Mac, see sessionInfo below. I have to check > on the Win system. Why would that make such a difference and how could I make > the Win get the same re

[R] Mac/PC differences in lmer results

2019-05-30 Thread Nicolas Schuck
Dear fellow R coders, I am observing differences in results obtained using glmer when using a Mac or Linux computer versus a PC. Specifically, I am talking about a relatively complex glmer model with a nested random effects structure. The model is set up in the following way: gcctrl = glmerCo

[R] mixed anova models with aov

2012-02-19 Thread Nicolas Schuck
Dear R Users, I am trying to calculate a mixed effect Anova with 2 nested between subject factors and two nested within subject factors. Specifically, I have data from two Agegroups (between subject variable old vs young) that are characterized by their genotype (between subjects, NESTED withi

Re: [R] determine length of bivariate polynomial

2011-11-10 Thread Nicolas Schuck
I was thinking of an analytical solution, but using diff() works great as well! thanks for help, nico On Nov 10, 2011, at 2:55 AM, R. Michael Weylandt wrote: > I think this will do it: > > sum(sqrt(diff(x.pred)^2 + diff(y.pred)^2)) > > Michael > > On Tue, Nov 8, 2011

[R] determine length of bivariate polynomial

2011-11-08 Thread Nicolas Schuck
Dear R-community, I have a fitted bivariate polynomial, i.e: fit = lm(cbind(x, y)~poly(t, 15)) and I would like to determine the length of the line in the interval t = [a, b]. Obviously, I could use predict and go through all the points, i.e. for (t in a:(b-1)) { length = length + sqrt((x.pred[