Get the indexes of unique profiles in a SoilProfileCollection
Calculate MD5 hash of each profile in a SoilProfileCollection for the specified variables.
## S4 method for signature 'SoilProfileCollection' unique(x, vars)
x |
a SoilProfileCollection |
vars |
Variables to consider in uniqueness. |
data(sp5) # find indices where all specified vars are unique # these match the indices of all profiles in sp5 # therefore, all profiles in sp5 are unique all(unique(sp5, vars=c("id","sand","silt","clay") == 1:length(sp5)))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.