yearTable: Plot images by years and month

Description Usage Arguments Details Value

View source: R/yearTable.R

Description

Bespoke function for Quan Seminar talk. Month on y-axis and year on x-axis. Each cell is a color-coded image type (e.g. upwelling or not)

Usage

1
2
3
4
5
6
7
8
9
yearTable(
  X2,
  method = c("kmeans", "hclust.complete", "hclust.ward", "dbscan"),
  K = 3,
  iter.max = 25,
  nstart = 100,
  eps = 7,
  dist.type = c("euclidian", "correlation", "euclidian2", "canberra")
)

Arguments

X2

matrix where each row is a vectorized image

method

What clustering function to use.

K

Number of clusters

iter.max

Passed to the kmeans function.

nstart

Passed to the kmeans function.

eps

?

dist.type

Distance function to use in the clustering.

Details

Notes: Probably too customized and prelimanary to keep.

Value

A list with two types of objects: a heatmap and a dendogram.


UW-Upwelling-Project/imageryML documentation built on Dec. 18, 2021, 6:11 p.m.