Skip to contents

This function plots values corresponding to each hour on a rose plot.

Usage

day_chart(hvalue, high = "blue", low = "yellow", width = 0.8)

Arguments

hvalue

A numeric vector having values at each of 24 hours (starts from 6 am)

high

The color name for the high values. The default is red

low

The color name for the high values. The default is green.

width

Width of bars

Value

A circular chart showing values at each hour on a 24-hour clock

Details

The color names can be vice versa or other colors, depending on the context.

See also

week_chart() for plotting values in a week by days year_chart() for plotting values on in a year by months cyclic_chart() for plotting values by arbitrary period

Examples

value <- sample(15:30,24, replace = TRUE)
day_chart(hvalue = value, high = "blue", low = "yellow", width = 0.8)