Re: [R] Missing dependencies in pkg installs

2017-06-22 Thread Don Cohen
Duncan Murdoch writes: > On 22/06/2017 5:02 PM, Conklin, Mike (GfK) wrote: > > I am using debug on the .install_packages function...stepping through. > > Once the temporary folder is created and the tar file expanded I run > > file_test and get a FALSE back indicating that the configure file

Re: [R] fitting cosine curve

2017-06-20 Thread Don Cohen
If you know the period and want to fit phase and amplitude, this is equivalent to fitting a * sin + b * cos > >>> > I don't know how to set the approximate starting values. I'm not sure what you meant by that, but I suspect it's related to phase and amplitude. > >>> > Besides, does the

Re: [R] understanding I() in lmer formula

2017-06-15 Thread Don Cohen
The suggestion to post on R-sig-ME was a good one. The problem turned out to be a bug in lmer parsing, which is now fixed. S Ellison writes: > > Is there a difference between I(x*y) and I(y*x) ? > > I have a call to lmer that results in this complaint: > > Error in is.alpha2.subordinate *

[R] understanding I() in lmer formula

2017-06-13 Thread Don Cohen
Is there a difference between I(x*y) and I(y*x) ? I have a call to lmer that results in this complaint: Error in is.alpha2.subordinate * ~z.min.co.res : non-numeric argument to binary operator when I change this line: I(is.alpha2.subordinate*z.min.co.res)+ to this: