Displaying 20 results from an estimated 2000 matches similar to: "add points to a 1-weibull graph"
2006 Sep 18
2
problem in font
Hi,
after a debian upgrade my dev.copy2eps dont work anymore. I have this message:
Error in matchFont(postscriptFonts(family)[[1]], old$encoding) :
unknown font
I try to change the font family in my .Rprofile:
setHook(packageEvent("graphics", "onLoad"),
function(...) {
grDevices::ps.options(family="ComputerModern")
} )
But it no fix
2007 Apr 23
1
help on xyplot and curves
Hi,
I need to add some different curves to a each panel in a xyplot. I have a old
function to make this using panel.number, like this:
panel=function(x,y,panel.number,...){
panel.xyplot(x,y,...)
if(panel.number==1){
panel.curve(-655.8689+769.1589*log(5)+64.7981*log(x)-206.4475*log(5)^2)
}
if(panel.number==2){
2007 Feb 22
1
problem with weights on lmer function
Hi,
I try to make a model using lmer, but the weigths is not accept.
m1<-lmer(ocup/total~tempo+(tempo|estacao),family=binomial,weights=total)
Erro em lmer(ocup/total ~ tempo + (tempo | estacao), family = binomial, :
object `weights' of incorrect type
I dont understand why this error, with glm this work. the total object is a
vector.
Any idea?
Thanks
Ronaldo
--
God is subtle, but
2007 Feb 22
1
JGR launcher for linux
Hi,
anybody have a JGR launcher for linux? Maybe a script that launch JGR directly
without open R then library(JGR) and JGR().
Thanks
Ronaldo
--
Deflector shields just came on, Captain.
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva
| : :' : Campus Universit?rio Prof. Darcy Ribeiro, Vila Mauric?ia
| `. `'` CP: 126, CEP:
2007 Feb 23
1
some caracter dont work with JGR
Hi,
I testing JGR and I like, but my ~ caracter dont work. My keyboard is
Brazilian ABNT2.
The key is OK, only in JGR it dont work.
Anybody have any idea about this?
Thanks
Ronaldo
--
Mais variado que baldea??o em Cacequi.
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva
| : :' : Campus Universit?rio Prof. Darcy Ribeiro, Vila
2006 Jul 02
1
Calculation of lags
Hi,
If I have the follow situation:
A dependent variable (i.e. number of insects) that is affected by an
independent variable (i.e. rain). The problem is that the measure of rain
affect the population in other moment. So there exit a lag between the rain
and the number of insects. Exist in R any tool to find what is this lag?
Explain better.
Suppose that I have a linear relationship
2007 Feb 21
1
Problem with rjava in linux
Hi,
I install rJava in linux. The installation, from source, is ok. But I have
this error on load package.
> library(rJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared
library '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
libjvm.so: cannot open shared object file: No such file or directory
Error: .onLoad failed in
2006 Oct 15
2
MASS need R >= 2.4.0!!!
Hi,
I have R 2.3.1 installed by debian p?ckage.
I install only the base and recommended R packages from Debian source, all
others packages I install from the R source at CRAN.
But, I try to use library MASS, but I received this message:
> library(MASS)
Error: This is R 2.3.1, package 'MASS' needs >= 2.4.0
What is the problem?
Inte
Ronaldo
--
"It ain't over until
2006 Nov 06
0
problem with survreg and anova function
Hi,
I make a weibull survival regression using suvreg function. Bu when I try to
get the P values from anova, it give me NAs:
I'm using R 2.4.0 and survival 2.29
Look:
m <- survreg(Surv(tempo,censor)~grupo*peso)
anova(m)
Df Deviance Resid. Df -2*LL P(>|Chi|)
NULL NA NA 148 966.6416 NA
grupo -2 25.6334407 146 941.0081 NA
2007 Feb 02
0
problem with survreg and anova function
Hi,
I make a weibull survival regression using suvreg function. Bu when I try to
get the P values from anova, it give me NAs:
I'm using R version 2.4.0 Patched (2006-11-25 r39997) and survival 2.30
library
Look:
m <- survreg(Surv(tempo,censor)~grupo*peso)
anova(m)
Df Deviance Resid. Df -2*LL P(>|Chi|)
NULL NA NA 148 966.6416 NA
grupo
2007 Apr 24
2
xyplot source file only work with echo=TRUE
Hi,
I write several xyplot graphics on a source file. When I try to use
source("graphics.R") the source don't work, but if I use
source("graphics.R",echo=T) it work. Generally some commands work without
echo=T, but xyplot dont work. Why it dont work without echo=T? It is possible
to write a source that dont need echo=T on source command?
Thanks
Ronaldo
--
Aluno de
2006 Aug 14
3
Making R script to run in a console
Hi,
is possible to make a R script to run under a console without open the R
environment?
Something like this example.R
#!/usr/bin/R
function(name="Put here your name") {
print(name)
}
In a console I make
./example.R name="Ronaldo Reis J?nior"
then program print my name.
It is possible?
Thanks
Ronaldo
--
A jury consists of twelve persons chosen to decide who has the
2007 May 21
2
more simplified output from glht object
Hi,
I use glht to make multcomp, using Tukey, from a glm model.
It is possible to get a more simplified output of result? Somethink like
ordering by letters.
Thanks
Ronaldo
--
Human kind cannot bear very much reality.
-- T. S. Eliot, "Four Quartets: Burnt Norton"
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Ecologia
| : :' :
2007 Aug 24
3
It is possible to use a Shell command inside a R script?
Hi,
It is possible to use a shell command inside a R script?
I'm write a R script and I like to put somes shell commands inside to R.
Somethink like: convert fig01.png fig01.xpm or sed ..., etc.
It is possible? How?
Thanks
Ronaldo
--
Acalme-se, s??o somente 0's e 1's
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Ecologia
| : :' :
2007 May 21
1
Making links in per-session dir
Hi,
When I use help.start() R spends some time to make links in per-session dir. I
have a hole R system installed. It is possible to make these links permanent
to avoid spend this time in help.start()?
Thanks
Ronaldo
--
There can be no twisted thought without a twisted molecule.
-- R. W. Gerard
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de
2007 Jun 12
0
JGR and big list of packages.
Hi,
I have all CRAN packages installed on my Linux. Now I have problems with JGR.
When I make a plot and close a device, the device dont work anymore, I nedd to
use before javaGD() and after plot(). When I try do close JGR and save a
session, It return a erro and dont close. Look:
Exception in thread "Thread-2" java.lang.IllegalArgumentException: Value too
long:
2007 Jun 16
1
How to comment out a piece of a R code in XEmacs+ESS
Hi,
When I using Xemacs+ESS to write a R code, I need to comment out a code line
by line putting #
It is possible to configure ESS to comment and uncomment a selected block of
code.
Thanks
Ronaldo
--
__ _
/ `-' ) ,,,
| | ()|||||||[:::e
\__.-._) ''' unk
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Ecologia
| : :'
2007 Aug 05
1
setup trellis.device to color=F inside the xyplot function
Hi,
it is possible to setup trellis.device(color=F) inside teh function xyplot?
I try to use
> xyplot(ocup~tempo|
nitro+estacao,col="white",ylim=c(0,0.7),par.settings=list(color=F))
But dont work, the only way that work for me is call the function
> trellis.device(color=F)
before the xyplot, but in this way it open a new device for each run. I like
that is use the same
2007 Jul 23
1
Function to separate effect in AOV
Hi,
I have a dummy question.
Suppose that I have two explanatory variable, T1 (A, B) and T2 (C, D) and one
response variable.
> attach(dados)
> tapply(Y,list(T1,T2),mean)
C D
A 2.200000 10.20000
B 2.223333 20.26667
In this case, "A" and "B" inside "C" have no difference, but have differences
inside "D"
I make this model:
> m
2007 Oct 13
1
Make playwith a default graphic device
Hi,
I looking for a graphic device on Linux with more functionalities than the X11
(). I find the plotAndPlayGTK package and the playwith function. It is a good
device. It is possible to make it default in my system.
Now I need:
> library(plotAndPlayGTK )
Loading required package: RGtk2
Loading required package: cairoDevice
>
> playwith(plot(1,1))
Error in plot.new() : figure margins