proportion

fun proportion(string: String): Double

Gets the proportion of the observations that are equal to the supplied string

Return

the proportion

Parameters

string

the string