map2png: Convert qm_xmap objects to png

Description Usage Arguments

Description

Convert qm_xmap objects to png

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
map2png(x, nm = "map2png.png", .min = NA, .max = NA,
  lut = c("viridis", "gray"), ...)

## Default S3 method:
map2png(x, nm = "map2png", .min = NA, .max = NA,
  lut = c("viridis", "gray"), ...)

## S3 method for class 'qm_xmap'
map2png(x, nm = "map2png", .min = NA, .max = NA,
  lut = "viridis", ...)

Arguments

x

A matrix-like numeric object

nm

A string to save 'x' as png file.

.min, .max

Minimum and maximum values for range of 'scales::squish()'

lut

Look up tables (viridis or gray). Partial matching is allowed.

...

Discarded.


atusy/mytools documentation built on May 9, 2019, 12:51 p.m.