Displaying 20 results from an estimated 3000 matches similar to: "Doubt about Sweave"
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
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 ]
|>
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
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
2005 Oct 24
3
lme and lmer syntax
Hi,
I have this:
lme(y~x1+x2,random=~1|x1/x2)
How to make this random effect using lmer?
I try this:
lmer(y~x1+x2+(1|x1/x2)
But it dont work.
Any idea?
Thanks
Ronaldo
--
System halted!
--
|> // | \\ [***********************************]
| ( ?? ?? ) [Ronaldo Reis J??nior ]
|> V [UFV/DBA-Entomologia ]
| / \ [36570-000 Vi??osa -
2006 May 25
1
is possible to use update with lmer models
Hi,
the question on subject is possible?
example:
m1 <- lmer(y~1+(1|subject))
m2 <- update(m1,.~.+x)
I try but dont work, exist any other method for this?
Thanks
Ronaldo
--
He won a Toyota now, eh?
-- pal?ndromo
--
|> // | \\ [***********************************]
| ( ? ? ) [Prof. Ronaldo Reis J?nior ]
|> V [UNIMONTES/Depto. Biologia
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
2005 May 09
4
Error in F test on version 2.1.0
Hi,
I make a upgrade to R 2.1.0 and in some analysis I give an error:
anova(model,test="F")
Analysis of Deviance Table
Model: binomial, link: logit
Response: landing/total
Terms added sequentially (first to last)
Df Deviance Resid. Df Resid. Dev F Pr(>F)
NULL 16 105.079
trat 1 93.149 15 11.930 93.15
Warning message:
2005 Jul 20
1
help with a xyplot legend
Hi,
I try to put a legend in a xyplot graphic.
xyplot(y~x|g,ylim=c(0,80),xlim=c(10,40),as.table=T,layout=c(2,3), ylab="N??mero
de machos capturados",xlab=expression(paste("Temperatura (",degree,"C)")),
key=list(corner=c(0,0),x=0, y=0, text=list(legenda),lines=list(col=cor, lwd =
espessura, lty=linha),columns=7,between=0.5,betwen.columns=0.5,cex=0.8))
The problem
2005 Aug 30
2
Doubt about nested aov output
Hi,
I have two doubts about the nested aov output.
1) I have this:
> anova.ratos <- aov(Glicogenio~Tratamento+Error(Tratamento/Rato/Figado))
> summary(anova.ratos)
Error: Tratamento
Df Sum Sq Mean Sq
Tratamento 2 1557.56 778.78
Error: Tratamento:Rato
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 3 797.67 265.89
Error: Tratamento:Rato:Figado
2002 Aug 02
1
doubt about contrib...
Hi,
I have a little doubt about contrib packages.
I make some little functions in a R package format, this functions are for my
personal use (envelopes for glm models and a plot bar routine).
Some friends ask me about the liberation of this functions in a web site, R
contrib etc.
what is the correct procedure for send a package to R contrib?
The functions is not create for me, is adaptaded to R
2005 Nov 11
3
problems with for: warnings and segfault
Hi,
I have two problem with a for looping using R Version 2.1.1 (2005-06-20) on a
Debian Linux Testing.
The first problem: warnings messages
Look:
> xcoord <- 5
> ycoord <- 5
> indice <- 1
> for(i in c(1:5)) {indice <- indice+1;xcoord[indice] <- xcoord+i;
ycoord[indice] <- ycoord }
Warning messages:
1: number of items to replace is not a multiple of replacement
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
--
|> // | \\
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 Dec 26
4
lme X lmer results
Hi,
this is not a new doubt, but is a doubt that I cant find a good response.
Look this output:
> m.lme <- lme(Yvar~Xvar,random=~1|Plot1/Plot2/Plot3)
> anova(m.lme)
numDF denDF F-value p-value
(Intercept) 1 860 210.2457 <.0001
Xvar 1 2 1.2352 0.3821
> summary(m.lme)
Linear mixed-effects model fit by REML
Data: NULL
AIC BIC
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)
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]
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,
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