Tidy a cpm object
Arguments
- x
 A
cpmobject.- ...
 Additional arguments passed to
summary().- component
 A character vector indicating the component to tidy.
Value
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).