Home   >   User Resources   >   Online Help   >   apaCharts.Line.Split
 

 

Function index Version 3.0.0

apaCharts.Line.Split(DataVector, SeriesIndices)

Excel=apaCharts.Line.Split(DataVector, SeriesIndices)

Result

Creates input data for a line chart from a data vector split into several series. Each column of the result contains the data points of one series, all other cells contain #N/A.

Syntax

DataVector: r x 1 data vector

SeriesIndices: r x 1 vector of 1-based series indices, one per observation

Algorithm

Each observation is assigned to the column given by its series index.

Remarks

The number of columns of the result equals the largest series index.