ReducedImageStack
object.R/print.R
print.ReducedImageStack.Rd
Display the most general and informative characteristics of a ReducedImageStack object, including the set threshold, original variables, and the selected variables and the correlations between them.
# S3 method for ReducedImageStack
print(x, ...)
(ReducedImageStack
) A ReducedImageStack
object to be messaged.
It could be the return of function dim_reduce
.
Not used.
The same object that was passed as input.
# \donttest{
library(itsdm)
library(dplyr)
library(stars)
env_vars <- system.file(
'extdata/bioclim_tanzania_10min.tif',
package = 'itsdm') %>% read_stars()
img_reduced <- dim_reduce(env_vars, threshold = 0.7,
preferred_vars = c('bio1', 'bio12'))
print(img_reduced)
# }