FHCSnumStarts: Computes the number of starting q-subsets

Description Usage Arguments Value Author(s) Examples

View source: R/FastHCS.R

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

1
  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.

Author(s)

Kaveh Vakili

Examples

1
FHCSnumStarts(q=3,gamma=0.99,eps=0.4)

Example output

Loading required package: matrixStats
Loading required package: robustbase

Attaching package: 'robustbase'

The following objects are masked from 'package:matrixStats':

    colMedians, rowMedians

[1] 40

FastHCS documentation built on July 8, 2020, 7:14 p.m.