Displaying 20 results from an estimated 5000 matches similar to: "2d histogram interpolation"
2002 Mar 27
1
kriging C/C++ code
Hello to everybody !
I don't have a question directly connected with R, but it takes starting
point from the use of the R function Krig for kriging interpolation and
from the idea of making a different implemetation of the function for my
purposes.
Doas anyone know where can I find free C or C++ codes of kriging ?
As always, thanks a lot in advance,
Paola.
2002 May 23
1
nmath standalone
Dear all,
I'm trying to use the as a standalone package the nmath sources.
In R-1.4.1/src/nmath/standalone, in linux operating system I made 'make
shared' to obtain libRmath.so. then I copied the dir standalone, where
there is libRmath.so in /usr/local.
I tried to compile test.c with cc test.c but I obtain this error message
/tmp/ccsTxu7U.o: In function `main':
2011 Nov 16
2
Contour on top of 2d histogram
Hi all,
I would like to plot one data set as a 2d histogram and another one as a contour. I can do it separately with the
"hist2d" and "contour" functions, but I wonder if there is a way to combine these two plots into a single one (the ranges of the two plots are the same).
Any suggestions?
Thanks,
Anna
[[alternative HTML version deleted]]
2011 Aug 05
3
fit a 2-variables function to data
Dearl all,
I have to fit a function
y = f(x1, x2)
to data experiemntal data describing the measured behavior of y.
x1 and x2 are the independent variables.
Could you suggest me wich R package can I use for this purpose?
Thanks,
Paola.
--
*Paola Lecca, PhD*
*The Microsoft Research - University of Trento*
*Centre for Computational and Systems Biology*
*Piazza Manci 17 38123 Povo/Trento,
2006 Feb 06
2
panel.levelplot() for 2D histograms
Dear R-wizards,
I'm trying to plot "binned scatterplots", or 2d histograms, if you wish, for
a number of groups by using the lattice functionality
it works fine for one group at a time, and probably I could find a
work-around, but I prefer to do it the elegant way
here's an example of what I want, what I tried and where it goes wrong:
require(gregmisc)
require(lattice)
#toy
2011 Aug 05
2
problemsn in using nls
Dear all,
I tried to use nls, but I got the following error
Error in numericDeriv(form[[3L]], names(ind), env) :
Missing value or an infinity produced when evaluating the model
Any suggestion?
Thanks,
Paola.
The code I wrote is
Data_pp2_mrna <- data.frame(
p1 = protein_1,
p6 = protein_6,
pp2_mrna
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
2011 Aug 04
1
use of modMCMC
Dear all,
I used modFit of the package FME to fit a set of ODE to a ste of eperiemntal
data.
The summary of this fit give me the following error
> summary(Fit)
Residual standard error: 984.1 on 452 degrees of freedom
Error in cov2cor(x$cov.unscaled) : 'V' is not a square numeric matrix
In addition: Warning message:
In summary.modFit(Fit) : Cannot estimate covariance; system is
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
2011 Jul 28
2
Help with modFit of FME package
Dear R users,
I'm trying to fit a set an ODE to an experimental time series. In the attachment you find the R code I wrote using modFit and modCost of FME package and the file of the time series.
When I run summary(Fit) I obtain this error message, and the values of the parameters are equal to the initial guesses I gave to them.
The problem is not due to the fact that I have only one
2011 Aug 01
0
Help with modFit of FME package 2
* Apologies for multiple posting *
I attached to my previous e-mail a .r file, and it was not permitted by the
rules of the mailing lis. Again, please receive my sincere apologies for
this.
I re-send again the e-mail with .txt attachemnt in the hope someone an help
me to solve my problem.
I'm trying to fit a set an ODE to an experimental time series. In the
attachment you find the R code I
2001 Aug 02
1
Package GSS for interpolation in more than 2D?
Dear all,
There has been some time since I asked about interpolation in higher (>2)
dimensions, and I must admit I failed to write a function to do this
myself the last time, but eventually ended up doing it in MATLAB. I tried
to translate the MATLAB code, but MATLAB code is so much more opaque than
R (S) code, so I failed that too, mainly because I could only get one
MATLAB session, I would
2006 Apr 05
1
Bin by bin histogram comparisons
Hello,
I have created two histograms with:
hist2d(gps2, nbins=200, col = c("white",heat.colors(16)))
Both of them have the same range and the same number of bins.
Now I would like to compare them bin by bin and plot the results.
Could someone please tell me how to do that. I searched the man pages and
the web, but couldn't find anything.
Thank you very much.
Phil
2002 Mar 20
4
spatial library
Hi everybody,
I want to download the spatial library but I don't find it at the CRAN
list package. Where can I find the package ?
I have to download it to use the function correlogram.
Thanks in advance,
Paola.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2008 May 29
1
akima interpolation and triangulation question
Dear all;
First of all, this is probably a more conceptual question than a
R-related one, but still want to give it a try. When working with the
interpolation function "interp" from the package akima and the
triangulation function "tri.mesh" from package tripack I've got NA's
for the interpolation and "error" for the triangulation. The data is
arranged in a
2011 Aug 20
0
help with nls fitting
Dear all,
I'm trying to fit the following function
slope_pp3_mrna = ( (k3 * v3_K_d *p1^v3_h) / ( (v3_Kd^v3_h) + p2^v3_h ) ) *
( 1/(1 + (p2/v4_Kd)^v4_h) ) - pp3_mrna
to this experimental data in the datafraeme "Data_pp3_mrna" (see it at the
end of this e-mail)
I'm using the nls function in the following code. IN the last step of the
fit
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
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
2009 Oct 06
0
Interpolation
Hi R community
I need to interpolate precipitation data for a natural park. I have precipitation data from some climate stationts. (I know the table is not complete but I only need to show you X,Y, Altitude and PrepJul)
X
Y
Altitude
PrepJan
PrepFeb
PrepMar
PrepAp
PrepMay
PrepJun
PrepJul
597706
4093438
41
0
9
77,8
63,1
17,5
0
2,6
597535
2009 Jun 21
1
Problems with bilinear interpolation of a grid
Dear all,
I'm having trouble interpolating a number of gridded datasets that I have. I'm quite new to R so any help/advice that can be offered would be much appreciated!
Firstly I'll describe my dataset. The data is a grid of the planet at 1 degree spatial resolution, with each grid cell containing a value describing a particular variable (e.g. population density) for coordinate