get_data_avail.data.frame {COINr}R Documentation

Get data availability of units

Description

Returns a data frame of the data availability of each unit (row), as well as percentage of zeros. This function ignores any non-numeric columns, and returns a data availability table with non-numeric columns appended at the beginning.

Usage

## S3 method for class 'data.frame'
get_data_avail(x, ...)

Arguments

x

A data frame

...

arguments passed to or from other methods.

Details

See also vignettes: vignette("analysis") and vignette("imputation").

Value

A data frame of data availability statistics for each column of x.

Examples

# data availability of "airquality" data set
get_data_avail(airquality)


[Package COINr version 1.1.14 Index]