Learn R Programming

fxl (version 1.7.3)

scr_plot: scrplot

Description

Core object for establishing fxl object and layers

Usage

scr_plot(
  data,
  aesthetics = NULL,
  mai = c(0.375, 0.375, 0.25, 0.25),
  omi = c(0.25, 0.25, 0.25, 0.25),
  xaxs = "i",
  yaxs = "i",
  ncol = 1,
  family = "sans",
  bty = "l",
  layout = NA,
  layout_h = NA,
  layout_v = NA,
  semi_color_major_y = "blue",
  semi_color_midpoint_y = "blue",
  semi_color_minor_y = "lightgray",
  semi_color_major_x = "lightgray",
  semilog = FALSE
)

Value

class of 'fxl' that contains necessary plotting elements

Arguments

data

submitted data (not opinionated on naming)

aesthetics

references for data in frame

mai

margins in inches

omi

outer margins in inches

xaxs

x axis formatting, relative to hanging space

yaxs

y axis formatting, relative to hanging space

ncol

number of colums in layout (default = 1)

family

font family

bty

TODO

layout

layout grid

layout_h

layout heights

layout_v

layout widths

semi_color_major_y

colors for semilog lines (major)

semi_color_midpoint_y

colors for semilog lines (center bins)

semi_color_minor_y

colors for semilog lines (minor)

semi_color_major_x

colors for semilog lines (minor)

semilog

determine if this is a semilog type of plot

Author

Shawn Gilroy <sgilroy1@lsu.edu>