Adds a row to this data frame.

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

Syntax

C#
public DataFrame AddRow(
	Object rowKey,
	params Object[] c
)
Visual Basic (Declaration)
Public Function AddRow ( _
	rowKey As Object, _
	ParamArray c As Object() _
) As DataFrame
Visual C++
public:
DataFrame^ AddRow(
	Object^ rowKey, 
	... array<Object^>^ c
)

Parameters

rowKey
Type: System..::.Object
A row key.
c
Type: array< System..::.Object >[]()[]
An array of row data.

Return Value

This data frame.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if the number of objects does not equal the number of columns in this data frame.
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the type of the given row key does not match the type of any existing row keys.

See Also