Re: [R] OPTIMX: non-finite finite-difference value [26] and scaling problem

2015-07-18 Thread Jeff Newmiller
It is quite unlikely that anyone can help you without a reproducible example. [1] You should be aware that sending emails to this list in HTML format is likely to yield scrambled mails received. Please make your email client send email in plain text. [1]

Re: [R] Warning message with maxLik()

2015-07-18 Thread Arne Henningsen
Dear Maram - Please do not start a new thread for the same issue but reply to previous messages in this thread [1]. - Please read my previous responses [1] more carefully, e.g. to use theta - exp( param ) which guarantees that all elements of theta are always positive. [1]

[R] Why does dredge() rank models differently for lmer() and MCMCglmm()?

2015-07-18 Thread Corina
Hello, I am running my full model (fm) through lmer() and MCMCglmm() using the default settings: model.lmer - lmer(fm) model.MCMCglmm - MCMCglmm(fm) And the summary outputs are almost exactly the same: summary(model.lmer) summary(model.MCMCglmm) However, when I run the models through dredge():

Re: [R] modifying a package installed via GitHub

2015-07-18 Thread boB Rudis
You can go to the package directory: cd /some/path/to/package and do R CMD install . from a command-line there. Many github-based packages are also made using RStudio and you can just open the .Rproj file (i.e. load it into R studio) and build the package there which will install it.

Re: [R] Nagelkerke Pseudo R-squared

2015-07-18 Thread varin sacha
Thanks David for your response. Best regards, SV - Mail original - De : David Winsemius dwinsem...@comcast.net À : varin sacha varinsa...@yahoo.fr Cc : R-help Mailing List r-help@r-project.org Envoyé le : Samedi 18 juillet 2015 3h33 Objet : Re: [R] Nagelkerke Pseudo R-squared On Jul

Re: [R] Why does dredge() rank models differently for lmer() and MCMCglmm()?

2015-07-18 Thread Bert Gunter
(slightly off topic) One might also add that different model fitting criteria might produce rankings that are quite different, but with model predictions that are very similar. This reflects the inconvenient reality that empirical models are merely data interpolators and not representations of

Re: [R] Nagelkerke Pseudo R-squared

2015-07-18 Thread Frank Harrell
It's implemented in the R rms package's lrm and orm functions. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Nagelkerke-Pseudo-R-squared-tp4710014p4710031.html Sent from the R help mailing list archive at

Re: [R] OPTIMX: non-finite finite-difference value [26] and scaling problem

2015-07-18 Thread Bert Gunter
... but unless there is an outright error in the code, the problem is due to the specific data and starting values, which means they cannot be easily reproduced. More than likely, the optimizer has run into numerical problems. After all, it is wandering around in 37 dimensional space and the

Re: [R] Why does dredge() rank models differently for lmer() and MCMCglmm()?

2015-07-18 Thread Ben Bolker
Corina itsme at CorinaLogan.com writes: Hello, I am running my full model (fm) through lmer() and MCMCglmm() using the default settings: model.lmer - lmer(fm) model.MCMCglmm - MCMCglmm(fm) [snip] However, when I run the models through dredge(): dredge(model.lmer)

[R] Error: invalid 'labels'; length 5 should be 1 or 4

2015-07-18 Thread Branko
I have read already the other post 'invalid 'labels'; length 2 should be...' but I don't understand the answer. I work with the poLCA package and I get this error: Error in factor(ret$y[, j], labels = lev) : invalid 'labels'; length 5 should be 1 or 4 What does this mean and what can I do

Re: [R] Error: invalid 'labels'; length 5 should be 1 or 4

2015-07-18 Thread Sarah Goslee
Hi, On Sat, Jul 18, 2015 at 9:44 AM, Branko branko.verm...@ugent.be wrote: I have read already the other post 'invalid 'labels'; length 2 should be...' but I don't understand the answer. This is the R-help email list; I don't know what other post you mean without a link to the mailing list

[R] Change SetClass in R (library fPortoflio)?

2015-07-18 Thread 00alex00
Hi, I am using the library fPortfolio e and I would like to change an SetClass. In particular this function portolioSpec() that as default is: Model List: Type: MV Optimize: minRisk Estimator: covEstimator Params: alpha = 0.05 a = 1 Portfolio List: Target Weights: NULL Target Return: NULL

Re: [R] Nagelkerke Pseudo R-squared

2015-07-18 Thread varin sacha
Thanks Frank for your response. I have used the rms package. Reproducible example here below : install.packages(rms) library(rms) a=c(tres grand, grand, petit,petit,tres grand,grand,petit,petit,tres grand,grand) b=c(homme, homme, femme, femme, femme, homme, homme, homme, femme, femme) h -