Extending / converting a sparse matrix into a larger sparse matrix
问题 I am aware that the title of this question is confusing, if not wrong. Sorry for this, let me explain what I try to do: # I have a population of individuals: population <- c("Adam", "Bob", "Chris", "Doug", "Emily", "Frank", "George","Harry", "Isaac", "Jim", "Kyle", "Louis") population_size <- length(population) # this is 12 # I then draw a sample from this population mysample_size <- 5 mysample <- sample(population,mysample_size, replace=FALSE) # I then simulate a network among the people in