pnfplot: Generate a modern point and figure plot

Description Usage Arguments References See Also Examples

View source: R/pnfplot.R

Description

Generate a modern point and figure plot

Usage

1
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

1
2
3
4
5
6
7
8
9
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)

Example output



rpnf documentation built on May 2, 2019, 8:33 a.m.