Displaying 20 results from an estimated 3000 matches similar to: "Questions about spatial data"
2003 May 21
1
help on spatial data
Hi,
I have a dataset with x and y coordinates and in each point I have an
identity of point, in some cases I can have more then one identity by point.
My dataset is something like this:
> x <- rep(c(1:4),4)
> y <- rep(c(1:4),c(4,4,4,4))
> area1 <- sample(factor(rep(c("a","b","c","d"),4)))
> area2 <-
2004 Sep 22
2
dot density maps
Dear All,
In the moment i'm using the map and maptools package to read shapefiles
and display the maps.
I'm looking for the possibility to draw points (randomly positioned or
positioned according to a grid) into the polygons instead of filling the
polygons with colors.
For example:
a map (shapefile) with 10 countries, 15 points in the polygon of country
A, 20 points in the
2003 Aug 27
1
how to calculate Rsquare
I think you've badly misinterpreted the purpose
of the R listserv with this request:
https://www.stat.math.ethz.ch/mailman/listinfo/r-help says
"The `main' R mailing list, for announcements about the
development of R and the availability of new code, questions
and answers about problems and solutions using R, enhancements
and patches to the source code and documentation of R,
2005 Sep 20
1
Change the mirror
Hi,
Please, change the brazilian mirror http://www.termix.ufv.br/CRAN/ to
http://www.insecta.ufv.br/CRAN/ in R homepage.
Thanks
ROnaldo
--
Se dois homens no mesmo trabalho concordam o tempo todo, um deles ?? demais. Se
discordam sem parar, ent??o os dois s??o dispens??veis
--Darryl F. Zanuck
--
|> // | \\ [***********************************]
| ( ?? ?? ) [Ronaldo Reis J??nior
2006 Mar 15
1
manipulating weeks dates
Hi,
I have these vectors:
> WEEK <- rep(c(1:52),2)
> YEAR <- rep(c(2000,1999),c(52,52))
How to make a vector of Date with weeks in years? I try as.date from survival
package, but it dont work with weeks, just only with days, months etcs.
Thanks
Ronaldo
--
"Realmente minha cidade e muito facultativa"
--Elivelton, ao rep?rter da Jovem Pan que falava das muitas
2003 Oct 14
1
[OFF] Dataset for extra Crawley Chapter
Hi,
anybody have the dataset used in Gamma Errors chapter of the Crawley's books
(An Introduction to Data Analysis using S-Plus).
specifically the functionalresponse and the Density datasets.
Thanks
Ronaldo
--
For every problem there is one solution which is simple, neat, and wrong.
-- H. L. Mencken
--
|> // | \\ [***********************************]
| ( ? ? ) [Ronaldo Reis
2005 Nov 16
3
Difficulties with for() {while(){}}
Hi,
I have the follow function:
function() {
## Init of function
...
for(i in test) {
...
while(j <= test2) {
...
}
}
}
The problem is that sometimes, naturally, the while is not possible to be
resolved, and so the program abort.
In this case I need that program return to the init of function and run again.
How I can make this? Abort the while, abort the for
2005 Sep 09
2
best way to fit a model
Hi,
I have some data that have this behaviour:
|
|*******
| *
| *
| *
| *
|----------------
What is the best and simpler way to fit this in R?
Thanks
Ronaldo
--
Ela pilotava um Continenal 2001 com igni????o autom??tica Magiclic...
--
|> // | \\ [***********************************]
| ( ?? ?? ) [Ronaldo Reis J??nior ]
|>
2004 Aug 25
3
integrate function
Is possible to integrate this diferential equation:
dN/dt = Nr(1-(N/K))
in R using the integrate() function?
Or any other diferential equation?
If yes, how?
If no, anybody know any software on linux that make this?
Inte
Ronaldo
--
O problema de ter os dois p??s bem firmes no ch??o ?? que voc?? n??o vai conseguir
tirar as cal??as.
--An??nimo
--
|> // | \\
2004 Jun 17
1
problem with restore and some .RData
Hi,
I have problem with the restore function in some .RData using R 1.9.0
Look the error:
[ronaldo at zeus RAnalise]$ R
...
Error: object 'family' not found whilst loading namespace 'MASS'
Fatal error: unable to restore saved data in .RData
But if I load this .RData with the load() function all objects are recovered.
[ronaldo at zeus RAnalise]$ R --no-restore-data
...
> ls()
2004 Jun 03
1
[OFF] program to estimate the best fit
Hi,
exist in R or any other program for linux that estimate the best fit for data
using severals functions? Somethink like tablecurve
Thanks
Ronaldo
--
Um menino-prodigio e uma crianca cujos pais tem muita
imaginacao.
-- Jean Costeau
--
|> // | \\ [***********************************]
| ( ?? ?? ) [Ronaldo Reis J??nior ]
|> V [UFV/DBA-Entomologia
2006 Jan 23
1
simple problem
Hi,
look this:
> summary(fam??lia)
Anacardiaceae Annonaceae Bombacaceae Cecropiaceae
2 4 1 3
Chrysobalanaceae Clusiaceae Euphorbiacaea Fabacea
1 1 4 3
Fabaceae Flacourtiaceae Humiriaceae indeterminada
2003 Jun 20
1
glmm and overall goodness of fit
Hi,
exist in R any glmm function that have any tools for test for overall goodness
of fit?
Thanks
Ronaldo
--
O papel da impressora ? sempre mais forte na parte picotada.
--
| // | \\ [***********************************]
|> ( ? ? ) [Ronaldo Reis J?nior ]
| V [UFV/DBA-Entomologia ]
|> / \ [36571-000 Vi?osa - MG ]
|
2004 Nov 09
1
glm.nb stop on Error.
Hi,
I make an analysis sequence on R. In some cases the function glm.nb fail to
ajust the model. Its Ok. The problem is that this error stop the program. I
need treat this error and not stop the program. Something like this:
...
model <- glm.nb(y~x,maxit=1000)
if(glm.nb fail) {
teste[i] <- 0
}
else {
teste[i] <- anova(modelo)$"P(>|Chi|)"[2]
}
...
I try this:
...
2006 Apr 04
1
Problem with Crawley book example
Hi,
I try to run the example of Crawley's Book on the page 661, but it fail, look
> repmeasures <-
read.table("../Packages/Crawley/data/repmeasures.txt",header=T)
> attach(repmeasures)
> rep <- as.factor(rep)
> library(nlme)
> model <- lme(height~seed,random=~time|rep/seed)
Erro em lme.formula(height ~ seed, random = ~time | rep/seed) :
iteration limit
2003 Apr 28
1
[OFF] File name completation on XEmacs+ESS.
Hi,
I try to make a key alias to XEmacs+ESS function Complete File Name.
But I dont know the name of this funcion.
Anybody know how this funcion is call?
(global-set-key "\C-tab" 'name of the function Complete File Name)
Thanks for all
Inte
Ronaldo
--
To beer or not to beer.
-- ShakesBeer
--
| // | \\ [*****************************][*******************]
||
2003 Apr 30
1
How to calculate the x to assymptotic value and curve inflection .
Hi,
I have this non-linear function:
y=115.251 - 118.69 * exp(-0.123517*x)
I try to discovery the x value for the assyntoptic value of y and the x value
where the behavior of curve change, the inflection point.
How to make this? Is poss?ble to make this on R?
Thanks
Ronaldo
--
O Flamengo e o Bangu terminaram o jogo em 0 x 0. Quem fez o gol?
A Volkswagen
--
| // | \\
2003 May 05
3
Help to make a for for index
Hi,
I try to make a vector in a for for loop, but it dont work.
Look:
> a <- 0;for(i in c(1:2)) { for(j in c(1:2)) { a <- i+j; print(a)}}
[1] 2
[1] 3
[1] 3
[1] 4
I try to make this a vector, like this:
[1] 2 3 3 4
> a <- 0;for(i in c(1:2)) { for(j in c(1:2)) { a[j] <- i+j}}; print(a)
[1] 3 4
> a <- 0;for(i in c(1:2)) { for(j in c(1:2)) { a[i] <- i+j}}; print(a)
[1]
2004 Mar 05
1
Problems with SJava instalation
Hi,
I'm try to use the SJava package. The install is OK. In R I have this error
message:
--------------------------
> library(SJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/opt/lib/R/site-library/SJava/libs/SJava.so":
libRSNativeJava.so: cannot open shared object file: No such file or
directory
Error in
2003 Oct 14
2
different results depending of variable position.
Hi,
I make an analysis and depending of the order of the variables, the
significance change, look.
m1 <- glm((infec/ntot)~idade+sexo+peso,family=binomial,weights=ntot)
> anova(m1,test="F")
Analysis of Deviance Table
Model: binomial, link: logit
Response: (infec/ntot)
Terms added sequentially (first to last)
Df Deviance Resid. Df Resid. Dev F Pr(>F)