Learn R Programming

netdiffuseR (version 1.22.6)

diffnet_check_attr_class: Infer whether value is dynamic or static.

Description

Intended for internal use only, this function is used in diffnet_index methods.

Usage

diffnet_check_attr_class(value, meta)

Value

The value object either as a data frame (if static) or as a list of data frames (if dynamic). If value does not follows the permitted types of diffnet_index, then returns with error.

Arguments

value

Either a matrix, data frame or a list. Attribute values.

meta

A list. A diffnet object's meta data.