pnfplottxt {rpnf}R Documentation

Generate a classical TXT point and figure plot.

Description

THIS FUNCTION IS STILL UNDER DEVELOPMENT, THEREFORE IT MIGHT BE SUBJECT TO CHANGE!

Usage

pnfplottxt(data, reversal = 3, boxsize = 1, log = FALSE, main = NULL,
  sub = NULL)

Arguments

data

a data frame object containing point and figure informations to be plotted

reversal

number of boxes used in pnfprocessor

boxsize

the boxsize used in pnfprocessor

log

are calculations done in logarithmic mode

main

a string used as a main title of the chart

sub

a string used as a sub title of the chart

References

http://rpnf.r-forge.r-project.org

See Also

pnfprocessor

pnfplot

Examples

library(rpnf) # Load rpnf library
data(DOW) # (Offline) Load free available sample data from https://www.quandl.com/data/WIKI/DOW
pnfdata <- pnfprocessor(
  high=DOW$High,
  low=DOW$Low,
  date=DOW$Date,
  boxsize=1L,
  log=FALSE)  
pnfplottxt(pnfdata,boxsize=1L,log=FALSE)

[Package rpnf version 1.0.5 Index]