graph_my_data: graphs a given set of data

Description Usage Arguments

View source: R/data_vis.R

Description

graphs a given set of data

Usage

1
2
3
4
5
6
7
8
9
graph_my_data(x, y, color, ind_var, dep_var, title, data)

## S3 method for class 'numeric'
graph_my_data(x, y, color, ind_var, dep_var, title,
  data = NULL)

## S3 method for class 'data.frame'
graph_my_data(x = NULL, y = NULL, color, ind_var,
  dep_var, title, data)

Arguments

x

a numeric vector

y

a numeric vector

color

a string; must be a color recognized by ggplot

ind_var

a string of the variable name to be assessed; if using data, the vector of this variable name must have numerical values

dep_var

a string of the variable name to be assessed; if using data, the vector of this variable name must have numerical values

title

a string

data

default value is NULL, so that if manually entering data as x and y vectors this is not involved


sunniraleigh/schoolR documentation built on Dec. 16, 2019, 12:48 a.m.