FREQUENCY TO RAW

Name:

FREQUENCY TO RAW (LET)

Type:

LET Subcommand

Purpose:

Convert data in frequency format to raw format.

Description:

At times, data will be collected in a frequency format
(i.e., a value with a count of how many times that value
occurred). However, you may want to use Dataplot commands
that expect the data to be given in a single column format.
For example, if X = 2.3 has a count of 20, the value of
2.3 will simply be repeated 20 times.

Note that the maximum limit on the size of a Dataplot
variables still applies. So if the sum of the counts
array exceeds this limit, an error will be returned.

Syntax:

LET <y> = FREQUENCY TO RAW <xval> <count>
<SUBSET/EXPCEPT/FOR qualification>
where <xval> is a variable that contains the numeric
values;
<count> is a variable that contains the counts
corresponding to <xval>;
<y> is the variable to contain the raw data;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.

Examples:

LET Y = FREQUENCY TO RAW XVAL XFREQ

Default:

None

Synonyms:

None

Related Commands:

EXTEND

= Extends a variable by another variable.

LET

= Creates, transforms, etc. a variable.

STACK

= Convert a set of response variables to a single
response variable and a tag variable.