library(RCPA3)
correlateC(x=list(abortlaws, women.stateleg), data=states, plot=FALSE)
if (FALSE) {
# with weighted observations and inferential statistics
correlateC(x=list(nes$ft.rep, nes$ft.trump.pre, nes$ft.dem, nes$ft.biden.pre),
w=nes$wt, stats=TRUE)
}
Run the code above in your browser using DataLab