NG_number {singR} | R Documentation |
find the number of non-Gaussian components in the data.
Description
find the number of non-Gaussian components in the data.
Usage
NG_number(data, type = "S3")
Arguments
data |
original matrix with n x p. |
type |
'S1', 'S2' or 'S3' |
Value
the number of non-Gaussian components in the data.
Examples
library(singR)
data("exampledata")
data=exampledata
NG_number(data$dX)
[Package singR version 0.1.2 Index]