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

corPlot

Draw correlation plot


Description

Draw correlation plot

Usage

corPlot(
  fit,
  label = 2,
  yreverse = TRUE,
  xangle = 45,
  seek = NULL,
  replace = NULL,
  ...
)

Arguments

fit

An object of class lavaan. Result of sem function of package lavaan

label

if 0, no label(default), if 1, use r value as label, if 2, use r value with significant mark as label

yreverse

Logical. if true, reverse the order of y axis.

xangle

axis.x.text.angle

seek

string to look for

replace

A string of replacement

...

Further arguments to be passed on to geom_text

Value

A ggplot


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.