randomlines can sample by frequency, in addition to absolute lines