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


jwutil documentation built on May 7, 2019, 1:03 a.m.