Re: [R] Network meta-analysis, varConstPower in nlme - Thank you!

2008-10-16 Thread Christian Gold
Excellent - now it works. Thank you, Christian! (I still seem to be unable to replicate the results as reported in the paper, but that is unrelated to R-help. Thomas, do you have any idea what I may have entered wrongly?) Best, Christian Christian Ritz wrote: Hi Christian, I believe that the

[R] Network meta-analysis, varConstPower in nlme

2008-10-15 Thread Christian Gold
end of this email.) I use R 2.6.1 and nlme 3.1-86. Any help would be greatly appreciated! Best, Christian Gold --- lumley1 <- scan() 2 1 -2.428 -1.451 2 5 3.233 3.819 3 2 -0.493 -0.405 1 2 0.577 1.868 3 1 -2.06 -0.709 3 4 1.976 1.196 2 3 1.084 2.055 2 3 1.255 1.278 3 4 0.807 1.058 3 4

Re: [R] How to prevent fix() from converting Dates into numeric

2007-12-08 Thread Christian Gold
to use fix() or edit() on other than the data > frames they are documented to work on. > > On Fri, 7 Dec 2007, Christian Gold wrote: > >> Dear list members >> >> Here is a strange problem that I have had for a long time, without >> finding out how to solve it. Wh

[R] How to prevent fix() from converting Dates into numeric

2007-12-07 Thread Christian Gold
x(a) a Why is that? And can anything be done against it? Many thanks for your help! Best, Christian Gold www.uib.no/people/cgo022 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide h

[R] How to prevent fix() from converting Dates into numeric

2007-12-07 Thread Christian Gold
) a fix(a) a Why is that? And can anything be done against it? Many thanks for your help! Best, Christian Gold www.uib.no/people/cgo022 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide h

Re: [R] building a data.frame from a matrix: preventing conversion to factors

2007-11-13 Thread Christian Gold
Thanks for your reply. I have tried the reproducible example you have provided (thanks!) in 3 different versions of R, and get what you get in R version 2.5.1, but in 2.3.1 (which I normally use) and 2.1.0 (which I still have installed) I get factors. I guess this means I should switch to the ne

[R] building a data.frame from a matrix: preventing conversion to factors

2007-11-13 Thread Christian Gold
h the matrices: if I try I() with the matrix, the matrix gets incorporated into the data frame as a whole, rather than as a list of vectors as it should be. ("as.is=T" doesn't help either, and neither does "options(stringsAsFactors = FALSE)".) Any help would be greatl