# NOT RUN {
# Will write files on your machine!
bf <- efourier(bot, 6)
# Export Coe (here Fourier coefficients)
export(bf) # data.txt which can be opened by every software including MS Excel
# If you come from a country that uses comma as decimal separator (not recommended, but...)
export(bf, dec=',')
export(bf, file='data.xls', dec=',')
# Export PCA scores
bf %>% PCA %>% export()
# for shapes (matrices)
export(bot[1], file='bot1.txt')
# remove these files from your machine
file.remove("coefficients.txt", "data.xls", "scores.txt")
# }
Run the code above in your browser using DataLab