lassie_get {zebu}R Documentation

Return the value of 'lassie' object

Description

Subroutine for lassie methods. Tries to retrieve a value from a lassie object and gives an error if value does not exist.

Usage

lassie_get(x, what_x)

Arguments

x

lassie S3 object.

what_x

vector specifying values to be returned:

  • 'local': local association measure values (default).

  • 'obs': observed probabilities.

  • 'exp': expected probabilities.

  • 'local_p': p-value of local association (after running permtest or chisqtest).

Value

Corresponding array contained in lassie object.

Examples

las <- lassie(trees)
las_array <- lassie_get(las, 'local')


[Package zebu version 0.2.2.0 Index]