partial: Partial Correlation

View source: R/partial.h.R

partialR Documentation

Partial Correlation

Description

Partial Correlation

Usage

partial(
  data,
  vars,
  ctrlvars,
  sidSig = "twotailed",
  scale = "raw",
  shwSig = FALSE,
  flgSig = FALSE,
  plot = FALSE,
  plot1 = FALSE,
  plot2 = FALSE,
  plot3 = FALSE,
  ebic = FALSE,
  pm = FALSE,
  width = 500,
  height = 500,
  width1 = 500,
  height1 = 500,
  width2 = 500,
  height2 = 500,
  width3 = 500,
  height3 = 500
)

Arguments

data

The data as a data frame.

vars

.

ctrlvars

.

sidSig

.

scale

.

shwSig

.

flgSig

.

plot

.

plot1

.

plot2

.

plot3

.

ebic

.

pm

.

width

.

height

.

width1

.

height1

.

width2

.

height2

.

width3

.

height3

.

Value

A results object containing:

results$instructions a html
results$matrix correlation matrix table
results$plot an image
results$plot2 an image
results$plot1 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 July 25, 2024, 4:42 a.m.