partial | R Documentation |
Partial Correlation
partial(
data,
vars,
ctrlvars,
type = "pearson",
missing = "pairwise.complete.obs",
sidSig = "twotailed",
scale = "raw0",
shwSig = FALSE,
flgSig = TRUE,
cen = FALSE,
plot = TRUE,
model = "glasso",
layout = "spring",
shape = "circle",
plot2 = FALSE,
width = 500,
height = 500,
width1 = 500,
height1 = 500,
angle = 0
)
data |
The data as a data frame. |
vars |
. |
ctrlvars |
. |
type |
. |
missing |
. |
sidSig |
. |
scale |
. |
shwSig |
. |
flgSig |
. |
cen |
. |
plot |
. |
model |
. |
layout |
. |
shape |
. |
plot2 |
. |
width |
. |
height |
. |
width1 |
. |
height1 |
. |
angle |
. |
A results object containing:
results$instructions | a html | ||||
results$text2 | a preformatted | ||||
results$matrix | a table | ||||
results$plot | an image | ||||
results$plot2 | an image | ||||
results$cen | a table | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$matrix$asDF
as.data.frame(results$matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.