bspca3: Title

Description Usage Arguments Value Examples

View source: R/mypackage3.R

Description

Title

Usage

1
2
3
bspca3(x, k = ncol(x), type = c("Gram", "predictor"), lambda = 10000,
  ncomp = min(dim(x)), center. = TRUE, scale. = FALSE,
  bess_tol = 0.001, bess_maxiter = 100)

Arguments

x

Matrix.

k

Vector or number.

type

"Gram" or "predictor".

lambda

Lagrange multiplier.

ncomp

Number of PCs needed.

center.

If TRUE, centering x.

scale.

If TRUE, scaling x.

bess_tol

Stop condition.

bess_maxiter

Maximal iterate number.

Value

A dataframe.

Examples

1
2
3
4
5
## Not run: 
data("pitprops")
result <- bsPCA(pitprops,k=7,type="Gram")

## End(Not run)

Liming96/bspca3 documentation built on Oct. 30, 2019, 8:26 p.m.