Print a summary of the resampling
object.
Usage
# S3 method for resampling
print(x, nrows = 5L, nchars = 10L, ...)
Arguments
- x
an object of class
resampling
- nrows
integer, the number of samples to show. If more than one value is provided, it indicates the indices of samples to show
- nchars
integer, the maximum number of characters to show in the summary table
- ...
additional print arguments
Examples
#resampling object
x = resampling(
method = 'rswor',
N = 10,
samples = list(c(1,5,7), c(6,2,9))
)
#print
print(x)
#>
#> 2 samples taken from a population of 10 elements by using random
#> sampling without replacement.
#>
#> sampleNumber sample sampleSize holdoutSize
#> 1 1 1, 5, 7 3 7
#> 2 2 6, 2, 9 3 7
#>