Unstack Columns Dialog Function

DESCRIPTION:

This function is used by the Unstack Columns dialog.

USAGE:

menuUnstackColumns(target, target.col.spec, source, source.col.spec, 
     type="Group Column", group=NULL, unstack.lengths=1, 
     show.p=.Options$show.data.in.view) 

REQUIRED ARGUMENTS:

source
data set containing columns to unstack.
source.col.spec
columns to unstack.

OPTIONAL ARGUMENTS:

target
data set to contain unstacked columns.
target.col.spec
names for unstacked columns.
type
character string "Group Column" or "Number of Rows" indicating whether the columns should be split based upon a grouping column or upon a specified number of rows per new column.
group
name of grouping column. Used if type="Group Column".
unstack.lengths
number of rows per group. Used if type="Number of Rows".
show.p
logical indicating whether to display the target in a Data window.

VALUE:

target data set.

SEE ALSO: