powered by
Subset demand points from a RapData(), RapUnsolved(), or RapSolved() object.
RapData()
RapUnsolved()
RapSolved()
dp.subset(x, space, species, points)# S3 method for RapData dp.subset(x, space, species, points)# S3 method for RapUnsolOrSol dp.subset(x, space, species, points)
# S3 method for RapData dp.subset(x, space, species, points)
# S3 method for RapUnsolOrSol dp.subset(x, space, species, points)
RapData() or RapUnsolved() object depending on input object.
RapData(), RapUnsolved(), or RapSolved() object.
integer vector to specify the index of the space to subset demand points from.
integer
integer vector to specify the index of the species to subset demand points from.
integer vector to specify the index of demand points to subset.
RapData(), RapUnsolved(), RapSolved().
if (FALSE) { # load data data(sim_ru) # generate new object with first 10 planning units sim_ru2 <- dp.subset(sim_ru, 1, 1, seq_len(10)) }
Run the code above in your browser using DataLab