Displaying 2 results from an estimated 2 matches for "c_r_approxfun".
2013 Oct 24
0
TR: problem with ecdf : "missing C_R_approxfun" message
...ing the call attribute the thing to do, but done in a wrong way ?
If yes, what is the "good way" ?
If not, what can be done ?
Thanks again, Olivier
De : Olivier Eterradossi
Envoyé : jeudi 24 octobre 2013 08:54
À : 'r-help@r-project.org'
Objet : problem with ecdf : "missing C_R_approxfun" message
Hi list,
In June 2013, using R.2.15.1 (i386) on Windows 7, I calculated a set of ecdf which I stored in lists of records having a "size.ecdf" field, with following structure :
[skip previous structure...]
$ size.ecdf :function (v)
..- attr(*, "class")= chr [...
2013 Feb 14
1
approxfun values
...lation<-read.csv('test.csv',header=FALSE)
> testinterpolation
V1 V2
1 10 2
2 20 NA
3 30 5
4 40 7
5 50 NA
6 60 NA
7 70 2
8 80 6
9 90 9
10 100 NA
> testinterpolationvalues<-approxfun(testinterpolation,y=NULL)
> testinterpolationvalues
function (v)
.C(C_R_approxfun, as.double(x), as.double(y), as.integer(n),
xout = as.double(v), as.integer(length(v)), as.integer(method),
as.double(yleft), as.double(yright), as.double(f), NAOK = TRUE,
PACKAGE = "stats")$xout
<bytecode: 0x33ffab84>
<environment: 0x34072eac>
> testinterpolati...