search for: nnd

Displaying 6 results from an estimated 6 matches for "nnd".

Did you mean: and
2011 Nov 21
2
errors with lme4
...iates: ? elev: elevation of nest (meters) ? seadist: distance from the sea (meters) ? meanterranova: records of temperature ? minpengS1: records of temperature ? wchillpengS1: records of temperature ? minpengS2: records of temperature ? wchillpengS2: records of temperature ? nnd: nearest neighbour distance ? npd: nearest penguin distance ? eggs: numbers of eggs ? lay: laying date (julian calendar) ? hatch: hatching date (julian calendar) I have some NAs in the data. I want to test the model with all the variable then i want to remove some, but the ideal model...
2004 Mar 04
1
boot package
...columns (several measurements of body shape) for 4 localities. For each community, I calculated a matrix of Euclidean distances between all pairs of species. From this matrix, I extracted two measures of community structure: i) I identified the distance from a individual to its nearest neighbor (NND) in the morphological space and then calculated the averages of the NND (MNND); ii) the mean of the Euclidean distances (MED). NND and MED are of practical use in describing spatial relations between species. The results of Euclidean distance studies in each of the four localities were compared...
2008 Aug 09
1
Converting nested "for" loops to an "apply" function(s)
...,175,196,197,125,10,56) #distances of 8 houses from the town centre in m bearings=c(10,8,210,25,74,128,235,335) #bearings of the houses in degrees xpos=distances*sin(bearings*pi/180) #in sin and cos the argument MUST be in radians ypos=distances*cos(bearings*pi/180) numpoints=length(distances) nnd=rep(sqrt(2*400*400),times=numpoints) #start with the maximum possible distance for (i in 1:numpoints) { for (j in 1:numpoints) { if (i!=j) { diffx=abs(xpos[i]-xpos[j]) diffy=abs(ypos[i]-ypos[j]) nd=sqrt((diffx^2)+(diffy^2)) if (nd
2008 Apr 28
1
tips to speed up sqlSave with MS SQL Server?
...there is any further information I should provide. > memory.size(max = F) #reports amount of memory currently in use [1] 131.8365 > str(idxdata) 'data.frame': 4474553 obs. of 5 variables: $ idkey : int 1003 1003 1003 1003 1003 1003 1003 1003 1003 1003 ... $ nnd : Factor w/ 25 levels "01","01C","02",..: 1 1 1 1 1 1 1 1 1 1 ... $ curcdd : Factor w/ 2 levels "CAD","USD": 2 2 2 2 2 2 2 2 2 2 ... $ ddates:Class 'Date' num [1:4474553] 6942 6943 6944 6945 6948 ... $ idx : num 100 100 1...
2005 Nov 14
1
point pattern interactions (Gcross and Kcross)
...07200 , 634800 ] x [ 3438400 , 3460400 ] (Note: the window values are so large because I am using UTM coordinates for my x and y locations) However, when I run gcross, I get the following error: code: g.0405<-Gcross(oakwilt, i="w2004", j="w2005") error: Error in hist.default(nnd, breaks = brks, plot = FALSE) : some 'x' not counted; maybe 'breaks' do not span range of 'x' When running kcross, I get this: k.0405<-Kcross(oakwilt, i="w2004", j="w2005") Error in "[<-"(`*tmp*`, index, value = NULL) : in...
2013 Apr 11
2
Encircle the closest points
Dear R-user, For the "matplot" of the following data drawn by >matplot(t, pch=1) structure(c(2372L, 2494L, 2170L, 2238L, 1918L, 715L, 1573L, 2437L, 2481L, 1881L, 440L, 2165L, 343L, 121L, 597L, 1163L, 1459L, 2093L, 1454L, 1761L, 1872L, 174L, 2040L, 552L, 1403L, 6381L, 1649L, 4136L, 4415L, 10650L, 12111L, 4397L, 9593L, 7040L, 3888L, 8340L, 11475L, 11413L, 3985L, 1077L, 7723L, 1392L,