Learn R Programming

spsurvey (version 4.0.0)

cdf.nresp: Internal Function: Count Number of Responses Less Than a Set of Values

Description

This function calculates the number of response values less than or equal to each of the set of values at which the cumulative distribution function (CDF) is estimated.

Usage

cdf.nresp(z, val)

Arguments

z

Vector of the response values.

val

Vector of the set of values at which the CDF is estimated.

Value

Output is the number of response values for each CDF estimation value.