Displaying 20 results from an estimated 2505 matches for "gaps".
Did you mean:
aps
2008 Jul 26
1
issues with gap.plot function
Dear all:
I have the following codes:
Xdata<-c(2,3,8,9,10)
Ydata<-1:5
gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="o")
However, the type='o' seems only work on the first part of gap plot, the second half of the plot always just points, you can not add lines on that part, any help will be highly appreciated. I would like to have these two parts of
2013 Jan 13
1
Extract data in word pad
Dear r-users,
I have saved data in word pad. I would like to extract certain part of data only, for example
19710629 080000(PARTIAL) 39.3 at interval beginning 19701126 010326
19720629 080000(PARTIAL) 33.8 at interval beginning 19720517 144507
19730629 080000(PARTIAL) 32.2 at interval beginning 19720910 135747
and so on...
The original data set are given below:
2011 Apr 04
2
gap.barplot doesn't support data arrays?
I am trying to make a barplot with a broken axis using gap.barplot (in the
indispensable plotrix package). This works well when the data is a vector:
> twogrp<-c(rnorm(10)+4,rnorm(10)+20)
> gap.barplot(twogrp,gap=c(8,16),xlab="Index",ytics=c(3,6,17,20),ylab="Group
values",main="Barplot with gap")
But when the data is an array (for a bar plot with multiple
2008 Aug 12
1
gap.plot() and axes=F
Hello!
Using the package Plotrix I want to do a plot with a broken axis.
So far it's working fine but now I want only the x and y axis plotted
(the x-axis with a gap in it), but not the axes that are reffered to as
axis 3 and 4, and not the lines that additionally mark the gap in the axis.
I thought an 'axes=F' in the gap.plot() command would do (as in the
usual plot()), but it does
2011 Jun 30
0
[LLVMdev] specint 2000 with llvm as test-suite
Hi,
Does anyone know how to fix the following error? I am compiling 254.gap as a
part of test-suite with the following command
in llvm-2.9/obj/projects/test-suite/External/SPEC/CINT2000.
make -C 254.gap
/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/../../../projects/test-suite/RunToolSafely.sh
500 /home/dskhudia/tmp/llvm-2.9/obj/Release/bin/opt -std-compile-opts
2013 Jan 11
2
Extract data
Dear R users,
I just join this forum a few minutes ago. My friend recommend this forum to me.
I have data in excel csv. My problem is I would like to extract some number, for example as highlighted below;
Year Ending Maximum Value (Rain mm)
Gap from 19710509 090000 to 19710607 080000 of 28.96 Days
19710629 080000(PARTIAL) 39.3 at interval beginning 19701126 010326
Gap from
2008 Jun 25
3
gap.boxplot error message?
Hello,
When I put in the following script line:
gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,280000), bottom=c(0,250)), range=50, outline=TRUE, par(ask=FALSE)
I get a '+' telling me I am missing something. I have tried adding ')', 'width=NULL', etc and then I get this error:
Error: unexpected symbol in:
"gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7,
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 "na.locf" only if the
last value before the gap and the next value after t...
2010 Nov 18
1
Help with lmer, nested data and repeated measures
Dear all,
I'm discovering the somehow confusing (for me) world of linear mixed models after having been advised it could be the best option to analyze my dataset. After several days of reading, I'm not sure that what I ended up with makes some sense and I'd greatly appreciate any help and explanations.
The dataset has been obtained as follows. In 15 different locations, I counted
2010 Sep 09
4
Axis break with gap.plot()
Hi everyone.
I'm trying to break the y axis on a plot. For instance, I have 2 series
(points and a loess). Since the loess is a "continuous" set of points, it
passes in the break section. However, with gap.plot I cant plot the loess
because of this (I got the message "some values of y will not be
displayed").
Here's my code:
library(plotrix);
#generate some data
x
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 so...
2008 Jul 25
3
Bug in gap.plot
Hi, all
I am trying to make a plot with a axis break and I want the whole plot
to be line, not points. However, when I execute the following command
half of the graph is points and the other lines.
gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="l")
I think it might be a bug in plotrix. I would greatly appreciate your
input. If there is another way to do it, I
2006 Jul 19
2
Plotting lines and points on the second plot when using gap.plot in plotrix
Hi
My question is simple - the gap.plot function in the plotrix package
allows users to draw graphs that have a broken axis. However, I want to
then add a line to the "second" plot, but can't.
Eg:
twogrp<-c(rnorm(10)+4,rnorm(10)+20)
gap.plot(twogrp,rnorm(20),gap.bounds=c(8,16),gap.axis="x",xlab="X
values",
xtics=c(4,7,17,20),ylab="Y
2012 Apr 30
5
Different varable lengths
Hi!
I'm trying to do a lm() test on three objects. My problem is that R protests
and says that the variable lengths differ for one of the objects
(Sweden.GDP.gap). But I have double checked that the number of observations
are the same. All three objects should contain 9 observations but R only
accepts 9 observations in two of the objects. The third must have 10! Very
confusing because there
2012 Apr 03
3
filling small gaps of N/A
...l
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 of missing data (2 or 3
N/A):
09/01/2008 12:00 2 1.93 2.93 4.56 5.43
09/01/2008 12:15 2 *3.93* 3.25 4.93 5.56
09/01/2008 12:30 2 NA 3.5 5.06 5.56
09/01/2008 12:45 2 NA 3.68 5.25 5.68
09/01/2008 13:00 2 *4.93 * 3.87 5.56 5.93
09/01/2008 13:15 2 5...
2011 Jan 21
2
Unexpected Gap in simple line plot
I am getting an unexpected gap in a simple plot of monthly data series.
I have created a csv file of monthly climate observations that I store
on-line. When I download the csv file and plot one of the series, I get a
gap even though there is data for the missing point.
Here is a snippet to show the problem.
## Strange plot results
link <-
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.8...
2005 Nov 15
2
y-axis in histograms
Dear R- list,
I have some data to present with histograms. Therefore I used hist(...).
I have few values with almost 80% of
the frequencies (totaly 800) and some other values with low frequencies
( totaly 5 -10 )
that I want to emphasize. Therefore I want to "cut" the y-axis on 100,
but I
don't know how to deal with this.
Thanks in advance,
Michael Graber
2007 Aug 21
1
Render template not matching absolute path
Hi
I have a simple controller method like this:
class StylesheetsController < ApplicationController
layout nil
session :off
def gap
site = Site.find_by_hostname(request.host)
@colours = site.colours
respond_to do |accepts|
accepts.css { render :file => "#{RAILS_ROOT}/app/views/
stylesheets/gap.rcss" }
end
end
end
And I want to test that
2007 Jan 16
2
Links in view specs
Hi
I have this simple view (used by the Gap controller):
<h1>Gap#index</h1>
<%= link_to "Get a GAP quote", :action => "get_quote" %>
And this spec:
context "A rendered gap/index" do
setup do
render ''gap/index''
end
specify "should have a link to the get_quote page" do