Re: [R-sig-eco] Issue with ltraj function in R for movement analysis

2015-02-09 Thread Romine, Jason
Hi, A few issues here. From your code it appears that the date you are feeding as.ltraj is not unique (140403). You need to combine date and time then convert to POSIXct. Another thing is that, as written, das is a character vector (das <- as.character(data$NewDate)) which is what is being fed

Re: [R-sig-eco] growth curves - grofit

2014-08-18 Thread Romine, Jason
Hi Ana, If you used nls to fit your model, then you can use predict(your model name, wing length data) or Just solve for x given y. Best, Jason Jason G. Romine, Ph.D. USGS Western Fisheries Research Center Columbia River Research Labora

Re: [R-sig-eco] growth curves - grofit

2014-08-13 Thread Romine, Jason
Hi Ana, I would simply select the models you think may fit your data, then use nlm or optim to fit the models. Once you have selected your final model, use your data to predict ages from wing lengths. Best, Jason Jason G. Romine, Ph.D. U

Re: [R-sig-eco] sd normalmixEM

2014-05-09 Thread Romine, Jason
The output from the normalmixEM function returns mu and sigma, mean and std dev. of the distributions, a simple boot.se() of these output estimates will generate the standard error of the mean and stand. dev. Best, Jason Jason G. Romine, Ph

[R-sig-eco] Raster to network

2014-04-16 Thread Romine, Jason
HI Buga, See the gdistance package. I use transition{gdistance} to create transition matrices from my rasters (flow or DEMs). Jason Jason G. Romine, Ph.D. USGS Western Fisheries Research Center Columbia River Research Laboratory 5501A Cook