R/sampling_curves.R
subsample.RdReorder a sampling curve object, optionally subsampling a given fraction
subsample(x, fraction = 1)
| x | A |
|---|---|
| fraction | A fraction from 0-1 specifying the proportion of connections to keep in the sample. |
A new samplingcurve object
head(scuniform)#> new partner #> 1 1 15 #> 2 2 9 #> 3 3 18 #> 4 3 9 #> 5 4 12 #> 6 5 16