2
Hello, I created more than 8 thousand objects (Dataframes) in R. However, when trying to loop one of the columns of each object, I always have answers that the function used does not read non-numerical objects. how do I fix this?
for(i in 10:13) {
nam <- paste("mu04mun_", i, sep = "")
d <- paste0("sub04mun", i, "$des_flo_04")
assign(nam, qnorm(d))
}
Error in qnorm(d) Non-numerical argument for mathematical function
Try
qnorm(get(d))
.– Rui Barradas