MLC.CDL2.ID.SL: MLC.CDL2.ID.SL

Description Usage Arguments Value

View source: R/coefclust.R

Description

Find the most likely cluster in the simple linear regression for given potential centroids.

Usage

1
MLC.CDL2.ID.SL(y, x, cdataL, sum_x1, sum_x2, cs.xxL, ID, overlap)

Arguments

y

The input data (in vector format).

x

The input data (in vector format).

cdataL

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

sum_x1

Pre-computed ∑ x_i.

sum_x2

Pre-computed ∑ x_i^2.

cs.xxL

Pre-computed cs.xx list which is from cum.sum.scalar1(xc).

ID

Indices for potential centroids.

overlap

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

Value

Most likely cluster (defined by center and radius) and \hat{σ}^2.


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