Displaying 20 results from an estimated 4000 matches similar to: "Identifying time series"
2007 Dec 18
6
All anchored series from a vector?
>From: Johannes Graumann <johannes_graumann at web.de>
>Date: 2007/12/18 Tue PM 04:40:37 CST
>To: r-help at stat.math.ethz.ch
>Subject: [R] All anchored series from a vector?
lapply(1:length(myvector) function(.length) {
c(myvector[1}:myvector[.length])
})
but test it because i didn't.
>Hi all,
>
>What may be a smart, efficient way to get the following result:
2009 Jan 11
1
calibrate function
Hi all,
I have a question on the package « survey”
I have some difficulties to use the function ‘calibrate’. Although it works
well with one single factor variable, I cannot use it for 2 and get the
message
“Erreur dans regcalibrate.survey.design2(design, formula, population,
aggregate.stage = aggregate.stage, : Population and sample totals are not
the same length.”
Here is the format
2010 Oct 19
4
Chron object in time series plot
Dear R users, I have the following script to create bins of specified time
intervals
bin_end=60/bin_size
bin_size=bin_size*100
h=seq(070000,180000,by=10000)
breaks=c()
for (i in h)
{
for (j in 0:(bin_end-1))
{
value=i+(bin_size)*j
breaks=append(breaks,value)
}
}
I would like to plot then using the time as x-axis. I tried the following
prova=zoo(myseries,times(breaks))
but of
2001 Jun 11
2
Generalized Additive Model
Hello,
I am wondering if someone can direct me to the syntax of the Generalised
Additive Model in R? In Splus this is gam(formula, ... inputs would be
pretty much the same as glm I suspect..)
Any response on that (or what package should I grap) would be appreciated
very much.
Thanks,
Peppy Adi-Purnomo
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2011 Jun 03
4
Notes on R Objects
Hi all,
Is there any way to add notes or comments to R objects? It can be hard for
me to come up with a descriptive name that encapsulates all the differences
between data sets, so it would be very helpful if I could add a note which
described the object. I didn't find anything like this in the R docs.
Regards,
Matt
[[alternative HTML version deleted]]
2012 Mar 09
1
Whether the THREAD command support cross-mailbox thread?
In the real world, the mails which belongs to one thread could be dispersed
in different mailbox, at least Inbox and SENT, so whether the command can
search different mailboxes and grap them in one talk with dovecot?
If Not, any other approach to do that?
BTW, what the THREAD=REFS stands for? In the RFC,
http://tools.ietf.org/html/rfc5256, i didn't find this algorithm.
2007 Oct 24
1
X Axis labeling with class zoo
I'm using zoo to plot multiple data series, however, I am having
trouble adjusting the x-axis labeling on a multiple series plot. For
example, if I create a zoo
object that consists of a date series and a numerical series and then
plot it, I can adjust the x axis labeling using
axis.Date(1, at=seq(as.Date("1984/01/31"), as.Date("2005/10/31"),
by="2
2003 Jun 10
5
Calling for 5.1 Mastering experience! (vorbis ambisonics and 5.1)
I've been doing a fair amount of work with Vorbis support for Ambisonics,
which seems to be going along nicely. It seems that there is signifant
interest in coding 5.1 material with Vorbis esp as tarkin becomes more
complete, so I've decided to take a break from pure ambisonic work to look
into this.
I've decided that the best (from a pure elegance and patent avoidance) way
to handle
2003 Jun 10
5
Calling for 5.1 Mastering experience! (vorbis ambisonics and 5.1)
I've been doing a fair amount of work with Vorbis support for Ambisonics,
which seems to be going along nicely. It seems that there is signifant
interest in coding 5.1 material with Vorbis esp as tarkin becomes more
complete, so I've decided to take a break from pure ambisonic work to look
into this.
I've decided that the best (from a pure elegance and patent avoidance) way
to handle
2011 Apr 01
4
Rexcel path problem
Hi,
I am running a test to call an R script with in excel using VBA. My VBA
code is shown bellow. The middle section of this mail also includes the
content of my Rscript. The bottom part shows the error message form the
R console.
It seems that Excel is opening the R console without any problems.
The problem I am seeing is that Rinterface.RRun instruction is
interpreting the "\T"
2010 Feb 09
3
subset in a matrix
Hi,
I have a matrix of data values like the example bellow. I would like to
extract a subset of the matrix for the values where the first column is
negative. I am using the subset function. However, I am getting an error
message that the conditional variable doe snot exist. For some reason, the
subset operation only works if I transform the matrix to a data set using
as.data.set(). The help
2011 Jan 06
0
[LLVMdev] Identify Loops from within FunctionPass, or possible to intermix different types of Passes?
On Jan 6, 2011, at 9:21 AM, Chuck Zhao wrote:
> LLVMers,
>
> I have a traversal plan which needs to visit certain types of Functions. For each instruction in such functions, I will need to know:
> 1. is it located inside a loop
> 2. if yes, what level of loop nest it is currently in.
>
> So on the highest level, it should be a FunctionPass. However, in order to identify
2011 Jan 06
2
[LLVMdev] Identify Loops from within FunctionPass, or possible to intermix different types of Passes?
LLVMers,
I have a traversal plan which needs to visit certain types of Functions.
For each instruction in such functions, I will need to know:
1. is it located inside a loop
2. if yes, what level of loop nest it is currently in.
So on the highest level, it should be a FunctionPass. However, in order
to identify loops and loop-nest levels, it should also be a LoopPass.
Is there a reasonably
2003 Jun 19
1
Import time series data with uneven dates
I am trying to import a file of daily index closing prices in business time
which excludes weekends and holidays so deltat is not constant. My file
looks like the following:
date close
2003.0055 47.05
2003.0082 45.71
2003.0164 43.45
2003.0192 42.96
2003.0219 44.56
2003.0247 42.99
2003.0274 42.28
2003.0356 41.74
etc.
>From what I saw in the EuStockMarkets file, it appears
2009 Nov 02
1
AR Simulation with non-normal innovations - Correct
Dear Users,
I would like to simulate an AR(1) (y_t=ct1+y_t-1+e_t) model in R where the innovations are supposed to follow a t-GARCH(1,1) proccess.
By t-GARCH I want to mean that:
e_t=n_t*sqrt(h_t) and
h_t=ct2+a*(e_t)^2+b*h_t-1.
where n_t is a random variable with t-Student distribution.
If someone could give some guidelines, I can going developing the model.
I did it in matlab, but the loops
2010 Jul 13
2
SAS Proc summary/means as a R function
Hi,
I am new to R.
I am trying to create an R function to do a SAS proc means/summary
proc.means ( data=bsebal;
class team year;
var ab h;
output out=BseBalAvg mean=;
run;)
I have a solution if I quote the the argument. The working code to produce
BseBalAvg
is very elegant.
normalize <- melt(bsebal,
2010 Sep 16
1
IP address
Hi,
We have some tight controls in our systems and I am having difficulty
downloading/upgrading R packages. The IT department will configure our
system to let me download packages from two or three R depositories.
How do I find out what the IP address of the R depositories are so that
I can select a few? The IT department needs to know the IP addresses.
Thanks,
Jorge Nieves
[[alternative
2011 Apr 11
1
Edate and EOmonth
Hi,
I was wondering if anyone could point me to the excel look alike "Edate"
and "eomonth" functions in R. I have found the "timeLastDayInMonth" and
"timeFirstDayInMonth" in the "timeDate" package. However, I am looking
for a bit more flexibility. I would like to be able to obtain dates and
EOM dates "n" months prior/forward to the
2011 Mar 09
1
Regular Expressions in Column Headings
Hi all,
I am hoping that someone can help me with a problem I am having with column
headings. I have read a table into R using read.table: the rows are
documents, and the columns are counts of regular expression matches (so that
the column heading is the given regular expression). My problem is that
read.table seems to be trying to interpret the regular expressions, or has
trouble with the
2006 May 08
1
Help on zoo and datetime series
Hello,
i would like to import this txt file:
Giorno;PM10
2006-01-01 10:10;10.3
2006-02-02 20:22;50.3
2006-03-03 23:33;20.1
.........
As it's an irregular time series i use zoo as follow:
require(zoo)
z <- read.table("c:\\1.csv", sep=";", na.strings="-999", header=TRUE)
q <- zoo(z$PM10, strptime(as.character(z$Giorno),"%Y-%m-%d %H:%M"))
At this