propRowSorted: proportion of non-descending rows in matrix

Description Usage Arguments Value

View source: R/RcppExports.R

Description

first performs isRowSorted to get a logical vector, then sums TRUE values and takes fraction of total

Usage

1

Arguments

x

matrix, each row containing ordered or disordered numerics

Value

double, the proportion from 0 to 1


jackwasey/jwutil documentation built on Jan. 20, 2020, 6:56 p.m.