get.scatter.plot: Render a scatter plot

Description Usage Arguments Value Examples

View source: R/plotting.functions.R

Description

Render a scatter plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get.scatter.plot(
  x,
  y,
  x_label_text = deparse(substitute(x)),
  y_label_text = deparse(substitute(y)),
  geom_point_size = 2,
  element_text_size = 12,
  height = NULL,
  width = NULL
)

Arguments

x

a numeric vector.

y

a numeric vector.

x_label_text

a character element (by default, the vector name).

y_label_text

a character element (by default, the vector name).

geom_point_size

a numeric element (by default, 2).

element_text_size

a numeric value (by default, 12).

height

an integer element representing the height of the plot in pixels.

width

an integer element representing the width of the plot in pixels.

Value

none.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Load demo data
data("no.name.demo")

# Define results
outcomes.summary.df <- no.name.demo$results

get.scatter.plot(
  x = outcomes.summary.df$delta.overwrite,
  y = outcomes.summary.df$maxInc,
  height = 500,
  width = 756
)

barnzilla/no.name documentation built on Oct. 14, 2020, 3:25 p.m.