Learn R Programming

SemiSupervised (version 1.0)

x.scaleL: Scale a data set in accordance to a labeled index set

Description

This method centers and scales the columns of a numeric matrix using the means and columns derived from a subset of its indices.

Usage

x.scaleL(x,L,sanity=TRUE,sanity.only=FALSE)

Arguments

x

a numeric object with n rows and p columns.

L

the index set to define the means and variances.

sanity

a flag to indicate whether x should be converted to a ‘matrix’ form.

sanity.only

this flag bypasses the scaling but does coerce x to a ‘matrix’.