Print a lassie
object as an array or a data.frame.
# S3 method for lassie
print(x, type, what_x, range, what_range, what_sort, decreasing, na.rm, ...)
lassie
S3 object.
print style: 'array' for array or 'df' for data.frame.
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 of values to be retained (vector of two numeric values).
character specifying what value range
refers to
(same options as what_x
).
By default, takes the first value in what_x
.
character specifying according to which values should x
be sorted
(same options as what_x
).
By default, takes the first value in what_x
.
logical value specifying sort order.
logical value indicating whether NA values should be stripped.
other arguments passed on to methods. Not currently used.
lassie
, permtest
, chisqtest