print.ReducedImageStack: Print summary information from 'ReducedImageStack' object.

print.ReducedImageStackR Documentation

Print summary information from ReducedImageStack object.

Description

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.

Usage

## S3 method for class 'ReducedImageStack'
print(x, ...)

Arguments

x

(ReducedImageStack) A ReducedImageStack object to be messaged. It could be the return of function dim_reduce.

...

Not used.

Value

The same object that was passed as input.

See Also

dim_reduce

Examples


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)



itsdm documentation built on July 9, 2023, 6:45 p.m.