krangl / krangl / max

max

fun DataCol.max(removeNA: Boolean = false): Double?

Calculates the maximum of the column values.

Parameters

removeNA - If true missing values will be excluded from the operation

Exceptions

MissingValueException - If removeNA is false but the data contains missing values.

InvalidColumnOperationException - If the type of the receiver column is not numeric