as.lpcor {metan} | R Documentation |
Coerce to an object of class lpcor
Description
Functions to check if an object is of class lpcor
, or coerce it if
possible.
Usage
as.lpcor(...)
Arguments
... |
A comma-separated list of matrices to be coerced to a list. |
Value
An object of class lpcor
.
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
Examples
library(metan)
library(dplyr)
mt_num = mtcars %>% select_if(., is.numeric)
lpdata = as.lpcor(cor(mt_num[1:5]),
cor(mt_num[1:5]),
cor(mt_num[2:6]),
cor(mt_num[4:8]))
is.lpcor(lpdata)
[Package metan version 1.18.0 Index]