R trajectory simulation package.