similar to: If statements for multiple arrays

Displaying 20 results from an estimated 20000 matches similar to: "If statements for multiple arrays"

2010 Jun 22
1
help in pael data analysis
I need help in typing step by step commands in R software for panel data analysis saibaba
2011 May 31
2
newbie: fourier series for time series data
Hi Guys, I had a monthly time series's data of land temperature from 1980 to 2008. After plotting a scatter diagram, it seems that annually, there is a semi sinusoidal cycle. How do I run Fourier's series to the data so that I can fit model on it? I am really sorry for my question sound stupid, but I just don't know where to start. I am desperately looking for help from you guys.
2010 May 25
2
summary of arima model in R
Hi, I want to give a summary or anova for "arima" model in R, as "summary", and "anova" for "lm". As including various intervention factors in arima(xreg = ) part, I want to assess the significancy of thse factors. I can do it using interrupted analysis of time series by linear regression, but want to see whether arima model works for the data first.
2005 Sep 30
1
ast package?
According to the extremely helpful reference card for time series analysis provided at: http://cran.r-project.org/doc/contrib/Ricci-refcard-ts.pdf, the ast package is necessary to perform some of the functions. Where can this package be installed from, as I cannot find it from my pulldown list, nor can I find it on the web? Thanks. Maia [[alternative HTML version deleted]]
2006 Sep 15
1
Periodogram of Schuster
Dear All, Is there a function in R which can do a periodogram of Schuster ? Thanks in advance ! Guillaume Blanchet
2009 Dec 10
1
Need help to forecasting the data of the time series .
Hi, This is the time series data collected from 2001 to 2008 by every month.so,there are 96 entries.I have done basic statistics.I need to find a model fitted to forecast this data.This is the mixedpaper collection for recycling in the campus. 13251 13754 19061 12631 17414 21350 25384 23646 20312 20740 14007 17175 13910 17191 17113 20250 35003 11975 19665 20490 20436
2011 May 08
1
ARMA
Hello,Could somebody tell me what is the difference between  theese 3 calls of functionsarma(x,order=c(1,0)), arima(x,order=c(1,0,0)) ar(x,order=1)?I expected same residuals of theese three models,but unexpectably for the first two R requiredinitial value of something (what?)...Thanks in advance!  [[alternative HTML version deleted]]
2008 Mar 12
1
Negative/ positive rolling correlation
Hi everybody, I really appeciate the help you have given me. I am getting around R comfortably now and am able to import research project data, do mathematical analysis of the data and produce graphs. My PhD project is going really well in its early days, already collecting data and proposal completed soon! There is one question I have though. I can see that worksheets and history can be saved,
2005 Dec 02
2
Seven month time-series sampled at hourly intervals
I have data from several sensors that recorded data at hourly intervals during seven months. I want to separate daily variation from the trend, and also be able to zoom in on only one month of data. I have not been able what functions to use, I can not figure out from the help for 'ts' how to use hourly data. I guess this is routine-work for a lot of people so I hope someone can
2009 Oct 15
4
Getting the object in fields_for
I''m using the fields_for helper with accepts_nested_attributes_for The System model has_many children. If I do this in my haml template: -form_for @system do |s| =s.text_field :name -s.fields_for :children do |child_fields| =child_fields.text_field :name all is fine. The fields_for iterates over all children and puts the correct data in the fields. But...what I
2009 Oct 20
2
descriptive statistics qn
This is day one on R for me, I am trying to figure out how to do simple computations. For example I have a data set with 200 observations. I am trying to compute the mean and variance in r for 1:25 (first 25 observations); 1:50 (first 50 obs) ; 1:100th observation etc. Here is the dataset: Id value 1 2.2338 2 3.13597 3 1.98685 4 4.35593 5 2.43963 6 4.20262 7 3.12131 8 4.79583 9 3.13937 10
2011 Jul 27
2
Writing a summary file in R
Hello, I have an input file: http://r.789695.n4.nabble.com/file/n3700031/testOut.txt testOut.txt where col 1 is chromosome, column2 is start of region, column 3 is end of region, column 4 and 5 is base position, column 6 is total reads, column 7 is methylation data, and column 8 is the strand. I would like a summary output file such as:
2004 Jul 01
2
how to drop rows from a data.frame
here is a snippet of data where I would like to drop all rows that have zeros across them, and keep the rest of the rows while maintaining the row names (1,2,3, ...10). The idea here is that a row of zeros is an indication that the row must be dropped. There will never be the case where there is a row(of n columns) with less than 5 zeros in this case(n zeros I am unsure how to manipulate the
2006 May 04
2
data manipulation docs
Hi All, Is there some document/manual about data manipulation within R that I could use as a reference (obviously, aside the R manuals)? The reason I am asking is that I have a number of data frames/matrices containg genetic data. The data is in a character form, as in: V1 V2 V3 V4 V5 1 AA AG AA GG AG 2 AC AA AA GG AG 3 AA AG AA GG AG 4 AA AA AA GG AG 5 AA AA AA GG AA I need, to chop,
2004 Apr 14
2
Spoofing CallerID on Demain
I have an outgoing line that allows me to set my caller id. I want to be able to change the caller id when ever I place a call using this line. I would like my user to press 7, then be prompted for their 10 digit caller id number, then be prompted for the number they would like to call in the form 1NXXNXXXXXX. How can I accomplish this??? Right now I am using this script that users have to
2013 Feb 27
2
matrix multiplication
Hi, Try this: #mat1 is the data res<-do.call(cbind,lapply(seq_len(nrow(mat1)),function(i) {new1<-do.call(rbind,lapply(seq_len(nrow(mat1[-i,])),function(j) {x1<-rbind(mat1[i,],mat1[j,]); x2<-(abs(x1[1,1]-x1[2,1])*abs(x1[1,5]-x1[2,5]))+(abs(x1[1,2]-x1[2,2])*abs(x1[1,6]-x1[2,6]))+(abs(x1[1,3]-x1[2,3])*abs(x1[1,7]-x1[2,7]))+(abs(x1[1,4]-x1[2,4])*abs(x1[1,8]-x1[2,8]))}));new1}))
2004 Dec 10
3
R Reference Card (especially useful for Newbies)
Newbies (and others!) may find the R Reference Card made available by Tom Short and Rpad at http://www.rpad.org/Rpad/Rpad-refcard.pdf useful. It categorizes and organizes a bunch of R's (S's) basic, most used functions so that they can be easily found. For example, paste() is under the "Strings" heading and expand.grid() is under "Data Creation." For newbies
2005 Jul 27
4
R Reference Card (especially useful for Newbies)
Newbies (and others!) may find useful the R Reference Card made available by Tom Short and Rpad at http://www.rpad.org/Rpad/Rpad-refcard.pdf or through the "Contributed" link on CRAN (where some other reference cards are also linked). It categorizes and organizes a bunch of R's basic, most used functions so that they can be easily found. For example, paste() is under the
2011 Jul 08
1
Tom Short's R cheat sheet
I noticed that there is a newer version of Tom Short's "cheat sheet" than the version currently posted on CRAN. Personally I like the newer version, but maybe keeping the old version is deliberate. Anyway, I was wondering if there's someone that I can notify that can update the content. New version: http://rpad.googlecode.com/svn/Rpad_homepage/R-refcard.pdf CRAN version:
2006 Jul 05
2
Colinearity Function in R
Is there a colinearty function implemented in R? I have tried help.search("colinearity") and help.search("collinearity") and have searched for "colinearity" and "collinearity" on http://www.rpad.org/Rpad/Rpad-refcard.pdf but with no success. Many thanks in advance, Peter Lauren.