multigmmmanydata: Split the input dataset into several sub list to...

Description Usage Arguments Examples

View source: R/multigmmmanydata.R

Description

Due to the limitation of optimization that too many data would dramatically slow down the speed.

Usage

1
2
multigmmmanydata(x, grp_size = 3, lambda_lower = 0.1, lambda_upper = 1 -
  lambda_lower, sigma_lower = 0.01, debug = F)

Arguments

x

a list of numeric vector

grp_size

the normal group size for each group

lambda_lower

the lower bound of λ

lambda_upper

the upper bound of λ

sigma_lower

the lower bound of σ

debug

enable the debug mode to show par and fn

Examples

1
2
3
4
5
6
7
8
9
set.seed(0)
x1=c(rnorm(150, mean=0), rnorm(50, mean=10))
x2=c(rnorm(150, mean=20), rnorm(50, mean=40))
x3=c(rnorm(150, mean=30), rnorm(50, mean=60))
x4=c(rnorm(150, mean=30), rnorm(50, mean=60))
x5=c(rnorm(150, mean=30), rnorm(50, mean=60))
x6=c(rnorm(150, mean=30), rnorm(50, mean=60))
x=list(x1, x2, x3, x4, x5, x6)
multigmmmanydata(x)

l1kdeconv documentation built on May 2, 2019, 10:16 a.m.