Displaying 20 results from an estimated 49 matches for "ts1".
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 following:
duration<-c(750, 8940,17180, 8693,10100, 7990,24820, 6770,
7390,8450,18400,16252,6080,11030)
tmax<-0
dt<-0
for (m in 1:14)
{
tmax[m]<-dura...
2005 Jun 16
1
Sweave and sideways
...ackage
Package textcomp Info: Sub-encoding information:
(textcomp) 5 = only ISO-Adobe without \textcurrency
(textcomp) 4 = 5 + \texteuro
(textcomp) 3 = 4 + \textohm
(textcomp) 2 = 3 + \textestimated + \textcurrency
(textcomp) 1 = TS1 - \textcircled - \t
(textcomp) 0 = TS1 (full)
(textcomp) Font families with sub-encoding setting implement
(textcomp) only a restricted character set as indicated.
(textcomp) Family '?' is the default used for unknown fonts.
(textcomp)...
2007 Oct 22
3
strsplit
Hello R Gurus:
I would like to take a character string and split at the $ sign.
I thought that strsplit would do it, but here are the results:
> vv
[1] "whine$ts1"
> vv
[1] "whine$ts1"
> strsplit(vv,"$")
[[1]]
[1] "whine$ts1"
Does anyone have any suggestions, please?
Thanks,
Edna Bell
2005 Oct 31
1
how to optimise cross-correlation plot to study time lag between time-series?
...relation
coefficient occurs at lag 0). We would like to visualize the deviation from
the symmetrical shape such that the relationship between these two time
series can be studied. How can the symmetry be investigated by using a
cross-corr. plot (ccf())?
We tried the following:
cross <- ccf(TS1, int.TS2, main= "")
# produce the standard shape by correlating TS1 with TS1
test <- ccf(TS1, TS1)
# add the standard shape on the cross-correlation plot of TS1 with TS2
plot(cross)
par(new = T)
plot(test$lag, test$acf, axes=F, xlab="", ylab=&qu...
2004 Dec 13
2
read attribute
How can I get a single attribute value of an object ?
I jhave the tiemSeries object
> ts1
Open
2003-10-09 02:00:00 1.27
2003-10-10 02:00:00 1.25
2003-10-13 02:00:00 1.27
2003-10-14 02:00:00 1.29
When I unclass ts1 I get:
> unclass(ts1)
list()
attr(,"Data")
Open
2003-10-09 02:00:00 1.27
2003-10-10 02:00:00 1.25
2003-10-13 02:00:00 1.2...
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 seri...
2013 Aug 06
1
Error in building pdf manual with Rtools
...xi2dvi.exe"
--pdf "Rd2.tex" -I "C:/PROGRA~1/R/R-30~1.1PA/share/texmf/tex/latex" -I "C:/PROG
RA~1/R/R-30~1.1PA/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed
LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ts1-zi4r): Font ts1-zi4r at 540 not found
==> Fatal error occurred, no output PDF file produced!
Error in running tools::texi2pdf()
The MiKTeX I use is 2.9 and apparently it has no problem in building files with the inconsolata-zi4 packages, since there is the ts1-zi4r.tfm file.
Any help wit...
2008 Mar 31
1
concatenating two successive time series
...y 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 time series.
Here is an example of time series ts1 (1982-1999) and ts2 (2000-2006).
Zeros are NA's.
> ts1 <- structure(c(100, 48, 31, 10, 16, 25, 56, 81, 51, 45, 73, 112,
103, 60, 30, 21, 10, 26, 60, 55, 40, 46, 78, 125, 55, 21, 22,
11, 13, 20, 38, 25, 17, 27, 49, 68, 40, 29, 44, 10, 21, 28, 58,
71, 50, 68, 88, 38, 71, 37, 51, 11, 30, 3...
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
2003 Feb 10
1
Duplicate name error when joining XP to Samba domain
...cure channel data
and Domain member: Digitally sign secure channel data (when possible)
- Turned off NT4 PDC (workgroup = GLASS)
- Tried workgroup = GW (just in case GLASS and GLASSWORLD perceived to be the
same domain)
Portion of my smb.conf:
[global]
workgroup = GLASSWORLD
netbios name = TS1
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 5000
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program...
2003 Jan 28
2
Error from StructTS
Hi,
I used function StructTS some time ago to fit a structural model to a time
series.
Now with R 1.6.2-1 I repeated the analysis with the same series and I get the
following error:
Error in KalmanLike2(y, Z, -1) : invalid argument type
I tried with other series and I get the same error; I checked the examples in
the documentation and they work fine. I suspect I am missing something
2005 Apr 26
1
Time alignment of time series
One thing that has given me trouble is the fact that the time series
implementation in the class ts relies on the concept of a "start" to
the time series. For example, if I have
ts1 <- ts(c(1,2,3))
dts1 <- diff(ts1)
then dts1 will be a vector c(1,1) but with the attribute start = 2.
Similarly, when one takes lags the "start" is moved around and the
underlying vector itself is left untouched.
Now, data frames seem to be able to deal with this. That is, if I...
2010 Nov 05
1
prob with legend in my plots!
...plots. If I specify the legend positions in characters like "topright"..etc, it appears, if i specify it in terms of coordinates like "-1, 1" .. etc, it does not appear. Can anyone help me with this?
script -
x.date <- as.Date(paste(year, month, day, sep="-"))
ts1.n.e3 <- ts(data.nemr.e3[,3])
z1.n.e3 <- zoo(ts1.n.e3, x.date)
plot(z1.n.e3, ylim = c(min(data.nemr.e3[,3]), max(data.nemr.e3[,5])), col="orange",
main = "Monthly variations of SST in El-Nino3", xlab = "Year", ylab="SST (deg C)")
lines(z2.n.e3, lty = 2,...
2014 Jun 30
1
Time series
Hi There!
I have a time series data for 13 years with freqency of 23 per year. I have
plot the curve on R.
Is it possible to refer to the point inbetween the nodes...
eg. say the time series ts1 has ts1[1] 0.25 and ts1[2]=0.4. is it possible
to get the time when ts1 reach to 0.3??
--
View this message in context: http://r.789695.n4.nabble.com/Time-series-tp4693234.html
Sent from the R help mailing list archive at Nabble.com.
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 <...
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 happen as ts1 and
so on, the n being taken from the iteration of the outer loop.
However, crucially, I don't know how/whether I can creat...
2010 Mar 24
1
isdst warning when rounding a range of time data: fix or suppress?
Hi, I'm working with timeseries data. The values are every 5 seconds and each series can last up to 4-5 days.
To generate the x-axis labels, I'm doing the following:
=========================
# Variable for displaying hours on the x-axis
rtime <<- as.POSIXct(round(range(timedata), "hours"))
# Variable for displaying days on the x-axis
stime <<-
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.
2017 Jun 13
0
pdbedit -x -m fails to delete one machine account on samba 4.6.5 install
...EDT
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
When I try to delete it...
# pdbedit -x -m ts
Unable to delete machine ts$
I can create a different machine account, and delete that..
# pdbedit -a -m ts1
Unix username: ts1$
NT username:
Account Flags: [W ]
User SID: S-1-5-21-2594621239-3917873753-3682423317-3360
Primary Group SID: S-1-5-21-2594621239-3917873753-3682423317-515
Full Name:
Home Directory:
HomeDir Drive: (null)
Logon Script:
Profile Path:
Domain:
Account d...