Test.Cluster.Simul.SL: Test.Cluster.Simul.SL

Description Usage Arguments Value

View source: R/simultaneous.R

Description

Find and test the cluster in the simple linear regression for given potential centroids via the simultaneous detection.

Usage

1
Test.Cluster.Simul.SL(y, X, cdataL, M, ID, overlap)

Arguments

y

The input data(as a vector)

X

The input data(as a matrix)

cdataL

Pre-defined cdata list which is from List.C.Data(DMatrix,MR)

M

number of simulations

ID

Indices for potential centroids

overlap

Boolean which is TRUE for overlapping clusters / FALSE for non-overlapping clusters

Value

Most likely cluster, maximum F-statistic (of all simulations), and associated p-value.


mkamenet3/coefclust documentation built on June 28, 2020, 10:41 a.m.