Learn R Programming

iClick (version 1.5)

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 = "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.

Value

Plot

Details

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