Displaying 20 results from an estimated 10000 matches similar to: "Interpolation across merged zoo columns"
2008 Jul 28
1
Interpolating a line and then summing there values for a diurnal oxygen curve (zoo object)
#I would like to interpolate a straight line between 06/08/06 04:16:00 -
06/08/06 20:31:00 with values and then sum them. This is an estimate of
ecosystem #respiration and I will be using this in a larger context(48 days
of these diurnal curves), but for right now I am just trying to figure out
how to do it for this one #day example. I have some other code for
Ecosystem (stream) Metabolism that
2008 Sep 01
2
Interpolation Problems
Dear all,
I'm trying to interpolate a dataset to give it twice as many values (I'm giving the dataset a finer resolution by interpolating from 1 degree to 0.5 degrees) to match that of a corresponding dataset.
I have the data in both a data frame format (longitude column header values along the top with latitude row header values down the side) or column format (in the format latitude,
2013 Jan 17
1
Help with interpolation
hi guys
I need to interpolate values for the zero coupon yield curve. Following data
is given
date days rate
1996 01
2011 Jun 28
0
renaming multiple columns + interpolating temperature series
Greetings R Users,
I?m new to R but at least managed to read in multiple files:
filenames <- list.files(path=getwd())
numfiles <- length(filenames)
for (all_temp in c(1:numfiles)) {
filenames[all_temp] <- paste(filenames[all_temp],sep="")
assign(gsub("[.]ASC$","temp",filenames[all_temp]),read.delim2(filenames[all_temp],
2005 Apr 26
1
using the interpolation feature
Jean Marc & list,
I was going to start fiddling with using the ability to pass NULL to speex
decode
and using that to return an interpolated frame.
I am curious what the intended use of this feature was- I.e. if there is
a packet loss situation is it preferable to keep interpolating until new
data shows up, or to cut your losses after a certain number of frames?
I suppose some of this
2008 May 08
2
Microseconds for a zoo object?
Hello
I have a string which contains microseconds, can anyone help on
constructing this in to a time object, with the microseconds, that I can
take to a ZOO file?
Thanks
Sean
> UK[1,3]
[1] "17:09:53.824"
> UK[1,1]
[1] "2007-12-11 00:00:00"
> mydates <- paste( substr(UK[,1], 1, 10), UK[,3])
> mydates[1]
[1] "2007-12-11 17:09:53.824"
>
2001 May 22
1
2D interpolation function
As part of a project I am doing, I had to present a 2D table as a
surface. This was fairly straightforward (using persp), but I needed to
interpolate points to make it sort of pretty. This was done by using
quadratic interpolation between the existing points to smooth out the
surface a bit. As I couldn't find an R function that did this, I wrote
an admittedly nasty pair of functions that
2001 Sep 01
2
interpolation and numerical differentiation in R ?
Hi,
I'm trying to determine if R is useful to me. I've browsed 'The Basics of
S and S-Plus' (Krause & Olson), and like the logic of the language.
However, I don't see an easy way to do things like this:
* given a set of observations (x,y) (x and y equal-length vectors), and a
2nd set of abscissas x2, interpolate y at the new abscissas x2. (for now,
I don't really
2011 Jul 17
1
How to speed up interpolation
df is a very large data frame with arrival estimates for many flights
(DF$flightfact) at random times (df$PredTime). The error of the estimate
is df$dt.
My problem is that I want to know the prediction error at each minute
before landing. This code works, but is very slow, and dominates
everything. I tried using split(), but that rapidly ate up my 12 GB of
memory. So, is there a better R way of
2002 Nov 04
2
interpolation
Hello,
I have 15 data points (weight at birth) by age which I want to interpolate back
in time (to 5 more age points).
There are many functions in R to do this and I wonder if anyone has experience
in using these -- any preference/caveat etc? I am trying to find an alternative
to linear interpolation.
Using R 1.6.0 under windows
TIA Marwan
2007 Apr 12
1
zoo merge() method
R users:
I'd like to get some insight on an error I encounter when attempting to
work with two moderately sized sets of time series data. FYI - I'm
using the following versions of R and supporting packages on a Windows
2000 OS:
- R version 2.4.1 (2006-12-18)
- zoo version 1.2-2
- chron version 2.3-10
The two time series I'm working with are from the summer of 2004 and
are:
1.)
2007 Sep 04
3
how to do interpolation
Hello R Users,
How to make a variable equidistance with time i.e. how to interpolate a
variable if it is not sampled at equal time interval.
Many thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]
2010 Jul 29
1
Linear Interpolation question
Hi R experts,
I have the following timeseries data:
#example data structure
a <- c(NA,1,NA,5,NA,NA,NA,10,NA,NA)
c <- c(1:10)
df <- data.frame(timestamp=a, sequence=c)
print(df)
where i would like to linearly interpolate between the points 1,5, and
10 in 'timestamp'. Original timestamps should not be modified. Here
the code I use to run the interpolation (so far):
# linear
2011 Jun 29
3
time series interpolation
Hi there,
I?ve got a datatable in R which I try to interpolate with this and get the
Error below:
> new$temp<- approx(w03_11temp$temp, n = (nrow(w03_11temp)*5))$y
Error in new$temp <- approx(w03_11temp$temp, n = (nrow(w03_11temp) * 5))$y :
Object of type 'closure' not registered
Any idea?? Thanks a lot.
--
View this message in context:
2009 May 05
4
modalbox rails var interpolation
Howdy everyone.
I am using modalbox which is very nice an easy to use. I have this
for an edit for a company listing:
<td><%= link_to(''Manage Companies'', {}, :onclick => ''Modalbox.show(\''/
companies/edit/#{company.id}\'', {width: 600}); return false;'') %></td>
The link is not putting the company.id in it puts #{
2011 Apr 16
1
Applying interpolation within a convex hull
Hi there,
I have been using the Tps function (within the Fields package) for a while
now to interpolate different sedimentary units. Due to the method of
formation of the units I know that at some edges the thickness of the unit
decreases to zero. I was wondering if there was someway to specify that the
interpolation only occurs within the convex hull of the data, outside of
which the the values
2011 May 04
1
bivariate linear interpolation
Hi,
I have three matrices (X,Y,P) with the same dimension. The X,Y grid is
regular and I want to
perform linear interpolation to pick out certain points. In matlab
appropriate call is
something like
Pout=interp2(X,Y,P,Xout,Yout, method="linear")
where Xout and Yout are the locations where I want the Pout data
(typically a different grid).
(Scipy has this routine in
2004 Sep 07
1
interpolation of lost frames
Hi,
When an audiopacket is received too late I could interpolate this frame. The problem is that I don't know if it is a true bufferloss or just the last audiopacket of a talkspurt. Now my question is if it's harmfull for the audioquality that at the end of the talkspurt one frame is interpolated? Or would this be almost inpossible to hear since the last audiopacket in the talkspurt
2000 Jul 27
1
Interpolation using a piecewise linear function in higher dimensions
Dear all,
I am just wondering if anybody has implemented a function that can give a
piecewise linear interpolation in more than 2 dimensions?
I have looked at the akima package, but I would rather like a piecewise
linear interpolation rather than a spline and while it did the job quite
satisfactory for 2 dimensions, I need to interpolate in at least three
dimensions. If anybody has implemented
2010 Jun 30
1
merge.zoo and fill
Hello again,
I merge different zoo time series with prices at different dates. This
returns a multivariate zoo object with NA's at various points i.e.,
2010-02-28 NA NA NA NA 850.2 2444.4 NA
NA NA NA NA NA NA
2010-03-01 61.1 55.3 61.5 81.24 NA NA 1712.2 3.3
11139.3 163.7 2242.4 9015.6 109.791
2010-03-31