cutAndStack {iClick}R Documentation

Cut and Stack Plotting Function

Description

This function calls cut() to cut tiimeseries into several equal periods and plots over time.

Usage

cutAndStack(x, number, overlap = 0.1, type = "l", xlab = "Time",
ylab = deparse(substitute(x)))

Arguments

x

A timeSeries object, single time series price.

number

Number of equal cut.

overlap

Percentage of overlapping across cuts.

type

Type of line.

xlab

Label of X axis.

ylab

Label of Y axis.

Details

This function is within the iClick GUI, is executed within iClick.VisAssetprice().

Value

Plot

Author(s)

Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University


[Package iClick version 1.5 Index]