Thus do they all: a model for R&D investment