Learn R Programming

singR (version 0.1.3)

NG_number: 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")

Value

the number of non-Gaussian components in the data.

Arguments

data

original matrix with n x p.

type

'S1', 'S2' or 'S3'

Examples

Run this code
library(singR)
data("exampledata")
data=exampledata
NG_number(data$dX)

Run the code above in your browser using DataLab