Skip to contents

Falls back to positional band ids when the matrix has no column names – otherwise colnames() returns NULL and data.frame() fails with "arguments imply differing number of rows: 0, 2".

Usage

feature_minmax(M)

Arguments

M

Numeric matrix, ideally with named columns

Value

Data frame with columns: band, min, max