chaos: Chaos Games for Sierpinski (Pedal) Triangle

Description Usage Arguments Details Value Author(s) References Examples

View source: R/chaos.R

Description

To construct SPT/ST via Chaos games.

Usage

1
  chaos(abc,...)

Arguments

abc

An R object of class 'st' or 'spt'.

...

Controls.

Details

If 'abc' is an acute triangle or obtuse 'st' triangle, the algorithms works. For obtuse 'spt' triangle, we need think of something else to measure the dimention.

Value

Iteration number should be large (say 10000).

Author(s)

B. Wang bwang@jaguar1.usouthal.edu

References

Zhang, XM., Hitt, R. Wang, B. and Ding, J. (2008). Sierpinski Pedal Triangle. Fractals. 16(2): 141-150.

Examples

1
2
3
4
(abc1 = st(50,60))
chaos(abc1, iter=2000)
(abc2 = spt(50,60))
chaos(abc2,iter=1000)

spt documentation built on May 30, 2017, 1:36 a.m.

Search within the spt package
Search all R packages, documentation and source code