ASDplot: ASDplot

Description Usage Arguments Value

View source: R/ASD_function.R

Description

ASDplot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
ASDplot(
  data,
  x,
  y,
  shape,
  methods = shape,
  psize = 5,
  intercept_position = 0.1,
  intercept_color = "black",
  intercept_size = 0.8,
  switch = T,
  title = "",
  subtitle = "",
  ytitle = "Absolute Standardized Difference"
)

Arguments

data

a dataframe object

x

a column includes variables' names to check groups balance (string)

y

standaradized differences values (integer)

shape

methods used to balance groups differences (factor)

methods

a vector of methods names (string)

psize

shape size (integer)

intercept_position

The cutoff used which indicate significant differences

intercept_color

Color of the cutoff bar

intercept_size

The size of the cutoff bar

switch

Whether to include the cutoff or not (T or F)

title

Plot title

subtitle

plot subtitle

ytitle

Y axis title

Value

A saved PNG file


yalbogami/ASDplot documentation built on March 30, 2021, 2:32 a.m.