zips.kc {QuantileGradeR}R Documentation

Example ZIP Code Vector.

Description

A vector of ZIP codes.

Usage

zips.kc

Format

A character vector with a length that matches the number of rows of X.kc (i.e. zips.kc has ~1500 elements). Each entry represents the ZIP code of one business.

Details

zips.kc[i] represents the ZIP code for the restaurant represented in the ith row of the X.kc inspection scores matrix. ZIP codes in zips.kc have the format "zip.j" where j is an integer between 1 and 11, i.e., ZIP codes are masked. In this masking step, we also demonstrate that our functions can be applied not solely over character vectors of real ZIP codes, but any vector of character strings representing the same facet for all restaurants can be used in the grading process.


[Package QuantileGradeR version 0.1.1 Index]