Posts by leo economista • 63 points
2 posts
-
5
votes0
answers49
viewsQ: Consider return routes in the same way
I’m having trouble coding the variable rota in the R so that it assumes a unique value when the route is the same, independent of the point of origin (first 4 characters of the route variable) and…
-
1
votes2
answers509
viewsQ: How to create a sequence of dummy variables with loop in r
I would like to create Dummies to identify the company in the database. For example, a new variable called "GLO" would be 1 if the enterprise variable assumed the value GLO and 0 c.c. The data…