How do I access vectors inside of another vector (or another array) in a way that I can save values inside it?
set <- c(a, b, c, d, e); while a, b, c, d, e are defined as vectors.
I want to access vector a, so I can save values in it and select it separately.
I have a loop in my script that practically does the same thing with different inputs and my intention is to save the output of each iteration in a different vector. Probably a rather basic problem, I'm quite new in R and so far I couldn't find a solution.