Displaying 20 results from an estimated 500 matches similar to: "overlapping intervals"
2012 Feb 28
2
ts.plot and x axes customization
Dear List,
I would be pleased if someone can help me with the following issue:
I'm about to plot two time series in one plot via ts.plot which looks like:
ts.plot(series1, series2, main=main, xlab=xlab, ylab=ylab, col=c("green",
"red", "blue"), lwd=2)
The problem is, that R automatically sets the x axes labels in
5-year-intervalls. Every
2008 May 03
2
Stacked bar plot anomaly When column contains a negative and a positive value
Hello users,
I've noticed a problem when creating a stacked column plot when a column
contains a negative and a positive value. e.g.
series1<-c(-1,-2, 3, 4, 5)
series2<-c( 5, -4,-3,-2, 1)
data<-rbind(series1,series2)
barplot(as.matrix(data), beside=FALSE)
In these cases (i.e. first, third and fifth columns) the plotting is not
handled correctly. Compare this output with that
2010 Jul 28
2
Axes=F and plotting dual y axes
Howdy. Been running into a bit of trouble with plotting. Seems that
axes=F is not "working". Whenever I plot (either a dataframe or xts/zoo
series) and I set axes=F along with xlab/ylab="" I still get the default
axes printed in my chart. Consider this:
#Create some sample data, both 50 units of blah
series2 = c(1:50)
series1 = rep(25:74)
testdf1 = as.data.frame(series1)
2010 Jan 27
1
How to sort data.frame
Dear R heleprs
Suppose I have following data
Scenarios
combination_names
series1
series2
Sc1
MAT2 GAU1
7.26554
8.409778
Sc2
MAT2 GAU2
7.438128
8.130275
Sc3
MAT3 GAU1
8.058422
8.06457
Sc4
MAT1 GAU2
8.179855
8.022071
Sc5
MAT3 GAU2
8.184033
8.191831
Sc6
MAT3 GAU2
7.50312
8.232425
Sc7
MAT1 GAU2
7.603291
8.200993
Sc8
MAT1 GAU1
8.221755
8.380097
Sc9
MAT3 GAU2
7.904908
2006 Jun 20
1
weird application of apply again
uugh : i promise that this will be my last question of the day.
i hate to constantly bother this group but it takes me time to get familar with all of these functions, tricks and and manipulations.
i appreciate everyone's patience. i used too splus a lot
but i've gotten rusty.
i have a matrix of say 200 rows and 600 columns.
i have a function "getprofit" that takes two series
2005 Oct 19
1
Plotting more than one series on the same graph
I'm new to R and have searched for help and consulted the the pdf
manuals, but I can't seem to figure out how to plot more than one
series on the same graph.
I've tried using multiple par(new=TRUE) statements such as
>plot(series1, ci.type="line", col="red", lwd=2, ci.lty=0, ci.col="red")
>par(new=TRUE)
>plot(series2, ci.type="line",
2004 Apr 29
1
accessing information in lists
I've created a dataframe containing multiple ACF lists through the command
rev.acf<-apply(rev.matrix, 2, acf, na.action=na.contiguous, lag.max=12, plot=FALSE)
where rev.matrix is an n by t matrix containing n time series in columns. I'd now like to pull out only the ACF information and store it in a seperate n by 12 matrix. So far the only way I can work out to access this is
2006 Mar 17
1
How to change the label in plot.ts ?
Hi you guys:
I have been wondering if there is any way to change the labeling in plot.ts( ), for example , if I plot two sequences,
i always got y labels as "series1", "series2", I tried to use ylab=c((expression(mu_1)),(expression(mu_2))), but it
doesn't work.
thanks in advance for any help
best.
2011 Jul 07
0
Seasonal correlations
I am an R newbie, and I am facing what is for me a challenging problem. I am trying to write functions to solve the following problems. It seems as though R offers so many options I am not sure how to approach the problem.
I have a data frame with dates in the first column and returns in the remaining columns. I would like to give a user a variety of options.
I designate Series1 as the
2009 Jan 10
0
RMySQL CREATE TABLE error
Hi all-
I am stumped. The code in A. returns errors at lines 14 and 15 and fails
to load series1 and series2. However, in B., if temp1 and temp2 are
called again (which returns a "Table exists" error; see lines 14-17 in
B.) series1 and series2 load correctly. Any ideas? Also-I am open to any
suggestions to improve the code as I am a horrific programmer. Thanks
A.
1 >
2010 Oct 29
2
Plotting 2 Lines on the Same Chart
How do I plot two time series plots on the same chart?
Thanks,
Jason
[[alternative HTML version deleted]]
2008 Jul 10
4
Interpolation of data
Hello,
I have the data whcih are not balanced (several missing observations),
and one possibility is t use interpolation method
to get the information missing in this series from other series.
Does anybody know how I can program interpolation of
series1 (which ahs missing observations) and series 2-6,
for example.
Thanks a lot in advance,
Silke
2007 Oct 30
1
long delay when connecting to samba server
Hi all,
I am experiencing a long delay when connecting from a windows machine
to my samba server. All the details of my setup are below. Here are
the characteristics of the problem:
client (windows xp desktop) browses to domain in Network Places.
samba server appears as expected.
double-clicking on the samba server causes a delay of approximately
one minute before share drives are
2012 Dec 13
3
subsetting time series
Hello,
my series of dates look like
[1] "2012-05-30 18:30:00 UTC" "2012-05-30 19:30:00 UTC"
[3] "2012-05-30 20:30:00 UTC" "2012-05-30 21:30:00 UTC"
[5] "2012-05-30 22:30:00 UTC" "2012-05-30 23:30:00 UTC"
[7] "2012-05-31 00:30:00 UTC" "2012-05-31 01:30:00 UTC"
[9] "2012-05-31 02:30:00 UTC"
2004 Dec 30
1
t-test pvalue
Hi all,
I have some t-test values, and I am trying to obtain the associated p-values.
Is 'pt' the right command? I wonder why 1) it returns different values for
x and -x, and 2) how to obtain a 2-sided p-value.
example [R version 2.0.1, WinXP]:
#if t=2.23 (df=10), the expected p-value is 0.05 for 2-sided and 0.025 for
1-sided t-test
pt (2.23,10)
[1] 0.9750788
pt (-2.23,10) #or pt
2010 Jun 28
0
Forecast Package in R: auto.arima function
Hey,
I have a few doubts with regard to the usage of the auto.arima function from
the forecast package in R.
*Background:*
I have a set of about 50 time-series for which I would like to estimate the
best autroregressive model. (I want to estimate the coefficients and order
of p). Each of the series is non-stationary and are also have a non-normal
distribution. The data is non-seasonal.
My
2004 Aug 06
2
Icecast2 and TiVo
Hey guys,
As some of you may or may not know, TiVo recently came out with an optional
software package for their Series2 TiVo units. They call it "Home Media
Option" and, among other things, it lets you play mp3s on your TiVo.
So, some clever folks figure out that if you fed your TiVo and m3u playlist
that pointed to an Internet stream, it would play that stream for you. Very
2005 Sep 22
0
Multiple SIP Phone Calls Overlapping on the Same Phone
I have another freaky situation that is occuring. I am getting
overlapping phone calls on the same phone.
Basically when a user hits the hook fast enough, the current SIP phone
call connection does not get killed by the Asterisk server while a
second SIP connection gets created giving the user overlapping calls.
The way to reproduce this is by hitting the hook fast and furious. The
telltale sign
2006 Mar 03
0
Overlapping clusters: ADCLUS etc.
Dear list,
is anybody aware of R implementations of the overlapping clustering methods
by Arabie and Carroll (ADCLUS, MAPCLUS and INDCLUS)?
I found around only their Fortran implementation of the MAPCLUS model, which
comes practically without any documentation. Alternatively, has anybody
used this Fortran program, and is willing to share some knowledge about its
use?
Thank you,
Bruno
how to count the total number of (INCLUDING overlapping) occurrences of a substring within a string?
2009 Dec 20
1
how to count the total number of (INCLUDING overlapping) occurrences of a substring within a string?
Last one for you guys:
The command:
length(gregexpr('cus','hocus pocus')[[1]])
[1] 2
returns the number of times the substring 'cus' appears in 'hocus pocus'
(which is two)
It's returning the number of **disjoint** matches. So:
length(gregexpr('aa','aaa')[[1]])
[1] 1
returns 1.
**What I want to do:**
I'm looking for a way to count