how do you create a loop in the data.frame so that X1 = 2 up to X12 = 13?
#Automate variable names trial
Y <- dataL_TT$Bound_Count
X1 <- dataL_TT$Days_conflict
X2 <- dataL_TT$Broker360
X3 <- dataL_TT$Broker720
X4 <- dataL_TT$RURALPOP_2
X5 <- dataL_TT$RURALPOP_M
X6 <- dataL_TT$PIP_Flag
X7 <- dataL_TT$Trail
X8 <- dataL_TT$Trail2
X9 <- dataL_TT$Individual_2
X10 <- dataL_TT$Individual_M
X11 <- dataL_TT$Resolved_Conflict
X12 <- dataL_TT$Priority
d <- data.frame(Y = 1, X1 = 2, X2 = 3, X3 = 4, ....., X12 = 13)