[R] Warning message in Design ...

2007-06-29 Thread Petar Milin
Hello! There were some questions regarding warning messages in Design library, but no answer how to fix them. What about: use of storage.mode(x) - single is deprecated: use mode- instead What does it mean? How to use properly simple model like: m1 = ols(Y ~ A + B + C, data = someData) After

[R] Many warnings in the newest R ...

2007-05-31 Thread Petar Milin
Hello! I am using R 2.5.0 under Ubuntu 6.06, and I am not an expert. Recently, I think from the latest update some warning messages started to appear, when I use my old data-file and R-histories (hence, everything was done before and worked perfectly well). It seems to me that those are related to

[R] Detailed legend in mathplot ...

2007-03-21 Thread Petar Milin
Hello, Recently, I have asked for a help with building graphs, and I got few great advices. Now, my appetite is growing :) and I wander how to add legend for two (or more) lines in following example: matplot(DAT[, c(3,4)], type=b, ylim=c(0,8), xaxt=n, yaxt=n, + pch=c(21,22), col=black,

Re: [R] Detailed legend in mathplot ...

2007-03-21 Thread Petar Milin
wrote: Petar Milin wrote: Hello, Recently, I have asked for a help with building graphs, and I got few great advices. Now, my appetite is growing :) and I wander how to add legend for two (or more) lines in following example: matplot(DAT[, c(3,4)], type=b, ylim=c(0,8), xaxt=n, yaxt=n

[R] Making two lines graph ...

2007-02-24 Thread Petar Milin
Hello! Can anyone help me to build a graph with the alphanumeric values on x-axis, with two lines (preferably doted and solid, or similar) that present values on y-axes. In a toy example, data frame could be like this: x.orig x.num y1 y2 a 1 0.2 0.4 b 2 0.1 0.1 c 3 0.3 0.3 d 4 0.3 0.15 e 5 0.1

[R] Unable to install gtkDevice ...

2007-01-25 Thread Petar Milin
Hello! I am trying to install gtkDevice package, but without success. It is complaining about: * Installing *source* package 'gtkDevice' ... checking for gtk-config... no checking for gtk12-config... no ERROR: Cannot find gtk-config. I am using Ubuntu 6.06, and I cannot find that package in the

Re: [R] Unable to install gtkDevice ...

2007-01-25 Thread Petar Milin
. Gabor On Thu, Jan 25, 2007 at 03:15:21PM +0100, Petar Milin wrote: Hello! I am trying to install gtkDevice package, but without success. It is complaining about: * Installing *source* package 'gtkDevice' ... checking for gtk-config... no checking for gtk12-config... no ERROR: Cannot

[R] Is it possible to model with Laplace's error distribution?

2006-03-21 Thread Petar Milin
Hello! My question is stated in the Subject: Is it possible to model with Laplace's error distribution? For example, lmer() function have few families of functions, like binomial etc., but not Laplace. Is there any other package that would allow for Laplace? Or is there a way to give user-defined

[R] How to bootstrap one-sample ks.test?

2006-03-18 Thread Petar Milin
Hello! I am testing if my data are distributed under Laplace's distribution, which I managed to do with: library(rmutil) ks.test(jitter(x), plaplace, mean(x), sd(x)) Nevertheless, I am trying to bootstrap ks.test without any success. Something is wrong in my commands: data =

[R] Strange p-level for the fixed effect with lme function

2006-02-23 Thread Petar Milin
Hello, I ran two lme analyses and got expected results. However, I saw something suspicious regarding p-level for fixed effect. Models are the same, only experimental designs differ and, of course, subjects. I am aware that I could done nesting Subjects within Experiments, but it is expected to

[R] How to decide between two theoretical distributions?

2006-02-03 Thread Petar Milin
, beta and gamma distributed. How it can be tested which model (theoretical distribution) suits better actual data? Except some vague idea that bootstrapping or jackknifing could be used, I have no further thoughts on that matter. Could it be tested in R and how? Sincerely, Petar Milin

[R] How to decide between two theoretical distributions?

2006-02-03 Thread Petar Milin
, beta and gamma distributed. How it can be tested which model (theoretical distribution) suits better actual data? Except some vague idea that bootstrapping or jackknifing could be used, I have no further thoughts on that matter. Could it be tested in R and how? Sincerely, Petar Milin

[R] Can’t find X11 font when trying to produce graph

2006-01-24 Thread Petar Milin
, Petar Milin __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Understanding and translating lme() into lmer() model

2006-01-05 Thread Petar Milin
I am newbie in R, trying to understand and compare syntax in nlme and lme4. lme() model from the nlme package I am interested in is: lme.m1.1 = lme(Y~A+B+C,random=~1|D/E,data=data,method=ML) (for simplicity reason, I am giving generic names of factors) If I understand well, there are three

Re: [R] Problems with updating R-packages

2006-01-02 Thread Petar Milin
Thanks to the detailed help with previous error message, I managed to update Design package. However, when I tried to update Matrix and lme4 I received an error message again: ... /usr/bin/ld: cannot find -lblas-3 collect2: ld returned 1 exit status make: *** [Matrix.so] Error 1 ERROR:

[R] Problems with updating R-packages

2005-12-31 Thread Petar Milin
, Petar Milin Assistant Professor Department of Psychology University of Novi Sad Serbia and Montenegro __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org

[R] Why lmer() is not working, altough lme4 is installed?

2005-12-21 Thread Petar Milin
: linux-gnu $system: i386, linux-gnu $major: 2 $minor: 0.1 $year: 2004 $month: 11 $day: 15 Sincerely, Petar Milin Assistant Professor Department of Psychology University of Novi Sad Serbia and Montenegro __ R-help@stat.math.ethz.ch mailing list https

[R] How to solve allocation problem in lme() analysis?

2005-11-29 Thread Petar Milin
(RT ~ F1 + F2 + L, random = ~1 + L | Experiment/Subject, Can anyone help me with this issue? Thanks in advance. Sincerely, Petar Milin Assistant Professor Department of Psychology University of Novi Sad Serbia and Montenegro __ R-help@stat.math.ethz.ch