Displaying 20 results from an estimated 1000 matches similar to: "problem in font"
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
2007 Dec 13
4
Very simple question on plot
Hi,
I try to make a plot like this:
Y |
|
| o
| o o
| o o
| o o
|o o o
|--------------------------------
0 10 20 30 40 50 60 70 80 90 100 (A)
100 90 80 70 60 50 40 30 20 10 0 (B)
or
B
100 90 80 70 60 50 40 30 20 10 0
Y |--------------------------------
|
| o
2007 Oct 05
3
help in substitute function
Hi,
I try to use a substitute function to generalise a equation.
I have this:
expression(1+2*pred+3*lat)
I need to define the equation in function of x1 and x2 variables. Also I try
to define who is x1 and x2. I try this:
X1 <- "pred"
X2 <- "lat"
Now I need substitute pred and lat in equation by x1 and x2 defined on X1 and
X2 above, I try this way:
>
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 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
2008 Aug 01
2
How to get the p-value from lmer on a longitudinal analysis
Hi,
I have a modelo like this:
Yvar <- c(0, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, 1, 2, 3, 6, 6, 3, 3, 4)
TIME <- 4:22
ID <- rep("PlotA",19)
m <- lmer(Yvar~TIME+(TIME|ID),family=poisson)
anova(m)
summary(m)
How to get the p-value for this case?
Thanks
Ronaldo
--
Just because you're paranoid doesn't mean they AREN'T after you.
--
> Prof. Ronaldo Reis J?nior
|
2008 Aug 05
1
Add arrows to a filled.contour margin
Hi,
I try to put an arrow to a filled.contour plot. I make this:
filled.contour(volcano, color = terrain.colors,key.axes=F)
arrows(0.95,0,0.95,1,lwd=2)
This work, but the problem is that I find the coordinates at random try, for
other graphic with other scale is other fight with coordinates. Anybody know
a more easy or more generalized way to make this? Somethink like this
2008 Feb 20
2
factors ordered by mean
Hi,
How to order the levels os factor not by alphabetic order but by mean of Y.
Somethink like this:
I have this alphabetic order:
> levels(pH)
[1] "alto" "baixo" "medio"
the order by mean os yvar is:
> sort(tapply(Riqueza,pH,mean))
baixo medio alto
11.56667 20.00000 26.80000
How to make the levels of pH ordered by this mean to the result to
2008 Mar 03
3
Script to start Rcmdr
Hi,
anybody know any way to make a bash script to start Rcmdr directly widthout
need to open R and execute library(Rcmdr)?
I try to make this using R CMD BATCH somethink, but dont find the way.
Thanks
Ronaldo
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Biologia Computacional
| : :' : Campus Universit?rio Prof. Darcy Ribeiro, Vila Mauric?ia
|
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 Jun 04
1
Front end for R in Mac
Hello all.
I just switched from Windows to Mac and I am trying to find a good front end
for R in Mac that is relatively user friendly and works well. I have used
RWinEdt for several years in Windows, and something similar to RWinEdt for
Mac would be ideal. I've looked into some of the emacs editor (e.g.,
Aquamacs) but I wanted to see what other people prefer, as I'm not sure I'm
an
2007 Jun 21
1
anova on data means
I am transitioning from SAS to R and am struggling with a relatively simple
analysis. Have tried Venables and Ripley and other guides but can't find a
solution.
I have an experiment with 12 tanks. Each tank holds 10 fish. The 12 tanks
have randomly assigned one of 4 food treatments - S(tarve), L(ow), M(edium)
and H(igh). There are 3 reps of each treatment. I collect data on size of
each
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
2009 Sep 01
2
Simple question about data.frame reduction
Hi,
this is a simple question
I have this data.frame:
> test <-
data.frame(var1=c(1,1,1,1,1,1),var2=c("a","a","b","c","d","e"),var3=c("a1","a1","b1","a1","c1","d1"))
> test
var1 var2 var3
1 1 a a1
2 1 a a1
3 1 b b1
4 1 c a1
5 1