df_status: Get a summary for the given data frame (o vector).

View source: R/exploratory_data_analysis.R

df_statusR Documentation

Get a summary for the given data frame (o vector).

Description

For each variable it returns: Quantity and percentage of zeros (q_zeros and p_zeros respectevly). Same metrics for NA values (q_NA/p_na), and infinite values (q_inf/p_inf). Last two columns indicates data type and quantity of unique values. This function print and return the results.

Usage

df_status(data, print_results)

Arguments

data

data frame or a single vector

print_results

if FALSE then there is not a print in the console, TRUE by default.

Value

Metrics data frame

Examples

df_status(heart_disease)

funModeling documentation built on May 29, 2024, 3:24 a.m.