partial | R Documentation |
Partial Correlation
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
)
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 |
. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.