Calculate proportion of each component in gam model

calcProp_gam(eNODAL_obj, index, Cl_sel)

Arguments

eNODAL_obj

An eNODAL_obj object

index

A number specify which column to calculate

Cl_sel

A text specify which cluster this variable belongs to

Value

A vector contain proportion of variance each component explained.