R/fpca.start.R

Defines functions fpca.start

Documented in fpca.start

fpca.start <- function(A, maxsteps = 200, tol = 1e-3, normalised = T, K = 2, score = F, ridge = T, approx = F){

	if(score == F) return.obj = fpca.nonscore(A = A, maxsteps = maxsteps, tol = tol, normalised = normalised, K = K, ridge = ridge, approx = approx)
	
	if(score == T) return.obj = fpca.score(A = A, maxsteps = maxsteps, tol = tol, K = K, ridge = ridge, approx = approx)
	
	return(return.obj)
}

Try the FusedPCA package in your browser

Any scripts or data that you put into this service are public.

FusedPCA documentation built on May 29, 2017, 9:19 p.m.