Re: [R] distance by vegan

2007-08-22 Thread Victor Landeiro
Hi, In vegan the function to calculate distance is vegdist in which the default distance is Sorensen (Bray-Curtis). So, try: vegdist(x, method=bray) Also see ?vegdist victor On 8/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How to calculate sorensen (bray-curtis) distance by dist

Re: [R] Mixture of Normals with Large Data

2007-08-07 Thread Tim Victor
PROTECTED] Date: Saturday, August 4, 2007 8:01 pm Subject: Re: [R] Mixture of Normals with Large Data To: [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch On Sat, 4 Aug 2007, Tim Victor wrote: All: I am trying to fit a mixture of 2 normals with 110 million observations. I am

Re: [R] Mixture of Normals with Large Data

2007-08-07 Thread Tim Victor
Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Victor Sent: Tuesday, August 07, 2007 3:02 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Mixture of Normals with Large Data I wasn't aware

[R] Mixture of Normals with Large Data

2007-08-04 Thread Tim Victor
All: I am trying to fit a mixture of 2 normals with 110 million observations. I am running R 2.5.1 on a box with 1gb RAM running 32-bit windows and I continue to run out of memory. Does anyone have any suggestions. Thanks so much, Tim [[alternative HTML version deleted]]

[R] sample() and memory usage

2007-05-08 Thread Victor Gravenholt
, and this happens both on Windows XP and Linux (Ubuntu). Victor __ 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 and provide commented, minimal

[R] sample() and memory usage

2007-05-08 Thread Victor Gravenholt
, and this happens both on Windows XP and Linux (Ubuntu). Victor __ 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 and provide commented, minimal

[R] sample function and memory usage

2007-05-08 Thread Victor Gravenholt
, and this happens both on Windows XP and Linux (Ubuntu). Victor __ 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 and provide commented, minimal

[R] dynamically specifying regressors/RHS variables in a regression

2007-05-04 Thread Victor Bennett
Does anyone know if there is a way to specify regressors dynamically rather than explicitly? More specifically, I have a data set in long format that details a number of individuals and their responses to a question (which can be positive, negative, or no answer). Each individual answers as many

[R] intercept value in lme

2006-12-06 Thread victor
? Best regards, victor __ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] intercept value in lme

2006-12-06 Thread victor
but you say it is bounded, -25 X 0 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of victor Sent: Wednesday, December 06, 2006 3:34 AM To: r-help@stat.math.ethz.ch Subject: [R] intercept value in lme Dear all, I've got a problem in fitting

Re: [R] intercept value in lme

2006-12-06 Thread victor
(as suggested by Chuck) especially in interpretation and helped me to understand what is really going on in the model. Thank you once again - these are my first experiences with R as like as with multilevel models, so... thank you for your patience! Best regards, victor Chuck Cleland wrote

Re: [R] r 2.4.0

2006-10-10 Thread victor
recommended 'update.packages(checkBuilt = TRUE)' and the error still occures. Have any an idea what to do in this case? Thanks! victor __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] ca.po Pz test question

2006-08-24 Thread Victor Gushchin
??? 3) and the last question - why for Pz there is an option to use demean=trend and there is no such an option for Pu? Kind regards, Victor [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

[R] About STL function

2006-05-18 Thread frossard victor
data scale vary from 0 to 150 (m3/day), the trend scale go from 0 to 25, the seasonal scale vary from -10 to 20. Is that normal? has a change of units occur? what does it means? Thanks for your answers. Victor. - [[alternative

[R] Functions within functions in R and S-Plus

2005-06-07 Thread Victor Gravenholt
mainfunc(x) Any help is greatly appreciated. Victor __ 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] Relative importance of inputs in nnet

2005-01-26 Thread Victor Robles
Dear R people, I would like to know if it is possible to compute the relative importance of the inputs to a neurol network computed with the function nnet in the nnet package. Thank you so much!!! Victor Robles [[alternative HTML version deleted

[R] Redirect standard input and output of R

2004-11-17 Thread Victor Robles
); } } } exit(0); Best regards, Victor __ [EMAIL PROTECTED] 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] testing for differences in parameter estimates from parametric bootstrapping

2004-10-08 Thread Victor Gravenholt
Based on a rather complicated model I do parametric bootstrapping to obtain bootstrap distributions of the parameters of interest. What is the proper way to test whether the parameter estimates are significantly different (the differences in parameter estimates are expected from including

[R] Efficient Cartesian product of data.frames

2004-09-09 Thread Timothy W. Victor
I'm looking for if the by vectors are of zero length. Would someone be so kind as to provide me with a quick example of exactly how to do this? Cheers, Tim Victor __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Simulating a landscape (matrix) in R

2004-06-03 Thread Victor Gravenholt
You could try something like this. Simulating with a large number of grid cells is however very RAM expensive. library(MASS) library(spatial) x - expand.grid(1:30, 1:30) distances - as.matrix(dist(x, diag=T, upper=T)) Sigma - expcov(r=distances, d=10, se=1) z - mvrnorm(n = 1, mu=rep(0,900),

[R] excel files and R

2003-06-24 Thread Victor H. Marím
Greetings everyone, I am new at R. My questions is rather basic. Looking R manuals looks like there should be a way to read MS excel files into R. Could somebody tell me which library should I use for that? Thanks in advance Victor H. Marín Laboratorio de Modelación Ecológica Depto. de