I'm using the latest version of the MDMR package in R to analyze whether there is a significant relationship between a set of independent and dependent variables. However, when I execute something like the following:
library(MDMR)
results<-mdmr(X=predictor_variable,D=distance_matrix)
I get 0.00199799899899874826986 as the output p-value.
However, when I try display it later with summary(results)
, it displays <0.002
, and if I try to assign the value to a variable, 0
is assigned instead. I presume this is a floating point error in a calculation within R, but am clueless regarding how to fix it.