MakeZ_C_nsmall: Leading NA

View source: R/RcppExports.R

MakeZ_C_nsmallR Documentation

Leading NA

Description

Returns the transformed p-values (Y) from pre-sorted p-values and pre-truncated p-values when n < m - 1

Usage

MakeZ_C_nsmall(pvals, n, m)

Arguments

pvals

A NumericVector containing the truncated sorted p-values. It is important that this vector: 1) contains only the truncated p-values (i.e, those that fall below the truncation point) and 2) is sorted.

n

A positive number (or Inf) indicating which type of local minimum to consider. Defaults to Infm, corresponding to the global minimum.

m

The total (i.e., non-truncated) number of p-values.


TMTI documentation built on Aug. 10, 2022, 5:06 p.m.