Displaying 2 results from an estimated 2 matches for "coord2".
Did you mean:
coords
2009 Jul 25
1
how to avoid a for looping break after an error message
...ce of code that generates simulated variables. after variable
generation I use them in several analyzes.
However, when I use a for to repeat the procedure 1000 times I get an erro
message in one of the "for" steps, precisely at this time:
gls.temp<- gls(y2 ~ x2,correlation=corExp(form=~coord2[,1]+coord2[,2])) #
coord 2 are spatial coordinates
and the error message is:
Error in gls(y2 ~ x2, correlation = corExp(form = ~coord2[, 1] + coord2[,
: false convergence (8)
I donĀ“t know what causes this error. My problem is that this error stops all
the calculations during the for looping and a...
2008 Sep 25
1
Confusion over syntax in a package
...am conducting.
The package works fine when I call the functions from the command line
as the examples instruct.
However, I am attempting to step through some of the functions so that
I can obtain a better idea of what is going on. I have come to the
following command:
calc.dist(coord1.day.index,coord2.day.index,id.day.index)
I know what this is supposed to do, it is calculating the geographic
distance between a series of latitude and longitude points. However,
I am informed by R that no such function exists. I searched through
the whole package for a function declaration, rooted through the R...