Splitting output field strings after stats2 -a corr #645
Unanswered
NikosAlexandris
asked this question in
Q&A
Replies: 1 comment
-
As a work-around, I can think of adding a sequence of characters (say |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following command
will create a new CSV file with two fields. Each record's first field will contain the concatenation of the input field names (each time a single pair) followed by the suffix
_corr
.The
combine_variables
function does:to combine in all possible ways strings from
$FIELDS_A
and$FIELDS_B
.I wonder if there is a way to fine control this string because it is not easy to split the combined string and create a new field/s that possibly help/s grouping the data in other categories.
So, given an input field pair
field_a
andfield_b
, the first field in the output record will befield_a_field_b_corr
.It would be nice, if for example the field name could be
field_a_vs_field_b
or else, using some unique sequence of characters that can be used to split the columns.Does this make sense? How can this be done?
Beta Was this translation helpful? Give feedback.
All reactions