cpm.train.RdTraining a connectome-based predictive model using a fixed p-value threshold
cpm.train(data, outcome, p = 0.05)Returns a list object containing
weights vector of 1s (positive edges), 0s and -1s (negative edges) indicating the selected edges
pos.network.coef linear regression coefficients of the positive network strength model
neg.network.coef linear regression coefficients of the negative network strength model
both.network.coef linear regression coefficients of the positive and negative network strength model
This function implements the connectome-based prediction model described in Shen et al. (2017)
if (FALSE) { # \dontrun{
model1=cpm.train(data=FC_data,outcome=dat_beh$age, p=0.05)
} # }