Learn R Programming

BeyondBenford (version 1.4)

prep: Data set preparation

Description

The function returns a prepared data frame that can be used by the other functions of the package.

Usage

prep(dat)

Arguments

dat

The considered dataset, a data frame.

Value

The prepared dataset, a data frame containing only numerical values: character strings and NA values are all replaced by 0.