Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

adjustypos

Adjust y position


Description

Adjust y position

Usage

adjustypos(
  ypos,
  ymargin = 0.02,
  rady = 0.06,
  maxypos = 0.6,
  minypos = 0,
  totalOnly = FALSE
)

Arguments

ypos

y position

ymargin

verical margin of plot

rady

vertical radius of the box

maxypos

maximal y position of X or W variables

minypos

minimal y position of X or W variables

totalOnly

logical if TRUE, arrange ypos with center 0.5

Examples

ypos=c(0.5,0.9,1,1,2,3)
adjustypos(ypos)
adjustypos(ypos,totalOnly=TRUE)

processR

Implementation of the 'PROCESS' Macro

v0.2.6
GPL-2
Authors
Keon-Woong Moon [aut, cre], Sokyoung Hong [ctb]
Initial release
2021-1-5

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.