|
´m trying to append the result of a loop which produces a vector with different length (the model output). Unfortunatley cbind only works if the vectors have the same length. How can I solve this? Thank you.
d <- lapply(1:10, function(i) {model <- code
data.frame(model)})
df_total <- do.call(cbind, d)
|