search for: getpvalu

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

Did you mean: getpvalue
2006 May 05
2
extract p-value from urppTest
...arious test results that didn't want to give away only the p-value (I'm fairly new to R, so this might well be my fault). I thought I had found a way around this by # dissolve testresult into lines listasvectors <- unlist(P1 at test$output) # pick the line containing p-value getpvalue <- unlist(strsplit(listasvectors[17], " ")) # isolate the p-value (number only) getpvalue[14] However, I'm doing this in a loop and it seems for each test result there is a different number of entries or seperators " ". For example, "<" sometimes ends up...