data("women", package="idm")
nc = 4 # number of chunks
### Different approaches to incremental MCA:
# Live case
res_iMCAl = i_mca(data1 = women[1:50,1:4],data2 = women[51:300,1:4],method = "live",nchunk = nc)
#static plot, final solution
plot(res_iMCAl, contrib="ctr", animation = FALSE)
#\donttest is used here because the code calls the saveGIF function of the animation package
#which requires ImageMagick or GraphicsMagick to be installed in your system
#See help(im.convert) for details on the configuration of ImageMagick or GraphicsMagick.
#Creates animated GIF movies for objects and variables
plot(res_iMCAl, contrib = "ctr", animation = TRUE, frames = 10)
Run the code above in your browser using DataLab