Displaying 20 results from an estimated 326 matches for "interp".
Did you mean:
inter
2005 Jul 20
2
unable to call R t-test from Java
...ure. Any insight you can provide or other Web references you can point me to would be appreciated.
Thank you,
Laura O'Brien
Application Architect
--------------------------- code ------------------------------
package org.omegahat.R.Java.Examples;
import org.omegahat.R.Java.ROmegahatInterpreter;
import org.omegahat.R.Java.REvaluator;
public class JavaRCall2
{
/**
* want to see if I can eval a t.test command like what I would run in the
* R command line
*/
static public void runTTestByEval_cores(REvaluator e, ROmegahatInterpreter interp)
{
/* pro...
2023 Jan 26
1
akima interp results to zero with less than 10 values
The akima package has a problematic license (it doesn't allow commercial
use), so it's been recommended that people use the interp package
instead. When I use interp::interp instead of akima::interp, I get
reasonable output from your example.
So that's another reason to drop akima...
Duncan Murdoch
On 26/01/2023 9:35 a.m., PIKAL Petr wrote:
> Dear all
>
> I have this table
>> dput(mat)
> mat <-...
2014 Sep 24
1
[PATCH 1/2] allow path to envyas binary to be specified
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/shader/Makefile | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/shader/Makefile b/src/shader/Makefile
index 46658e9..2d789be 100644
--- a/src/shader/Makefile
+++ b/src/shader/Makefile
@@ -24,20 +24,21 @@ NVF0_SHADERS = xfrm2nvf0.vpc \
videonvf0.fpc
SHADERS = $(NVC0_SHADERS)
2023 Jan 26
1
akima interp results to zero with less than 10 values
Dear all
I have this table
> dput(mat)
mat <- structure(c(2, 16, 9, 2, 16, 1, 1, 4, 7, 7, 44.52, 42.8, 43.54,
40.26, 40.09), dim = c(5L, 3L))
And I want to calculate result for contour or image plots as I did few years
ago.
However interp does not compute the z values and gives me zeros in z matrix.
library(akima)
> interp(mat[,1], mat[,2], mat[, 3], nx=5, ny=5)
$x
[1] 2.0 5.5 9.0 12.5 16.0
$y
[1] 1.0 2.5 4.0 5.5 7.0
$z
[,1] [,2] [,3] [,4] [,5]
[1,] 0 0 0 0 0
[2,] 0 0 0 0 0
[3,] 0 0...
2009 Oct 26
1
[PATCH] Fix miscompile of SSE resampler
...int32_t c
}
sum = accum[0] + accum[1] + accum[2] + accum[3];
#else
- sum = inner_product_double(sinc, iptr, N);
+ inner_product_double(&sum, sinc, iptr, N);
#endif
out[out_stride * out_sample++] = PSHR32(sum, 15);
@@ -472,7 +472,7 @@ static int resampler_basic_interpolate_single(SpeexResamplerState *st, spx_uint3
sum = MULT16_32_Q15(interp[0],SHR32(accum[0], 1)) + MULT16_32_Q15(interp[1],SHR32(accum[1], 1)) + MULT16_32_Q15(interp[2],SHR32(accum[2], 1)) + MULT16_32_Q15(interp[3],SHR32(accum[3], 1));
#else
cubic_coef(frac, interp);
- sum = int...
2011 Mar 18
1
akima::interp "scales of x and y are too dissimilar"
.... The level of the contour
shall be determined by M$PR.
Some words on my data first. Dataframe M looks like:
head(M$Irradiance)
[1] 293 350 412 419 477 509
head(M$AM)
[1] 2.407 2.161 1.964 1.805 1.673 1.563
head(M$PR)
[1] 70.102 72.600 75.097 80.167 79.644 82.633
To create a grid, I used "interp" from the "akima" package up until now. As
mentioned in the header, I run into problems when trying the following:
grid <- akima::interp(M$AM,M$Irradiance,M$PR, duplicate="mean");
Error in interp.old(x, y, z, xo = xo, yo = yo, ncp = 0, extrap = extrap, :
scales of x...
2008 Jun 17
1
interp() function output not continue
Dear List,
I'm using interp() to prepare 3d data for plotting with the contour() function.
If have x,y and z data. All are arrays. X and Y are sampled in an orderly fashion on a grid (a circular sub-area of a grid - see plot). I'm trying to use interp() to get x and y arrays and a z matrix that can be fed to contour()....
2000 Oct 02
2
R function for "interp"
Hi
How can I do the same has interp in s+ with R ? I've looked to
"approxfun" but didn't figured out how to do it.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "hel...
2018 Jul 01
2
[PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl.
...very well suited to handling
binary data. It prefers to store binary data in UCS-2 strings,
meaning that every second byte is wasted. Also there appears to be no
way to replace part of such a string/array in-place.
Strictly speaking Tcl requires that:
"only the thread that created a Tcl interpreter can use that
interpreter. In other words, multiple threads can not access the
same Tcl interpreter."
Apparently this applies even if nbdkit uses mutexes to ensure that
multiple threads are not calling into the interpreter at the same
time. We do not have such a threading model in...
2009 Dec 29
0
aMSN segfaults at login after configuring my home network
...77\n-\346\267\000\000\000\000\000\000\000\000x\327\377\277av\344\267\351,\346\267\364/\351\267\001\000\000\000\350\003\336\b\004\000\000\000TP\351\267G\a\000\000\004\000\000\000\231\362?\364/\351\267\070\330\377\277"}
result = <value optimized out>
#8 0xb7e5b09e in CreateSocket (interp=<value optimized out>,
port=<value optimized out>, host=0x8a0cad0 "messenger.hotmail.com",
server=0, myaddr=0x0, myport=0, async=1)
at /build/buildd/tcl8.5-8.5.7/unix/../unix/tclUnixChan.c:2290
status = <value optimized out>
sock = <value o...
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 regular grid as opposed to what the help page for int...
2008 Nov 21
2
'make install' failed on Sparc5, Solaris2.7
...openssl-0.9.8i.
I've tried to install
openssh-3.9p1
openssh-4.9p1
openssh-5.1p1
all failed the similar way. The following is the last portion of the
'make install' printout.
./install-sh -c -m 0755 -s ssh /usr/local/bin/ssh
BFD: /usr/local/bin/stkuaiGw: warning: allocated section `.interp' not
in segment
./install-sh -c -m 0755 -s scp /usr/local/bin/scp
BFD: /usr/local/bin/stC4aqIw: warning: allocated section `.interp' not
in segment
./install-sh -c -m 0755 -s ssh-add /usr/local/bin/ssh-add
BFD: /usr/local/bin/stISa4Kw: warning: allocated section `.interp' not
in segm...
2012 Mar 25
2
Multivariate function from univariate functions
I'm relatively new to R and I'm stuck.
I'm trying to construct a surface to optimize from a multivariate dataset.
The dataset contains the response of a system to various stimuli. I am
trying to optimize the mix of stimuli to maximize the response. To do so,
I've interpolated the various datasets of type response vs. stimuli and I
now have an array of functions "interps" whose length is the length of the
array of the names of the various stimuli. I've also created a vector
containing names for the stimuli, vars = x.1, x.2, x.3...
Anyway, each of th...
2009 Mar 10
0
Alternative to interp.surface() offered
I wanted a simple function for bilinear interpolation on a 2-D grid, and
interp.surface() in the fields package didn't quite suit my needs. In
particular, it requires uniform spacing between grid points. It also
didn't have the "visual" reference frame I was looking for. Here is an
alternative function, followed by an examp...
2005 Mar 23
1
interp.surface() error (PR#7745)
R version: 2.001
OS: Windows XP SP2
When I use the interp.surface() function, on occasion I have encountered
the following error message:
Error in interp.surface(a, loc) : subscript out of bounds
Since it is somewhat dependent on the data set, I cannot say exactly in
which cases these occur, but I believe I have found the problem and a
solution for i...
2011 Feb 08
1
Compiling a Tcl extension for an R package
...y help me to get this package to compile correctly under
Linux, Windows and OSX? (i.e. writing a configure script with the
correct compile commands).
Thanks,
Adrian Waddell
###########################
C Code (save as hello.c):
#include <tcl.h>
static int Hello_Cmd(ClientData cdata, Tcl_Interp *interp, int objc,
Tcl_Obj *const objv[]) {
Tcl_SetObjResult(interp, Tcl_NewStringObj("Hello, World!", -1));
return TCL_OK;
}
int DLLEXPORT Hello_Init(Tcl_Interp *interp) {
Tcl_CreateObjCommand(interp, "hello", Hello_Cmd, NULL, NULL);
return TCL_OK;
}
which can be compi...
2010 Jan 07
2
Debugging issues encountered during the "R CMD check" process
...session charset: UTF-8
* checking for file 'signal/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'signal' version '0.6'
* checking package dependencies ... OK
* checking if this is a source package ... WARNING
....
....
....
>
> ### Name: interp
> ### Title: Interpolate / Increase the sample rate
> ### Aliases: interp
> ### Keywords: math
>
> ### ** Examples
>
>
> # The graph shows interpolated signal following through the
> # sample points of the original signal.
> t = seq(0, 2, by = 0.01)
> x = chirp(t...
2016 Apr 29
3
(Orc)JIT and weak symbol resolution
...e JIT seems to
favor resolving to module-local symbols over existing symbols:
$ cat symbols.cxx
extern "C" int printf(const char*,...);
template <class T> struct StaticStuff {
static T s_data;
};
template <class T> T StaticStuff<T>::s_data = 42;
int compareAddr(int* interp);
#ifdef BUILD_SHARED
int compareAddr(int* interp) {
if (interp != &StaticStuff<int>::s_data) {
printf("Wrong address, %ld in shared lib, %ld in interpreter!\n",
(long)&StaticStuff<int>::s_data,
(long)interp);
// CHECK-NOT: Wrong address...
2010 Aug 16
1
Problem with cast {reshape}: Error in match.fun(FUN) : could not find function "Negate"
Dear All
I'm having problem with some script which worked a few months ago (on a
different computer that might well have had a different version of R
installed, so perhaps it has to do with the old version of R?):
library(reshape)
Loading required package: plyr
> tble.data <- melt.array(interp, varnames=c("tme","lon","lat"))
>
> allyrs.interp <- cast(tble.data,formula= lon ~ lat ~ tme)
Error in match.fun(FUN) : could not find function "Negate"
> class(interp)
[1] "array"
> dim(interp)
[1] 60 95 59
>
> version...
2008 Feb 29
2
links causing dovecot endless search through user's homedirs
...homedirs.
Some even have circular links, such as:
/home/username/foo/foo1/foo2/foo3/foo4 -> /home/username/foo/foo1
All these links are causing some dovecot imap process to endlessly search.
An example of a strace of a running imap processes shows:
stat64("/home/xxx//jlab/jlab/dev/tail/interp/radcor/results/fake/e94010/3RDTRY/interp/radcor/results/fake/e94010/3RDTRY/interp/radcor/resul
ts/fake/e94010/3RDTRY/interp/radcor/results/fake/e94010/3RDTRY/interp/radcor/results/fake/e94010/3RDTRY/interp/radcor/results/fake/e94010/3RDT
RY/interp/radcor/results/fake/e94010/3RDTRY/interp/radcor/res...