Learn R Programming

FastHCS (version 0.0.7)

FHCSnumStarts: Computes the number of starting q-subsets

Description

Computes the number of starting q-subsets to take so that there is a 99 This is an internal function not intended to be called by the user.

Usage

FHCSnumStarts(q,gamma=0.99,eps=0.5)

Arguments

q

Number of desired components for the PCA model.

gamma

Desired probability of having at least one clean starting q-subset.

eps

suspected contamination rate of the sample.

Value

An integer number of starting q-subsets.

Examples

Run this code
# NOT RUN {
FHCSnumStarts(q=3,gamma=0.99,eps=0.4)
# }

Run the code above in your browser using DataLab