stata_graph: stata_graph

Description Usage Arguments Value Examples

View source: R/chapter5_functions.R

Description

Plots a scatterplot.

Usage

1
stata_graph(x, y, dataset)

Arguments

x
  • x varaible

y
  • y varaible

dataset
  • an R object which can be coerced to a data frame

Value

scatterplot

Examples

1
2
3
4
5
6
stata_graph(caschool$enrl_tot, caschool$teachers, caschool)
stata_graph(mtcars$cyl, mtcars$cyl, mtcars)
## Not run: 
stata_graph(enrl_tot, teachers, caschool)

## End(Not run) 

danicamiguel/emetricsrsw documentation built on Dec. 25, 2019, 5:12 a.m.