Displaying 20 results from an estimated 3000 matches similar to: "error in seq.POSIXt?"
2008 Jul 28
2
Help with a loop
HI:
I need ideas on how to make this code shorter (maybe with a second loop?).
The code as it is works, but in this case I only have 14 samples, but it
will become insane with more, so I need a way to make it more automatic. The
problem is that the output from ts1, ts2, and so on is a vector with more
than one value, so I do not know how to solve this.
Thanks
Prenewbie
The code is the
2008 May 25
1
n Realizations of a Stochastic Process assigned to dynamically generated variable names?
I am interested in creating multiple (say 1000) time series, from a
given stochastic process, of length 250. I want to refer to each
realization with its own variable name, of the format say, tsn, where
n is the n'th simulation. i.e. ts1, ts2, ts3, ts4, .... , ts1000
The way I am thinking of doing this is placing the following code
within another loop, and the 'tsn' assignment should
2023 Feb 28
1
vector a partir de los valores de una tabla
Muy buenas, necesito crear un vector a partir de los valores de una tabla
como la de abajo. Debe ser algo muy fácil pero no lo encuentro en la web.
Gracias,
Manuel
246, 345, 401, 131,125, 69 a partir de:
TS1 TS2 TS3 TS4 TS5 TS6
246 345 401 131 125 69
[[alternative HTML version deleted]]
2011 Sep 22
2
Subsetting a zooreg object using window / subset
Dear R users,
I am currently working in subsetting a zooreg() object using either window or subset. I have a solution but it may be a bit cumbersome when I start working with actual data. Your inputs would be greatly appreciated.
Example: I have a zooreg() object that starts in 1997 and ends in 2001. This object contains daily data for the 4 years
2005 Oct 31
1
how to optimise cross-correlation plot to study time lag between time-series?
Dear R-help,
How could a cross-correlation plot be optimized such that the relationship
between seasonal time-series can be studied?
We are working with strong seasonal time-series and derived a
cross-correlation plot to study the relationship between time-series. The
seasonal variation however strongly influences the cross-correlation plot
and the plot seems to be ?rather? symmetrical (max
2005 Nov 15
2
Subtracting timeseries objects
Sorry to keep posting but I want to do this right and I'm hoping for
some pointers
I now have two time series objects which I need to subtract.
Unfortunatly the two series dont have the same sample rates.
When I try to subtract them
avgSub<-avg1-avg2
The time series object is clever enough to object.
So I guess I need to write a function for subtraction of the time series
objects which
2006 Jul 13
2
having a problem with acts_as_state_machine
Hi all:
Below is s a dump from script/console in development env.
Am I not supposed to be able to find the record later and use the
state machine functionality, or have I missed something? Thanks
Forrest
----------------------------
>> ts2 = TalkSession.create( :person_id => 2, :pattern_id => 2)
=> #<TalkSession:0x35811f0 @attributes={"pattern_id"=>2,
2008 Mar 31
1
concatenating two successive time series
Dear Helpers,
I am looking for methods and tools to compare and then to concatenate
two successive time series. They are both in the same frequency and they
describe one phenomena. There is no time gap between them. The problem
is that the method of measurements has changed between both time series
and they are no statistically the same. I would like to merge them to
receive one homogeneous
2007 Jul 13
1
correlation matrix difference
Hi, I have got four correlation matrix. They are the same set of variables
under different conditions. Is there a way to test whether the correlation
matrix are significently different among each other? Could
anyone give me some advice?
--
View this message in context: http://www.nabble.com/correlation-matrix-difference-tf4073868.html#a11578046
Sent from the R help mailing list archive at
2004 Sep 07
6
Syntax for address range
I would like to add a rule allowing only the address 192.168.150.20 and the
range of addresses from 192.169.150.100 to 192.168.150.150 in zone dmz0 to
connect to two terminal servers in the local zone.
Is there a syntax that can specify a range of addresses in the rules file? Do
I have to enter each one separately?
--
Stephen Carville
Unix and Network Adminstrator
DPSI
6033 W.Century Blvd.
2013 Aug 29
1
Calculation with Times Series
HI,
May be this helps:
?ts1<- ts(1:20)
?ts2<- ts(1:25)
ts1[-(1:3)]<- ts1[-(1:3)]+ts2[1:17]
?as.numeric(ts1)
# [1]? 1? 2? 3? 5? 7? 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37
A.K.
Hey everyone,
I`m an absolut beginner in R and need some help for an exercise:
I want to do ordinary calculations with 2 time series. The issue
with this, that I want to use different elements of time
2007 Aug 23
1
Estimate Intercept in ARIMA model
Hi, All,
This is my program
ts1.sim <- arima.sim(list(order = c(1,1,0), ar = c(0.7)), n = 200)
ts2.sim <- arima.sim(list(order = c(1,1,0), ar = c(0.5)), n = 200)
tdata<-ts(c(ts1.sim[-1],ts2.sim[-1]))
tre<-c(rep(0,200),rep(1,200))
gender<-rbinom(400,1,.5)
x<-matrix(0,2,400)
x[1,]<-tre
x[2,]<-gender
fit <- arima(tdata, c(1, 1, 0), method = "CSS",xreg=t(x))
2018 Mar 16
1
Help on multi-line plot
Hello R-Users
I am struggling with this line plot, it might be simple but I am missing
something here.
First of all I want to make multiple line plots across seasons
(DJF,MAM,JJA,SON) for 12 variables (here, called nodes) and fill them with
the node.
So that season=x-axis, node=line col and freq=y-axis.
My plot currently links all DJFs, MAMs, JJAs and SONs, however I will like
them to be
2005 Apr 13
2
Combine univariate time series
Hallo everyone
I have two univariate time series (class ts) describing the same variable. They have the same resolution, but span different periods in time with a big gap in between. I need to append one to the other such that they are one object, with the gap filled with NAs. The method ts.union produces a multivariate time series where the time axis is correct, but the individual time series
2009 Nov 17
1
How to plot an image in R
Dear all
Im new in R
I have a necdf data set that I want to plot :
this is my data set
[1] "file Tmax.DJF.daily.1981_1999.echama2.nc has 4 dimensions:"
[1] "longitude Size: 127"
[1] "latitude Size: 110"
[1] "ht Size: 1"
[1] "t Size: 1680"
[1] "------------------------"
[1] "file Tmax.DJF.daily.1981_1999.echama2.nc has 1
2005 Jan 06
1
GLMM and crossed effects
Hi again. Perhaps a simple question this time....
I am analysing data with a dependent variable of insect counts, a fixed
effect of site and two random effects, day, which is the same set of 10
days for each site, and then transect, which is nested within site (5
each).
I am trying to fit the cross classified model using GLMM in lme4. I
have, for potential use, created a second coding
2007 Mar 23
2
concatenate 2 data.frames
Dear all,
I would like to know how can I concatenate 2 data.frames into a single one. Both data frames have the same number of columns and the same class type in each correspondent column. So what I want is to have a new data.frame where I have first the values from one data.frame and then the values from a second data.frame would came after in this new data.frame.
Thanks in advance.
Med
2009 Dec 20
1
Problem with sequence in loop
Hi all,
I've got a list of files from 1914 to 2000. For each file, I can call the read.table function as follows.
> file <- read.table("1914.txt")
But I want to make a script so that at the end of the loop, the script selects the file 1915.txt, 1916.txt and so on.
I've used seq() to create the increment
seq <- paste(seq(1914, 2006, by=1), "*.txt.h",
2005 Apr 28
2
ips and netbios name on the logs
Hi people, does someone know how to only log the name of the machine and
not the name of the machine AND the ip? Let me explain this:
-rw-r--r-- 1 root root 0 Apr 28 02:47 0.0.0.0.log
-rw-r--r-- 1 root root 0 Apr 28 02:49 10.3.0.10.log
-rw-r--r-- 1 root root 0 Apr 28 02:47 10.3.0.21.log
-rw-r--r-- 1 root root 0 Apr 28 02:46 10.3.0.22.log
-rw-r--r-- 1 root root 0 Apr 28 02:48
2011 Aug 14
2
Central limit theorem
my data looks like this:
PM10 Ref UZ JZ WT RH FT WR
1 10.973195 4.338874 nein Winter Dienstag ja nein West
2 6.381684 2.250446 nein Sommer Sonntag nein ja Süd
3 62.586512 66.304869 ja Sommer Sonntag nein nein Ost
4 5.590101 8.526152 ja Sommer Donnerstag nein nein Nord
5 30.925054 16.073091 nein Winter Sonntag nein nein Ost
6