specificVar
and sharedVar
to help
computing both for a range of dimensionalities.
plotVar(datasets,regcca,dimVector,plot=FALSE)
regCCA
function, containing the
solution of the generalized CCA.specificVar
and sharedVar
to do all the computation. The purpose of this function is to provide an
easy way to visualize the properties of the reduced-dimensional
representation created by drCCA. The function also estimates the
same quantities for PCA of concatenated feature vectors to illustrate
the difference to optimal linear model based on preserving the
total variation in the whole collection of data sets.
sharedVar
,specificVar
# data(expdata1)
# data(expdata2)
# r <- regCCA(list(expdata1,expdata2))#
# plotVar(list(expdata1,expdata2),r,c(1:2),4)
Run the code above in your browser using DataLab