Learn R Programming

funModeling (version 1.9.5)

df_status: 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)

Value

Metrics data frame

Arguments

data

data frame or a single vector

print_results

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

Examples

Run this code
df_status(heart_disease)

Run the code above in your browser using DataLab