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.
Arguments
- size
integer, number of requested profiles
- prefix
prefix added to zero-padded, integer IDs
- ...
additional arguments to
random_profile()