Learn R Programming

modchart (version 0.5)

df2g: df2g

Description

This is a utility function to create a 'graph' data structure to pass to chart module

Usage

df2g(title, dxy, ndim = 1, nseries = 1)

Arguments

title

is the title for the chart

dxy

is the dataframe to draw the chart from

ndim

is the number of dimensions in the xl file; it is assumed these are in the first ndim columns of the xl

nseries

is the number of series in the xl file; it is assumed these are in the last nseries columns of the xl