Syntax: stom(o1, o2, smp)

Argument 1: alpha, series or group, o1

Argument 2: svector, vector or matrix, o2

Argument 3: (optional) sample smp

Series-TO-Matrix Object. If o1 is a series, stom fills the vector o2 with data from the o1 using the optional sample object smp or the workfile sample. o2 will be resized accordingly. If any observation has the value “NA”, the observation will be omitted from the vector. Example:

stom(ser1,v1)

stom(ser1,v2,smp1)

If o1 is a group, stom fills the matrix o2 with data from o1 using the optional sample object smp or the workfile sample. o2 will be resized accordingly. The series in o1 are placed in the columns of o2 in the order they appear in the group spreadsheet. If any of the series in the group has the value “NA” for a given observation, the observation will be omitted for all series. Example:

stom(grp1,m1)

stom(grp1,m2,smp1)

If o1 is an alpha-series, stom fills the svector o2 with data from o1 using the optional sample object smp or the workfile sample. o2 will be resized accordingly.