VariableExplore: Variable Exploration

Description Usage Arguments Value Examples

View source: R/VariableExplore.r

Description

This function produces a histogram of the independent variable, summary statics, missing data information, and estimates of the trend between it and the dependent variable.

Usage

1
VariableExplore(x, y, var_name, plot_save = F, fname = "none")

Arguments

x

independent variable, must be a vector. If x is a factor it will be converted to a character vector

y

dependent variable, must be a vector and can't contain missing values

var_name

The name of the dependent variable

plot_save

logical indicating if plot should be saved, default is FALSE

fname

the name of the file to save the pdf output

Value

A list containing a plot showing all the info as well as the information that makes it up

Examples

1
VariableExplore(1:100, sample(c(0, 1), 100, replace = T))

mattmills49/modeler documentation built on May 21, 2019, 1:25 p.m.