Learn R Programming

rpnf (version 1.0.5)

pnfplot: Generate a modern point and figure plot

Description

Generate a modern point and figure plot

Usage

pnfplot(data, reversal = 3, boxsize = 1, log = FALSE, ...)

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
...
any additional options for the plot command

References

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

See Also

pnfprocessor

pnfplottxt

Examples

Run this code
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)  
pnfplot(pnfdata,boxsize=1L,log=FALSE)

Run the code above in your browser using DataLab