0
As an R beginner I would appreciate any input to improve the efficiency of the following code:
combinations <- expand.grid(
X <- seq(0, 5, by = 1)
, Y <- seq(0, 1, by = 1)
)
combinations <- setNames(combinations, c("X", "Y"))
results = data.frame()
for (row in 1:nrow(com...