Stack Columns Dialog Function
DESCRIPTION:
This function is used by the Stack Columns dialog.
USAGE:
menuStackColumns(target, target.col.spec="<END>", source,
source.col.spec="<ALL>", rep.source.col.spec=NULL,
rep.target.col.spec="<END>", group.col.p=T, group.col.name="<END>",
show.p=.Options$show.data.in.view)
REQUIRED ARGUMENTS:
- source
-
data set containing columns to stack.
- source.col.spec
-
columns to stack.
OPTIONAL ARGUMENTS:
- target
-
data set to contain stacked columns.
- target.col.spec
-
names for stack column.
- rep.source.col.spec
-
columns to replicate.
- rep.target.col.spec
-
names for replicated columns.
- group.col.p
-
logical indicating whether to create a factor column indicating the
source column for each value in the stacked column.
- group.col.name
-
name for new group column. Used if
group.col.p=T
.
- show.p
-
logical indicating whether to display the target data set in a Data
window.
VALUE:
target data set.