pnfplottxt: Generate a classical TXT point and figure plot.

Description Usage Arguments References See Also Examples

Description

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

Usage

1
2
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

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)
pnfplottxt(pnfdata,boxsize=1L,log=FALSE)

Example output

--------+------------------
   53.00|   X     X X          
   52.00|   XO+   XOXO+        
   51.00|O+ XO +  XOXO +       
   50.00|OX+XO  X XO O  +      
   49.00|OXOXO  XOX  O   +     
   48.00|OXOXO  XOX +O    X <==
   47.00|OXO+O  XOX+ O    X    
   46.00|OX  OX XO+  O    X    
   45.00|OX  OXOX    O  X X    
   44.00|OX  OXOX    O  XOX    
   43.00|OX  O OX    OX XOX    
   42.00|O     O     OXOXOX    
   41.00|            OXOXOX    
   40.00|            OXO O     
   39.00|            OX        
   38.00|            OX        
   37.00|            OX        
   36.00|            O         
--------+------------------
       Y|222222222222222222
       Y|000000000000000000
       Y|111111111111111111
       Y|444444555555555555
        |                  
       M|111111000000000001
       M|000112113377788890
        |                  
       D|012021021301222220
       D|964788600074156741

rpnf documentation built on May 2, 2019, 5:49 p.m.