[R] [R-pkgs] ethnobotanyR v0.1.3

2019-01-31 Thread Cory Whitney
Many ethnobotanists are calculating indices and performing quantitative analysis with excel. Not any more! Now they can use the ethnobotanyR package to calculate common quantitative ethnobotany indices to assess the cultural significance of plant species based on informant consensus. The package

Re: [R] Extract the coordinates of a Polylines

2019-01-31 Thread javad bayat
Dear all; Back to my previous question, I am trying to add X and Y coordinates to every row of the data. topo = readOGR("E:/New/Modelling_Water/MIKE/BathyMetry/GIS_Armator/Chitgar_Topo.shp")#Read shape file of the topo as polylines plot(topo) cords = topo@lines[[1]]@Lines[[1]]@coords###Extracting

[R] nlme::gls potential bug

2019-01-31 Thread Andy Beet via R-help
Hi there, I have been using the nlme::gls package created in R to fit a pretty simple model (linear with AR error) y(t) = beta*x(t) + e(t)              where e(t) ~ rho*e(t-1) + Z(t)        and Z(t)~ N(0,sig^2) I call the R routine glsObj <- nlme::gls(y ~ x -1, data=data, correlation = nlm

Re: [R] Extract the coordinates of a Polylines

2019-01-31 Thread David Winsemius
On 1/30/19 7:12 AM, javad bayat wrote: > Dear all; > Back to my previous question, I am trying to add X and Y coordinates > to every row of the data. > > topo = > readOGR("E:/New/Modelling_Water/MIKE/BathyMetry/GIS_Armator/Chitgar_Topo.shp")#Read > > shape file of the topo as polylines > plot