New methods for random sampling a RIGraph and randomly adding noise. The code was already somewhere in the embed package but here seems more convenient.