Displaying 20 results from an estimated 30000 matches similar to: "generating sequences with gaps"
2006 Jun 27
2
distribution of daily rainfall values in binned categories
Hi,
I'm a newbie in using R and I would like to have a few
clues as to how I could compute and plot a
distribution of daily rainfall intensity in different
categories. I have daily values (mm/day) for several
years and I need to show the frequency of 0-1, 1-2.5,
2.5-5, 5-10, 10-20, 20+ mm/day. Can this be done
easily?
Thanks,
Etienne
2006 Dec 07
2
barplot - how to force vertical axis to cover entire plot area
I'm using barplot with the following call:
barplot(stat_data[[5]][,],axes=TRUE,axisnames=TRUE,axis.lty=1,xlab=xlab,ylab=ylab,beside=TRUE,las=1,font.lab=2,font.axis=1,legend.text=TRUE)
On some data, the vertical axis does not cover the
whole plot area and the last tick mark is smaller than
the maximum value.
I tried setting the ylim values but even with that,
some plots are still not OK,
2011 Feb 24
1
Gaps in plotting temporal data.
I'm trying to plot some temporal data that have some gaps in them. You
can see the plot here: http://www.tiikoni.com/tis/view/?id=da222e2.
The problem is that during the time gaps in the TS the line plot is
interpolated over the gap and I don't want it to. I've tried
interleaving the gaps with an NA flag, but there are around 10000
data-points sorted from multiple files, that makes it
2012 Jul 02
2
using "na.locf" from package zoo to fill NA gaps
Hi everybody,
I have a small question about the function "na.locf" from the package "zoo".
I saw in the help that this function is able to fill NA gaps with the last
value before the NA gap (or with the next value).
But it is possible to fill my NA gaps according to the last AND the next
value at the same time?
Actually, I want R to fill my gaps with the method of
2012 Apr 03
3
filling small gaps of N/A
Hi everybody,
I'm a new R french user. Sorry if my english is not perfect. Hope you'll
understand my problem ;)
I have to work on temperature data (35000 lines in one file) containing some
missing data (N/A). Sometimes I have only 2 or 3 N/A following each other,
but I have also sometimes 100 or 200 N/A following each other. Here's an
example of my data, when I have only small gaps
2012 Oct 18
1
filling NA gaps according to previous data mean and following data mean
Hi everybody,
I have a little problem about filling some gaps of NAs in my data.
These gaps are between nearly constant data (temperature under snow). Here's
a fake example to illustrate how it looks like approximately:
DF <-
data.frame(data=c(-0.51,-0.51,-0.48,-0.6,-0.54,-0.38,-0.6,-0.42,NA,NA,NA,NA,NA,NA,NA,
-0.25,-0.41,-0.5,-0.5,-0.35,-0.7,-1,-0.87))
I would like to replace my NAs
2014 Sep 30
6
[Bug 84515] New: [NV96] HDMI audio works, but has audio gaps or pauses
https://bugs.freedesktop.org/show_bug.cgi?id=84515
Priority: medium
Bug ID: 84515
Assignee: nouveau at lists.freedesktop.org
Summary: [NV96] HDMI audio works, but has audio gaps or pauses
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: ppaalanen
2009 Jul 21
1
is a sequence of dates consecutive, without gaps?
I have a long sequence of dates, about 6 years worth, as one column in a
data frame. How can I test whether the sequence is consecutive, that is,
without gaps?
Thanks.
--Chris
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
40 Arch Street, Johnson City, NY 13790
cryanatbinghamtondotedu
"If you want to build a ship, don't drum up the men to
2008 Sep 03
1
ggplot2: line plot with gaps in time axis
Hello, I'm trying to plot data that has gaps in the timeline because my data
only has the business day in it. When I do a line plot I get the data and
then a blank area where a line goes the tail of the last data point to the
head of the next data point. Is there a way I can do a line plot where the
gaps are not plotted?
Thanks in advance,
Brian
> names(utildf)
[1]
2007 Jun 25
2
changing the position of the y label (ylab)
How can I change the position of the ylab, after
enlarging the margins with par(mar=...)?
Here is the relevant code snippet
----
par(mar=c(5.1,5.1,4.1,2.1))
plot(c(1979,2003),c(40,50),ylim=c(1,73),lab=c(20,10,1),pch=21,col='blue',bg='blue',axes=FALSE,xlab="Years",ylab="Onset/Withdrawl
Date",font.lab=2)
box()
axis(1,las=2)
2010 Dec 16
2
moving average with gaps in time series
I have a time series with interval of 2.5 minutes, or 24 observations per
hour. I am trying to find a 1 hr moving average, looking backward, so
that moving average at n = mean(n-23 : n)
The time series has about 1.5 million rows, with occasional gaps due to
poor data quality. I only want to take a 1 hour moving average for those
periods that are complete, i.e. have 24 observations in the
2010 Oct 13
1
Data Gaps
R community,
I am trying to write a code that fills in data gaps in a time series. I
have no R or statistics background at all but the use of R is proving to be
a large portion of my PhD research.
So far my code identifies where and the number of new entries required but I
do not know how to add additional rows or columns into an array. Any advice
on how this can be done?
Here is an example:
2011 Jul 26
1
intraday plot and gaps in data
Hi,
I have an intraday timeseries of financial data (see below) which has gaps
due to market opening and closing hours. I am trying to plot it, but the
time gap is always visible in the plot. I tried converting data to xts, zoo,
timeSeries and plotting it with different functions i.e. plot.xts, plot.zoo.
The only way to make it work was with function 'chartSeries' in the quantmod
package
2012 Jun 10
1
Gaps on merging xts objects
Looking for a little help figuring out what's driving gaps in data after
merging two xts objects (msci.m and x2). The merge statement I'm using is
... y <-merge(x2,msci.m, all=FALSE). Here's info on the output , y:
head(y)
t-bill msci
Sep 1985 7.310 316.963
Mar 1986 6.560 463.471
Jun 1986 6.180 498.791
Jul 1987 6.200 778.898
Aug 1987 6.400 833.519
Nov 1987
2010 Mar 15
2
gaps in time series
hello *, im new to the list (and R in general), i have a problem that
im hoping someone can help me solve. i have data that i want to turn
into a time series per day,
ex.
2010-03-01 9
2010-03-03 17
2010-03-04 2
2010-03-05 9
2010-03-07 3
is there an easy way to fill in the gaps for the missing days?
thx much
--joe
2010 Oct 26
1
Time series data with dropouts/gaps
I have time-series data from a pair of inexpensive self-logging 3-axis accelerometers (http://www.gcdataconcepts.com/xlr8r-1.html). Since I'm not sure of the vibration/shock spectrum I'm measuring, for my initial sensor characterization run the units were mounted together with the sample rate set to the maximum of 640 samples/sec.
Unfortunately, at this sample rate there are significant
2008 Aug 02
2
Gaps in time series.
I like the fact that in subtracting two time series objects that there is some effort to align the series. So if I have a time series of that begins at 1 and one that begins at 2 a subtraction operation makes sure that the proper values are subtracted. But I am unclear as to the best way to build a time series with "holes". say that I have data for "day" 1,2,6,7 in one time
2009 Jun 10
3
Extracting Sequence Data from a Vector
Thanks in advance.
I have a vector of numbers which contain sections that are sequences
which increase by a value of 1 followed by a gap in the data and then
another sequence occurs, etc:
x<-c(1:3, 6: 7, 10:13)
From the vector I need to extract 2 items of information A) the first
number in the sequence (e.g., 1, 6, 10) and B) how many observations
were in each sequence section (e.g., 3,
2006 Aug 04
2
Generating RTF documents?
Hi,
I need to implement some RTF export for a customer. According to some
"templates", i generate RTF documents, filling data coming from models.
It''s pretty much like a mailmerge, but in *nix/ruby world.
Also, customer would like (in the future) to upload himself the
templates, so he can modify them by his own.
Can anyone advice me on an elegant solution?
Thank you,
2009 Aug 27
1
generating multiple sequences in subsets of data
I'm running into a problem I can't seem to find a solution for. I'm
attempting to add sequences into an existing data set based on subsets
of the data. I've done this using a for loop with a small subset of
data, but attempting the same process using real data (200k rows) is
taking way too long.
Here is some sample data and my ultimate goal
>