partial: Partial Correlation

View source: R/partial.h.R

partialR Documentation

Partial Correlation

Description

Partial Correlation

Usage

partial(
  data,
  vars,
  ctrlvars,
  sidSig = "twotailed",
  scale = "raw0",
  scale1 = "raw0",
  shwSig = FALSE,
  flgSig = FALSE,
  plot = TRUE,
  model = "glasso",
  layout = "spring",
  shape = "circle",
  plot2 = FALSE,
  plot3 = FALSE,
  ebic = FALSE,
  pm = FALSE,
  width = 500,
  height = 500,
  width1 = 500,
  height1 = 500,
  width2 = 500,
  height2 = 500
)

Arguments

data

The data as a data frame.

vars

.

ctrlvars

.

sidSig

.

scale

.

scale1

.

shwSig

.

flgSig

.

plot

.

model

.

layout

.

shape

.

plot2

.

plot3

.

ebic

.

pm

.

width

.

height

.

width1

.

height1

.

width2

.

height2

.

Value

A results object containing:

results$instructions a html
results$matrix correlation matrix table
results$plot an image
results$plot2 an image
results$plot3 an image
results$text a preformatted
results$text1 a preformatted

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$matrix$asDF

as.data.frame(results$matrix)


hyunsooseol/seolmatrix documentation built on Nov. 7, 2024, 1:11 p.m.