GPA: Generilazed Procustes Analysis

Description Usage Arguments Examples

View source: R/GPA.R

Description

The function that calculate the new ruotate arrays

Usage

1
2
GPA(arraydata, starting_point = c("mean", "matrix"), maxit = 10,
  mindist = 1/100, n = NULL, verbose = TRUE, normalization = FALSE)

Arguments

verbose

TRUE

arraydata:

array of data whit nrow,ncolum and the number of the matrix.

starting_point:

select a starting_point for calculate GPA. "mean" used the matrix of mean for centrate the array of date. "matrix" used a matrix of array, selected with the parameter n, for centrate the array of date.

maxit:

maximum number of iteration inside the GPA funtion (default maxit=10).

mindist:

select the minimum distance between the matrix (default mindist=1).

n:

select the matrix for starting_point "matrix". It must be used into starting_point "norm" (default n=NULL).

normalization:

Procuste distance with scaling (default FALSE)

Examples

1
2
3
arraydata=array(rnorm(10*50*4),c(10,50,4))
res=GPA(arraydata)
plot(res$epsilons,type="l")

AndreaMassaro06/GPA documentation built on May 14, 2019, 8:02 a.m.