I utilized the below function to obtain the answer: > A <- with(df, max(abs(Data-Expected))) > A 0.082 Basically, this function calculates the differences between the two columns into a new vector, whose values are transformed into absolute values, and from the absolute values the largest one is obtained. Credit to...

java,confusion-matrix,statistical-test

if every variable is double your code produces the desired output 1.0 : just compile and run the following java class which assigns the values you want to be assigned to trueP, trueN, falseP and falseN: class confusion { public static void main(String[] args) { double trueP=6930; double trueN=6924; double...

In fact, you can suppress the output to R console by rerouting it. Two methods are available in R utils, sink, and capture.output. Both methods are intended to send output to a file. Since you want to suppress the output of a single expression, you can use capture.output, with file=NULL...

Taking a guess at what you're looking for... library(fractal) # Don't forget to include where the function comes from # in your example results <- stationarity(ecgrr, n.block=8) #using sample data from # fractal package str(results) # Tells you more about the object pvalues <- attr(results,"pvals") ## T I+R T+I+R ##...