frozen_guided_tour: The frozen guided tour

View source: R/tour-frozen.r

frozen_guided_tourR Documentation

The frozen guided tour

Description

The frozen guided tour

Usage

frozen_guided_tour(frozen, index_f, d = 2, max.tries = 25)

Arguments

frozen

matrix of frozen variables, as described in freeze

index_f

the index function to optimise.

d

target dimensionality

max.tries

the maximum number of unsuccessful attempts to find a better projection before giving up

See Also

cmass, holes and lda_pp for examples of index functions. The function should take a numeric matrix and return a single number, preferrably between 0 and 1.

Examples

frozen <- matrix(NA, nrow = 4, ncol = 2)
frozen[3, ] <- .5
animate_xy(flea[, 1:4], frozen_guided_tour(frozen, holes()))

tourr documentation built on May 29, 2024, 11:22 a.m.