Re: [R] lme4 Error Help: “maxstephalfit…pwrssUpdate”

2014-04-28 Thread Craig O'Connell
should look for that may potentially cause some issues? > > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > Namens Craig O'Connell > Verzonden: maandag 28 april 2014 3:20 > Aan: r-help@r-project.org > Onde

[R] lme4 Error Help: “maxstephalfit…pwrssUpdate”

2014-04-27 Thread Craig O'Connell
I am using a mixed model to assess the effects of various variables (i.e. treatment, density, visibility) on bee behavior (e.g., avoidance frequency - total avoidances per total visits; feeding frequency, and mating frequency). Bee individuals is my random factor (n=63 different bees), whereas

[R] Need Help Plotting "Line" for multiple linear regression

2013-02-13 Thread Craig O'Connell
ow what to use for a multiple regression* If anybody can provide some feedback on this, it would be greatly appreciated. Kind Regards, Craig -- <>< <>< <>< Craig O'Connell University of Massachusetts Dartmouth Marine Biologist www.youtube.com/craigpoconnell craigo

[R] Predator Prey Models

2010-12-11 Thread Craig O'Connell
Dear R-users, I am currently modifying a previously developed predator prey model and was curious if there was a way to add in a disturbance to the model (let's say at time t=100). The disturbance can be the introduction of 40 prey (N=40) and 10 predators (Pred = 10). I would like to see my m

Re: [R] MATLAB vrs. R

2010-10-11 Thread Craig O'Connell
Daniel, That's it! Thanks. Your help is very much appreciated. I'm hoping to nail down the code conversion from MATLAB to R, but it seems to be a bit more difficult that I had anticipated. Craig > From: djnordl...@frontier.com > To: djnordl...@frontier.com; r-help@r-project.org > Da

Re: [R] MATLAB vrs. R

2010-10-11 Thread Craig O'Connell
ect.org > Subject: Re: [R] MATLAB vrs. R > > Hi, > > The first argument of myquadrature in result shouldn't be val but f I > guess. At least it works for me > > > result=myquadrature(f,0,2000) > > print(result) > [1] 30000 > > Regards, > Ala

Re: [R] MATLAB vrs. R

2010-10-11 Thread Craig O'Connell
Thank you Peter. That is very much helpful. If you don't mind, I continued running the code to attempt to get my answer and I continue to get inf inf inf... (printed around 100 times). Any assistance with this issue. Here is my code (including your corrections): myquadrature<-functio

[R] MATLAB vrs. R

2010-10-10 Thread Craig O'Connell
I need to find the area under a trapezoid for a research-related project. I was able to find the area under the trapezoid in MATLAB using the code: function [int] = myquadrature(f,a,b) % user-defined quadrature function % integrate data f from x=a to x=b assuming f is equally spaced over the i