From 70a7f5c33aaa63981b60b8ecd8118fe1af3a7e92 Mon Sep 17 00:00:00 2001 From: Joseph Lizier Date: Mon, 19 Apr 2021 11:32:23 +1000 Subject: [PATCH] Clarifying how to access an attribute (pValue) in the R demos --- demos/r/example3TeContinuousDataKernel.r | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/r/example3TeContinuousDataKernel.r b/demos/r/example3TeContinuousDataKernel.r index 47e7393..37a23c0 100755 --- a/demos/r/example3TeContinuousDataKernel.r +++ b/demos/r/example3TeContinuousDataKernel.r @@ -60,5 +60,6 @@ nullDist <- .jcall(teCalc,"Linfodynamics/utils/EmpiricalMeasurementDistribution; "computeSignificance", 100L) cat("Null distribution for unrelated source and destination", "(i.e. the bias) has mean", .jcall(nullDist, "D", "getMeanOfDistribution"), - "bits and standard deviation", .jcall(nullDist, "D", "getStdOfDistribution"), "\n") + "bits and standard deviation", .jcall(nullDist, "D", "getStdOfDistribution"), + ", while the above measurement is beaten by a proportion of", nullDist$pValue, "of the null distribution\n")