If you use this software, please cite the manuscript:

I. Epifanio. Functional archetype and archetypoid analysis

The following functions compute FAA and FADA for univariate functions:

FstepArchetypesMod.R
FstepArchetypoids.R
FFunctions_to_calculate_real_archetypes_with_swap2.R

The following functions compute FAA and FADA for bivariate functions:

FstepArchetypesModB.R
FstepArchetypoidsB.R
FFunctions_to_calculate_real_archetypes_with_swap2B.R

They are used in the examples and problems:

*Canadian: data and file archetypoidscanadian.R for reproducing the results
*waveform: data and files for reproducing the results (they appear in http://arxiv.org/abs/1601.06911v1)
-functarchwaveform.R with basis expansion
-puntuales.R discretizing function, with and without smoothing
-faac.R like in Constantini et al.
-gvlambda.R for determining lambda in smoothing
-comparetest.R for comparing the results

*Dataworld: data and files for reproducing the results
 
