[R] code for FD

2010-01-29 Thread Giovanni Bacaro
Dear list members, I'm tryng to write the code in order to calculate the index (expression 2) published in Ricotta & Burrascano 2008 (Preslia 80, pp 61-71). Specifically, I'm having some problems in extending the index for more than two observations. Does anyone already write a function for such

[R] help for xvalid with external data

2008-07-08 Thread Giovanni Bacaro
Hi, as usual I have a problem with R functions! I formulated a geostatistical model with geoR. I decided to include some covariates in my model, and I estimated all the parameters (linear model and covariance function parameters) by the likfit function as follows: mod1<-likfit(geodata, ini=va

[R] agglomerative algorithm

2008-02-19 Thread giovanni bacaro
Dear list members, I have a series of plots individuated by coordinates like this: X Y plot 0 1 001 0 2 002 .. 8 8 064 Starting from a random selected plot, I'd like to obtain all the possible combinations of t

[R] convert table

2007-12-17 Thread giovanni bacaro
Dear R user, a very simple question: I have a table like this: coorv1 v2 v3 x1 12 33 123 x2 1 123 x3 12 x4 33 1 and I'd like to tranform this matrix in presence/absence data.frame coor1 12 33 123 x1 0

[R] use of specaccum in routine procedure

2007-10-05 Thread Giovanni Bacaro
mean in my opinion that the number of randomization for calculation of an approximative mean of species richness for dimension_15 should be equal toinfinite??? Does someone know if some compiled function in R could provide help for my problems or where can I look for a solution? Many tha