Posts by Leonardo Abreu • 21 points
1 post
-
2
votes1
answer60
viewsQ: Apply a function varying between categories in R
I need to calculate the elasticity - price of demand of a specific product (percentage variation of the quantity demanded divided by the percentage variation of the price). For that I made the…