I find this very interesting. A bit of Googling found a number of sites that attempt to calculate the best vegetables to grow at home in terms of cost-to-buy[1]. It turns out that lettuce is a pretty good choice, since I suspect it sells better than the few items above it on the list.
[1] eg http://www.cheapvegetablegardener.com/most-profitable-plants...