Learn R Programming

iClick (version 1.6.1)

cutAndStack: 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 = c("l","g"), xlab = "Time",
ylab = deparse(substitute(x)))

Value

Plot

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.

Author

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

Details

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