tidy.cpm | R Documentation |
cpm
objectTidy a cpm
object
## S3 method for class 'cpm'
tidy(x, ..., component = c("performance", "edges"))
x |
A |
... |
Additional arguments passed to |
component |
A character vector indicating the component to tidy. |
A tibble with columns storing parameters of the
cpm()
object and further columns depending on the component
argument:
For component = "performance"
:
method |
The method used to calculate the correlation between the real and predicted values. |
pos |
The correlation between the real and predicted values for positive edges. |
neg |
The correlation between the real and predicted values for negative edges. |
For component = "edges"
:
level |
The proportional threshold for edge selection. |
pos |
A logical vector indicating whether each edge is selected based on the edge_level (positive). |
neg |
A logical vector indicating whether each edge is selected based on the edge_level (negative). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.