search for: reid_huntsinger

Displaying 20 results from an estimated 33 matches for "reid_huntsinger".

2003 Mar 07
5
Moving average
Hi, Does anyone know if R has the functionality to calculate a simple moving average. I cant seem to find it in the help menu. thanks, Wayne Dr Wayne R. Jones Statistician / Research Analyst KSS Group plc St James''s Buildings 79 Oxford Street Manchester M1 6SS Tel: +44(0)161 609 4084 Mob: +44(0)7810 523 713 KSS Ltd A division of Knowledge Support Systems Group plc Seventh
2005 Mar 24
3
client-server setup for R
I am currently the only use-R at my company, but they are considering buy a more powerful server and letting multiple people use it. They asked me if R supports client-server setups. I know S+ has a server version that does that. I didn't find anything about that on CRAN, but hopefully someone can correct me. I did see some stuff about R web servers
2005 May 05
2
Precision in R
Could anyone help me with the following issue. Using the GSL library in R I define the following code: ######### library(gsl); S<-function(n) { r<-0:n; ans<-sum(gsl_sf_choose(n,r)*(-1)^r*2^(2*r)*gamma_inc(6-2*r,2)) ans } ######### >SS(10) yields 34.91868 >SS(40) yields 5.340422 >SS(60) yields 180.3162 Doing the same computations in maple I get
2005 Feb 22
1
Loading C functions into R
Hi everybody, I have the source of a C program that includes some archives .c and some libraries .h. I'm developing a program using R and I want it to load the C program I told before. How can I do that? I was looking for some function in R to do that and I found the .C() but I can't understand how it works. Somebody could help me? Thanx, Talita Perciano Costa Leite Graduanda em
2002 Jul 02
3
mean and array
In general this is what "apply" does. In your example you could use rowMeans(ar) as well, I think. Reid Huntsinger -----Original Message----- From: Olivier Martin [mailto:olivier.martin at inrialpes.fr] Sent: Tuesday, July 02, 2002 10:55 AM To: r-help Subject: [R] mean and array Hi all, I have an array, one say ar, with 3 dimensions. dim(ar) >200 3 4 I would like to
2002 Apr 16
6
Classification Analysis
Hi everyone, Could somebody explain to me what is the package/function for classification analysis. I am performing analysis of music files in the form of MIDI files. I end up with about 750 dependent variables from the analysis, I also have a number of independent/grouping variables that I set manually. What I would like is to be able to predict which group a particular MIDI files belongs to
2005 Mar 03
2
regression on a matrix
Hi - I am doing a monte carlo experiment that requires to do a linear regression of a matrix of vectors of dependent variables on a fixed set of covariates (one regression per vector). I am wondering if anyone has any idea of how to speed up the computations in R. The code follows: #regression function #Linear regression code qreg <- function(y,x) { X=cbind(1,x) m<-lm.fit(y=y,x=X)
2005 Jul 28
3
using integrate with optimize nested in the integration
Hi guys im having a problem getting R to numerically integrate for some function, say f(bhat)*optimize(G(bhat)), over bhat. Where id like to integrate this over some finite range, so that here as we integrate over bhat optimize would return a different optimum. For instance consider this simple example for which I cannot get R to return the desired result: f <- function(bhat) exp(bhat) g
2005 Apr 28
3
have to point it out again: a distribution question
Stock returns and other financial data have often found to be heavy-tailed. Even Cauchy distributions (without even a first absolute moment) have been entertained as models. Your qq function subtracts numbers on the scale of a normal (0,1) distribution from the input data. When the input data are scaled so that they are insignificant compared to 1, say, then you get essentially the
2005 May 02
14
eigenvalues of a circulant matrix
Hi, It is my understanding that the eigenvectors of a circulant matrix are given as follows: 1,omega,omega^2,....,omega^{p-1} where the matrix has dimension given by p x p and omega is one of p complex roots of unity. (See Bellman for an excellent discussion on this). The matrix created by the attached row and obtained using the following commands indicates no imaginary parts for the
2003 Feb 27
2
multidimensional function fitting
Take a look at package mgcv. Hope this helps. --Matt -----Original Message----- From: RenE J.V. Bertin [mailto:rjvbertin at despammed.com] Sent: Thursday, February 27, 2003 1:39 PM To: r-help at stat.math.ethz.ch Subject: [R] multidimensional function fitting Hello, I have been looking around for how to perform a multidimensional, arbitrary function fit (in any case non-linear; more below),
2005 Jan 27
3
Indexing Lists and Partial Matching
I was unaware until recently that partial matching was used to index data frames and lists. This is now causing a great deal of problems in my code as I sometimes index a list without knowing what elements it contains, expecting a NULL if the column does not exist. However, if partial matching is used, sometimes R will return an object I do not want. My question, is there an easy way of getting
2002 Jul 30
4
chisq.test, basic question
The cells are interpreted as counts, so by scaling you're analyzing a different experiment (one with fewer observations). So the chi-squared value will change (the terms (O-E)^2/E in the statistic scale linearly ignoring rounding and "Yates' continuity correction"). The chisq.test on the original data is a test of association. Conventionally you decide ahead of time on a
2001 Sep 17
3
computational capacity of Linux network
Hi, This is not an R question per ce, but I feel like this is a right community to ask it. As a part of our work we run a lot of non-interactive computational jobs. To increase the throughput we would like to distribute the load over the entire network and we are looking at Linux network as a platform. Ideally we would like to be able to submit a job to the network, rather than to a computer, and
2002 Mar 21
0
RE: Radar track data
If you explain what radar track data is (for those like me who don't know) and what your needs are more specifically a number of people would probably offer pointers to R packages etc. Reid Huntsinger -----Original Message----- From: Scott_Summerill_Summerill/ACT/CNTR/FAA.FAA at faa.gov [mailto:Scott_Summerill_Summerill/ACT/CNTR/FAA.FAA at faa.gov] Sent: Thursday, March 21, 2002 3:22 PM To:
2003 Feb 28
0
[despammed] RE: multidimensional function fitting
You can use R objects, such as the return from gam, and the predict.gam function, from C. See the R extensions manual. Reid Huntsinger -----Original Message----- From: RenE J.V. Bertin [mailto:rjvbertin at despammed.com] Sent: Thursday, February 27, 2003 3:42 PM To: Wiener, Matthew Cc: r-help at stat.math.ethz.ch Subject: Re: [despammed] RE: [R] multidimensional function fitting On Thu, 27
2003 Mar 11
0
different file types
You might look at "eval" and "parse". Reid Huntsinger -----Original Message----- From: Spencer Graves [mailto:spencer.graves at pdf.com] Sent: Tuesday, March 11, 2003 4:03 PM To: janet rosenbaum Cc: r-help Subject: Re: [R] different file types The command "'source' causes R to accept its input from the named file". I don't know what you mean by
2005 Mar 01
0
Data in an object = Existing Objects??
If you have the name of an object, you can use "get" to get the object itself. You didn't ask, and I don't know what your intended use is, but this looks like a difficult and inefficient way to keep track of things in R. You may want to look over some of the R introductions (on www.r-project.org) to see other ways to represent your data. For example, perhaps a two-way array C
2005 Jul 13
0
Memory question
One way I do this is to use Luke Tierney's "active bindings". I make an active binding of a name to a function which either loads or saves the object. Then the name behaves like the R object it's replacing. This works nicely as long as I don't need lots of random accesses to the matrix. I'd be happy to send the functions I use to do this. Reid Huntsinger -----Original
2005 Feb 23
0
Memory error in Mac OS X Aqua GUI v1.01 with cluster pack age functions
It's trying to allocate about 850 MB. And that's just the "object that broke the camel's back". You probably really are out of memory. You could increase swap space and cross your fingers, but probably daisy creates the 10481 x 10481 distance matrix, which would be about 800 MB since each entry is 8 bytes. It may even create multiple copies. You might try increasing RAM to 4