Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
gg <- sample_correlated_gnp_pair(n = 10, corr = .8, p = .5,
directed = FALSE)
gg
cor(as.vector(gg[[1]][]), as.vector(gg[[2]][]))
# }
Run the code above in your browser using DataLab