Tabulates the results of applying the given delegate to the values in the specified data column for each level of the specified factor.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public DataFrame Tabulate(
	int factorColIndex,
	int dataColIndex,
	StatsFunctions..::.DateTimeIDFColumnFunction function
)
Visual Basic (Declaration)
Public Function Tabulate ( _
	factorColIndex As Integer, _
	dataColIndex As Integer, _
	function As StatsFunctions..::.DateTimeIDFColumnFunction _
) As DataFrame
Visual C++
public:
DataFrame^ Tabulate(
	int factorColIndex, 
	int dataColIndex, 
	StatsFunctions..::.DateTimeIDFColumnFunction^ function
)

Parameters

factorColIndex
Type: System..::.Int32
The index of the column for the grouping factor.
dataColIndex
Type: System..::.Int32
The index of the data column.
function
Type: CenterSpace.NMath.Stats..::.StatsFunctions..::.DateTimeIDFColumnFunction
A delegate that takes a data frame column and returns a datetime value.

Return Value

A new data frame.

Remarks

The returned data frame has row keys containing the sorted, unique factor levels as strings. The only column, a DFDateTimeColumn named Results, contains the results of applying the given delegate to the values in the data column tabulated for each level of the factor.
A final row is appended, with key Overall, containing the results of applying the given delegate to all values in the data column.

See Also