PCA2face: Given a pfaces object, reconstruct faces

Description Usage Arguments

View source: R/pfaces.R

Description

Given a pfaces object, reconstruct faces and returns an afaces object.

Usage

1
PCA2face(PCA, pos = c(0, 0), amp = 1, xax = 1, yax = 2)

Arguments

PCA

a pfaces object

pos

a vector of length 2 or a 2-col matrix specifying the position on the factorail place (xax, yax) to use to reconstruct faces ((c(0, 0) by default)

amp

numeric an amplification factor (1 by default)

xax

integer which PC to use as the 1st axis (1st by default)

yax

integer which PC to use as the 2nd axis (2nd by default)


vbonhomme/eigenfaces documentation built on May 3, 2019, 4:35 p.m.