# NOT RUN {
# Rotate a CP solution(param)
# Common pathway model rotation
# }
# NOT RUN {
library(umx)
# Fit 3 factor CPM
data(GFF)
selDVs = c("gff", "fc", "qol", "hap", "sat", "AD")
m1 = umxCP(selDVs = selDVs, nFac = 2, data = data, tryHard = "yes")
m2 = umxRotate(m1, rotation = "varimax", tryHard = "yes")
# }
Run the code above in your browser using DataLab