Re: [R] Merge sort

2016-04-20 Thread Gaston
reassigning and copying?) is also expensive. Thank you for your help! On 04/19/2016 11:51 PM, Duncan Murdoch wrote: On 19/04/2016 3:39 PM, Gaston wrote: Hello everyone, I am learning R since recently, and as a small exercise I wanted to write a recursive mergesort. I was extremely surprised

[R] Merge sort

2016-04-19 Thread Gaston
way", but apparently I failed. I suppose some of the functions I used are quite heavy. I would be grateful if you could give a hint on how to change that! I hope I made myself clear and wish you a nice day, Cheers, Gaston [[alternative HTML version deleted]] __

[R] Maximum log likelihood estimates of the parameters of a nonlinear model.

2010-09-10 Thread Odette Gaston
Dear all, Is it possible to generate AIC or something equivalent for nonlinear model estimated based on maximum log likelihood l in R? I used nls based on least squares to estimate, and therefore I cannot assess the quality of models with AIC. nlme seems good for only mixed models and mine is not

[R] Sweave with external R code

2010-06-24 Thread Gaston Fiore
, -Gaston __ 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-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Package installation failed

2009-01-24 Thread Odette Gaston
that unable to install, but still same error message came up. error in normalizePath(path) : path[1]: no such file to load Any help would be greatly appreciated. Odette On Fri, Jan 23, 2009 at 7:15 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Odette Gaston wrote: Hi Uwe and all, Error

[R] Package installation failed

2009-01-22 Thread Odette Gaston
Hi folks, I am currently having the problem with using R 2.8.1 that I cannot install some of packages from CRAN or local drive and somebody may be able to help me. ex) faraway package and lme4 package. I have downloaded them in my hard drive as local, but still R was unable to find the package

Re: [R] Package installation failed

2009-01-22 Thread Odette Gaston
Hi Uwe and all, Error message was: error in normalizePath(path) : path[1]: no such file to load Many thanks, Odette On Fri, Jan 23, 2009 at 1:22 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Odette Gaston wrote: Hi folks, I am currently having the problem with using R 2.8.1

[R] Class and object problem

2008-12-24 Thread Odette Gaston
Dear all, I have a problem with accessing class attributes. I was unable to solve this yet, but someone may know how to solve it. I'm trying to extract some information from the summary, and Akaike weight has the desired value. Object for a model fitted using the glmmML function from the glmmML

Re: [R] Akaike weight in R

2008-12-21 Thread Odette Gaston
Hi Graham, Appreciate for your help, but actually I've already looked at this website, and wasn't success yet. 1st, I cannot run *W = exp(-0.5 * Delta) / sum(exp(-0.5 * Delta))* in the R. *W - exp(-0.5 * Delta) / sum(exp(-0.5 * Delta))* *note: Delta means AIC difference between models.* ** I

[R] Akaike weight in R

2008-12-19 Thread Odette Gaston
Hi folks, Wondering how can I generate Akaike weight with R? I know the description, but is there any function to generate by R on the web-site or R library? I am using GLM or GLMM (family=binomial), so would be appreciated if you help me. Thanks for your contributions in advance, Regards,

Re: [R] generate random number

2008-11-21 Thread Odette Gaston
, cluster = id) summary(fit) I hope it helps. Best, Dimitris Odette Gaston wrote: Hi everybody, I am currently working on glmmML() and wish to generate random number to do some tests, however, glmm was hypothesized the mixed distributions with normal and binomial in terms of having

[R] generate random number

2008-11-20 Thread Odette Gaston
Hi everybody, I am currently working on glmmML() and wish to generate random number to do some tests, however, glmm was hypothesized the mixed distributions with normal and binomial in terms of having a random effect. How would you be able to generate random number in this case? Is there a

[R] Goodness of fit test

2008-07-02 Thread martin . gaston
Dear R users, I have some data sets and I'd want to test if they are genarated under different probability functions. That is, some of them by gamma distribution, exponential one etc. Could anybody propose me any test (or procedure) to see that. I search something similar to the normality tests.

[R] Some problems with Sweave

2008-05-23 Thread martin . gaston
Dear R users, I'm working in a brief R-tutorial to a group of students. To make that I'm using Sweave but I've got two problems: First, I want show how R operates with the matrix type but, I write in the .rnw document the code echo=T,results=tex= matriz - matrix(vector,nrow=3,ncol=6) matriz @

Re: [R] Re : How to import package into R script

2008-05-23 Thread martin . gaston
Before call library(package) it is needed install the package. To make that, select Packages/InstallPkages... choose your nearest mirror and select the package from the list and accept. After that you can call library(tseries) for example Regards El Vie, 23 de Mayo de 2008, 9:00, justin bem