How To Create Vector of Vector In R
Use a list: Think of it as a map/dictionary/associative array that is being indexed by an integer. And if you want to take a string like the one above and turn it into a list of vectors: I’m using strsplit to split by newlines, then applying strsplit again to each line. The as.numeric is there … Read more