[R] start values for random effects in nlme

2018-01-03 Thread Jos Lommerse
data, fixed = list(par1 ~ 1, par2 ~ 1), random = IIV ~ 1 | ID, start = list(fixed = c(1,1), random= E)) summary(fm1) - Kind regards, Jos Lommerse, Certara NOTICE: The information contained in this electronic mail message is intended only for the per

[R] raster package: OpenStreetMap broken on Ubuntu, works on Mac

2013-09-21 Thread jos
Hi, I'm a novice in R and I was trying to play with OpenStreetMap package as in a few examples on the web. And the examples worked on my Mac but on Ubuntu (12.04) they fail to work. The simplest one is: library(OpenStreetMap) library(rgdal) map - openmap(c(70,-179), c(-70,179)) plot(map)

[R] r help: source-function is very slow

2012-01-19 Thread Jos van Nijnatten
'someOtherScript.r' in another directory (say ../../R) R takes moments, if not minutes to locate and load the script. Is there another way to do this that is not slow? Thanks, Jos -- Jos van Nijnatten, BSc Candidate Erasmus MC, Rotterdam, NL Department of Bioinformatics (ph) +31 1 07 04 45 51 (mob) +31 6 14

Re: [R] r help: source-function is very slow

2012-01-19 Thread Jos van Nijnatten
wrote: On 12-01-19 8:25 AM, Jos van Nijnatten wrote: Hello everybody, I noticed a performance problem when using the source-function in R. When I try to source an r script that is located in the same directory as the script I execute via command line ('R -f file.r' contents 'source(someOtherScript.r

[R] Rmpi installation problems

2011-12-02 Thread Jos Elkink
version: 2.14.0 Linux version: Gentoo, i686-pc-linux-gnu (32-bit) GCC version: 4.5.3 (Gentoo 4.5.3-r1 p1.0) OpenMPI version: 1.5.4 Output from R CMD INSTALL . in Rmpi source directory: * installing to library ‘/home/jos/R/i686-pc-linux-gnu-library/2.14’ * installing *source* package ‘Rmpi

[R] (svy)glm and weights question

2010-05-11 Thread Jos Elkink
a good source describing the estimation procedure, including weighting, applied in svyglm()? Thanks in advance for any help! Jos -- Johan A. Elkink Lecturer in Social Science Research Methods School of Politics and International Relations CHS Graduate School University College Dublin Ph. +353 1

[R] sample unique pairs from a matrix

2009-05-28 Thread jos matejus
] - dataf[samrow[i], samcol[i]] } However, I am not sure how to include the logical condition to only include postitive values Any help would be gratefully received. Jos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] sample unique pairs from a matrix

2009-05-28 Thread jos matejus
, the next sample would be taken from a 5x5 matrix, and then a 4x4 matrix and so on until I have my 6 values. I will keep thinking! Cheers Jos 2009/5/28 David Winsemius dwinsem...@comcast.net: On May 28, 2009, at 6:33 AM, jos matejus wrote: Dear R users, I have a matrix of both negative

Re: [R] sample unique pairs from a matrix

2009-05-28 Thread jos matejus
Dear All, Many thanks for all your useful suggestions. Much appreciated. Jos 2009/5/28 David Winsemius dwinsem...@comcast.net: Your last step will either be a single number (not really a sampling operation) or a non-positive number. So at best you really only have an number that depends

[R] reference category for factor in regression

2009-01-19 Thread Jos Elkink
? Or what I could do about this? Thanks in advance for any help! Regards, Jos -- Johan A. Elkink Lecturer School of Politics and International Relations CHS Graduate School University College Dublin Ph. +353 1 716 7026 | Library Building, Rm 512 http://jaeweb.cantr.net

Re: [R] reference category for factor in regression

2009-01-19 Thread Jos Elkink
as reference category ... Jos On Mon, Jan 19, 2009 at 2:37 PM, ONKELINX, Thierry thierry.onkel...@inbo.be wrote: Dear Jos, In R you don't need to create you own dummy variables. Just create a factor variable LABOUR (with two levels) and rerun your model. Then you should be able to calculate all

Re: [R] reference category for factor in regression

2009-01-19 Thread Jos Elkink
be a reason R decides *not* to use 65+ as reference in that particular scenario, and I am missing why. Jos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] Port package

2008-07-09 Thread Jos Kaefer
models and 'port' for the 'nl2sol' algorithm from the Port package. The simple question is: where's the Port package? I can't find it on cran. Thanks, Jos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help