search for: tempcfunct

Displaying 1 result from an estimated 1 matches for "tempcfunct".

Did you mean: temp_func
2009 Jan 19
2
pchisq error
...I call 'pchisq' from within R. My session output is shown below: ###################### > system('R CMD SHLIB reproduceError.c') make: `reproduceError.so' is up to date. > > reproduceError <- function(x){ + dyn.load('reproduceError.so') + .C('tempCfunction',as.double(x)) + dyn.unload('reproduceError.so') + invisible(NULL) + } > > pchisq(5.464342,1,lower.tail = FALSE) [1] 0.01940836 > reproduceError(5.464342) stat = 5.464342, p = 0.019408 > pchisq(5.464342,1,lower.tail = FALSE) [1] NaN Warning messages: 1: I...