Learn R Programming

IFC (version 0.2.1)

convert_spillover: Spillover Converter

Description

Converts spillover matrix to spillover keyword and reversely

Usage

convert_spillover(spillover)

Value

if 'spillover' is a matrix, it returns a string. If 'spillover' is a string, it returns a matrix. In all cases if spillover is of length 0, it will return NULL.

Arguments

spillover

either a spillover matrix or a spillover keyword