Function to automatically create vector in a large list for each element of the large list
问题 I have a single Dataframe with the following structure: A.Data is a vector with numeric data A.Quartile is a vector with the calculation of quartiles for each A.data and which quartile belongs to this data. (Q1,Q2,Q3,Q4). I used a very similar code to create the quantile and the Q which belongs to. quantile(x <- rnorm(1001)) list2env(setNames(as.list(quantile(x <- rnorm(1001))),paste0("Q",1:5)),.GlobalEnv) Now, ( and here is my problem) I have a .csv that I imported into R, with more than 400