new.q {SurrogateOutcome} | R Documentation |
Helper function; should not be called directly by user. This function differs from the quantile function in that it returns an NA when there are NAs in the supplied vector, rather than causing an error.
new.q(x, p)
x |
vector of numeric values |
p |
sample quantile that is desired |
returns either NA or the desired sample quantile
Layla Parast