powered by
getSimulationPvalue(observedVal, simulatedVals, direction = "greater", checkArgs = FALSE)
MBASED:::getSimulationPvalue(observedVal=2, simulatedVals=1:10, direction='greater') MBASED:::getSimulationPvalue(observedVal=2, simulatedVals=1:10, direction='less')
Run the code above in your browser using DataLab