homeCageEntropy: Calculate home cage entropy

View source: R/homeCageEntropy.R

homeCageEntropyR Documentation

Calculate home cage entropy

Description

Calculate the home cage entropy for a subset of the state matrix

Usage

homeCageEntropy(idx, statemat, norm = TRUE)

Arguments

idx

rows of the state matrix for which to compute entropy

statemat

state matrix where each individual is a column and elements are observed states

norm

Should the overall result be normalized to the total number of states (6)

Value

entropy for each individual in nats

Examples

## Not run: 
  test = homeCageEntropy(idx,statemat)

## End(Not run)

DJFernandes/ezHCA documentation built on June 12, 2025, 12:01 p.m.