model.motion: Static Model generator for Motion

Description Usage Arguments Value

View source: R/modelMotion.R

Description

This uses chartBroadcast and createMoveMapping to summarize the occurences of different patterns. This excludes jacks.

Suppression

Suppression works by reflecting the inverse function used by diffs.inv on specified suppress.threshold value.

Suppression for smaller values can be further controlled via suppress.scale. Where smaller values are suppressed further with higher suppress.scale.

Usage

1
2
model.motion(chart.ext, suppress = T, suppress.threshold = 50,
  suppress.scale = 2, directions.mapping = NA)

Arguments

chart.ext

The chart generated from chartExtract

suppress

A Logical determining if suppresion should occur

Suppression does not happen to direction 'jack'

suppress.threshold

If suppress is True, this will reflect the inverse function at this point. Creating a piecewise function where the suppress function is

suppress.scale

If suppress is True, this will expand the x range. In other words, smaller diffs will have a lower diffs.inv when this increases.

directions.mapping

A data.frame to be merged with the output directions to generate weights.

It must hold the columns directions and weights

If NA, .dflt.model.motion.mapping will be used

Value

Returns a data.frame compatible with model.sim


Eve-ning/vsrgtools documentation built on Oct. 30, 2019, 5:40 p.m.