This function provides a convenient abstraction of lapply()
, random_profile()
, and combine()
which are typically used together to create a SoilProfileCollection
object with >1 soil profiles. rp()
creates zero-padded integer IDs for logical sorting and indexing of profiles. For more complex IDs or additional flexibility, see random_profile()
. See random_profile()
for all possible arguments.
rp(size, prefix = NULL, ...)
integer, number of requested profiles
prefix added to zero-padded, integer IDs
additional arguments to random_profile()
a SoilProfileCollection
object