is.lpcor: Coerce to an object of class lpcor

View source: R/is.lpcorr.R

is.lpcorR Documentation

Coerce to an object of class lpcor

Description

[Stable]

Functions to check if an object is of class lpcor

Usage

is.lpcor(x)

Arguments

x

An object to check.

Value

A logical value TRUE or FALSE.

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)



metan documentation built on March 7, 2023, 5:34 p.m.