Displaying 6 results from an estimated 6 matches for "sciborg".
Did you mean:
cyborg
2008 Mar 20
1
minimum distances
Hi,
I have a question about computing shortest Euclidean distances between
two data frames of spatial points...
I have 2 dataframes (not yet converted to spatial class)
>Sewers<-data.frame(x=c(10,20,35,50),y=c(100,150,200,300))
>transect <- data.frame(x=seq(from=0, to=50, by=1),y=seq(from=100,
to=150, by=1))
I would like to be able to compute the shortest distance from the
2009 Jun 17
1
loop help
Hi all,
I'm stuck trying to get syntax correct for the follwing type of loop.
I would like to find the column with the largest value in a given row,
and create a new column with a categorical variable indicating which
column the highest value of "i" comes from.
too=data.frame(A=rnorm(10,1),B=rnorm(10,2),C=rnorm(10,1.5))
too$large=0
too$large=for (i in 1:length(too[,c(1,2,3)]))
2009 May 08
2
partial mantel tests "Ecodist"
Hi all,
I'm searching for a little clarification on partial mantel tests
(ecodist package)
I've a distance matrix (x,y), and several others containing
environmental/chemical variables.
Based on the help file, and the package instructions I've managed to
implement the tests as;
var1 ~ env1 + space
to partial out the effect of space and test the relationship between
the
2008 Apr 17
1
spatialpixelsdataframe
I have a spatialpixelsdataframe containing bathymetry data. Is it
possible to save this as something similar to the meuse.grid so it can
be loaded without having to run the spatial interpolation each time the
script is called?
I don't see a straightforward method in the sp documentation.
2008 Aug 12
0
gls and memory allocation
Hi all,
A two part quick question regarding gls
1) I'd like to pass a formula to gnls from a gam(mgcv package). Is there
a quick way to do this? I tried using
>gnls(gam$call$formula, data=df, correlation=AC1) but it keeps
outputting a message to the effect that I need x ~ y etc as the formula.
I realize now that the $formula part of the gam is only sending x ~ s(y)
and that this is
2008 Apr 16
3
memory issues
Hi all,
I've read the R for windows FAQ and am a little confused re:
memory.limit and memory.size
to start using R 2.6.2 on WinXP, 2GB RAM, I have the command line "sdi
--max-mem-size=2047M"
Once the Rgui is open, memory.limit() returns 2047, memory.size()
returns 11.315, and memory.size(max=T) returns 19.615
Shouldn't memory.size(max=T) return 2047?
Upon running several