DBTable.SubsetRandomSampling

Creates a new spreadsheet containing the specified subset of the current spreadsheet using Random Sampling.

This property is read only.

Syntax Parameters Return Value
ReadOnly Property DBTable.SubsetRandomSampling( _
    Variables As Variant, _
    samplingType As RandomSamplingType, _
    PctOrNumberOfCases As Double, _
    Optional bWithReplacement As Boolean = False, _
    Optional bUseSpreadsheetCaseWeights As Boolean = False) As Spreadsheet
  • Variables [in]

    Type: Variant

  • samplingType [in]

    Type: RandomSamplingType

  • PctOrNumberOfCases [in]

    Type: Double

  • bWithReplacement [in, optional]

    Type: Boolean

    Default value: False

  • bUseSpreadsheetCaseWeights [in, optional]

    Type: Boolean

    Default value: False

Spreadsheet