79403756

Date: 2025-01-31 18:55:33
Score: 1
Natty:
Report link
retailPRICE$cheapestSTORE = colnames(retailPRICE)[apply(retailPRICE, 1, which.min)]

This should do it. You will get some warnings due to the names and missing values but would get the result you want.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: J Suay