Learn R Programming

xda (version 0.2)

bivariate: Plots all variables of a data frame against the specified dependant variable

Description

Plots all variables of a data frame against the specified dependant variable

Usage

bivariate(df, dep.var, indep.var, n.bins = 4, na.rm = TRUE)

Arguments

df

name of the data frame

dep.var

name the dependant variable

indep.var

name the independant variable

n.bins

number of bins to create

Value

returns bivariate analysis summary dataframe

Examples

Run this code
# NOT RUN {
data(iris)
bivariate(iris,'Species','Petal.Width',n.bins=3)
# }

Run the code above in your browser using DataLab