ChaosGame: Chaos Game

ChaosGameR Documentation

Chaos Game

Description

runChaosGame calculates the points. makeChaosGame makes a component that calculates and plots the points.

Usage

makeChaosGame(type = "points", ...)

runChaosGame(
  inputx = 0,
  inputy = 0,
  x = NULL,
  y = NULL,
  attractor = list(x = c(-1, -1, 1, 1), y = c(-1, 1, 1, -1)),
  decisions = NULL,
  runTime = 1000,
  sampleSize = NULL,
  reuseInput = FALSE,
  decisionMode = 1,
  optionsSet = NULL
)

Arguments

type

The name(s) of the plotting function(s) used to plot the component. Defaults to "points". This can also include the names of classes linked to a plotting function.

...

parameters passed to the component and the component function runChaosGame. See "details" for more information.

Examples

art=makeChaosGame(decisionMode=2,cex=0.1,pch=21,runTime=10000)
#easyPlot(art,preserveAspectRatio=TRUE)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.