Displaying 3 results from an estimated 3 matches for "r_band_phi6_bin".
2007 Nov 06
3
help needed: taking a function out of a package and it can not find some funtions
I tried to modify the R function bw.SJ (from the stats package) for my own use. But if I just get the source code and run directly (without any modification), it can no longer find some key functions called within it. I understand this has something to do with searching path which I do not understand well. Can anyone tell me how to modify the source code of an R function and still make it part of
2007 Nov 06
3
help needed: taking a function out of a package and it can not find some funtions
I tried to modify the R function bw.SJ (from the stats package) for my own use. But if I just get the source code and run directly (without any modification), it can no longer find some key functions called within it. I understand this has something to do with searching path which I do not understand well. Can anyone tell me how to modify the source code of an R function and still make it part of
2012 Jan 13
2
beanplot-Error: sample is too sparse to find TD
...s slightly different sometimes is the distribution.
I also had a look at the source code of the function which causes the
error:
> TD <- -TDh(cnt, b, n, d)
if (!is.finite(TD) || TD <= 0)
stop("sample is too sparse to find TD")
> TDh <- function(x, h, n, d) .C(R_band_phi6_bin, as.integer(n),
as.integer(length(x)), as.double(d), x, as.double(h),
u = double(1))$u
But this also doesn't really help me. Has anyone of you an idea what's
causing my problem and how I can avoid it? The only thing I found so far
was this thread:
http://r.789695.n4.nabble....