wc.disc: within-column sorting of discrete values

Description Usage Arguments Details

Description

Within column sorting of values

Usage

1
wc.disc(X, colorSeq = rev(sort(unique(X))), naLast = F)

Arguments

X

a matrix: each row a subject, each column a time/location across subjects

colorSeq

a vector with the unique elements of X presented in the order of the desired resultant sorting. Defaults to having lowest value sort to the bottom, highest value to the top.

naLast

defaults to false; should NA values be sorted to first position or last. Defaults to FALSE. ## within-column for discrete

Details

wc sorts within-columns, scrambling the subject-specific nature of the rows but revealing a group-level temporal patterns. As with wr there is a discrete and continuous implementation wc.disc and wc.cont


swihart/lasagnar documentation built on May 30, 2019, 9:39 p.m.