print.lassie: Print a lassie object

View source: R/lassie.R

print.lassieR Documentation

Print a lassie object

Description

Print a lassie object as an array or a data.frame.

Usage

## S3 method for class 'lassie'
print(x, type, what_x, range, what_range, what_sort, decreasing, na.rm, ...)

Arguments

x

lassie S3 object.

type

print style: 'array' for array or 'df' for data.frame.

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).

range

range of values to be retained (vector of two numeric values).

what_range

character specifying what value range refers to (same options as what_x). By default, takes the first value in what_x.

what_sort

character specifying according to which values should x be sorted (same options as what_x). By default, takes the first value in what_x.

decreasing

logical value specifying sort order.

na.rm

logical value indicating whether NA values should be stripped.

...

other arguments passed on to methods. Not currently used.

See Also

lassie, permtest, chisqtest


oliviermfmartin/zebu documentation built on Sept. 1, 2023, 9:12 p.m.