Uses of Class
edu.cmu.tetrad.data.LongToWide
Packages that use LongToWide
-
Uses of LongToWide in edu.cmu.tetrad.data
Methods in edu.cmu.tetrad.data that return LongToWideModifier and TypeMethodDescriptionLongToWide.setAggregation(String variable, LongToWide.Aggregation aggregation) Sets the aggregation used for a value variable whose (unit, level) combinations are duplicated.LongToWide.setDefaultAggregation(LongToWide.Aggregation aggregation) Sets the aggregation used for value variables not given one byLongToWide.setAggregation(String, Aggregation).LongToWide.setIncludeValueName(boolean includeValueName) If false, and exactly one value variable is spread, output columns are named by level alone (e.g.,Finalrather thanscore.Final).LongToWide.setKeepRowKeys(boolean keepRowKeys) If true, the row key variable(s) are kept as the leading column(s) of the wide data set (as discrete variables, one category per observed value).LongToWide.setLevelNames(Map<String, String> levelNames) Sets short names for levels of the column key: an output column for levelLuseslevelNames.get(L)in place ofLwhen present.LongToWide.setSanitizeNames(boolean sanitizeNames) If true (the default), output column names have runs of characters other than letters, digits, underscore, period, and hyphen replaced by a single underscore, so that they survive whitespace-delimited contexts such as knowledge files.LongToWide.setSeparator(String separator) Sets the separator between a value variable's name and the level suffix.LongToWide.setValueVariables(List<String> names) Sets the value variables to spread.