tours: Constructs a various tours of data space

toursR Documentation

Constructs a various tours of data space

Description

Constructs a various tours of data space

Usage

randomPath(data, length = 10, reorder = TRUE, conditionvars = NULL, ...)

seqPath(data, length = 10, reorder = FALSE, conditionvars = NULL, ...)

alongPath(data, var, length = 10, current = NULL, ...)

Arguments

data

A dataframe

length

Path length, defaults to 10

reorder

If TRUE (default) uses DendSer to reorder the path dser

conditionvars

A vector of variable names. The returned tour is for this subset of variables.

...

ignored

var

A variable name for alongPath

current

Default value of variables for alongPath

Value

A dataframe with the path

Functions

  • randomPath(): Constructs a tour of data space following random observations

  • seqPath(): Constructs a tour of data space following first length observations

  • alongPath(): Constructs a tour of data space of length equi-spaced values in the range of var. If var is a factor, its levels are used.

Examples

randomPath(mtcars,length=5)
seqPath(mtcars,length=5)
alongPath(mtcars,var="mpg", length=5, current=mtcars[1,])

condvis2 documentation built on Sept. 14, 2022, 5:06 p.m.