--sort

Switch

--sort

Description

Modifies the output of a correlation generated by --correlate (with --rmatrix and/or --csv) to append a second copy of the results sorted by effect size, in addition to the default alphabetical-by-feature listing.

Argument and Default Value

No argument. Boolean switch, default: False.

Other Switches

Required Switches:

Optional Switches:

Example Commands

Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial):

dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$1to3gram$msgs$user_id$0_05' \
--outcome_table blog_outcomes --outcomes age gender \
--output_name test_correlation --correlate --rmatrix --csv --sort