MHisopleths {climatol}R Documentation

Isopleths on a months-hours diagram

Description

This function takes hourly or subhourly data (spanning at least one year) and plots isopleths of the chosen variable in a colored two-dimensional (months, hours) diagram.

Usage

MHisopleths(dat, vrb, fun='mean', xlab='Months', ylab='Hours', cex=1.2,
  col4RP=c('cyan','yellow','red'), title='')

Arguments

dat

dataframe containing the data in columns with date/time of class POSIX in the first column.

vrb

name of the column containing the chosen data.

fun

function to aggregate subhourly data into hourly.

xlab, ylab

labels for the X and Y axis.

cex

character expansion parameter for the size of labels.

col4RP

vector of colors for the colorRampPalette function.

title

main title.

Details

The user can choose any column of data present in dat. (Depending on the variable the default colors may not be the most appropriate.)

Examples

data(climatol_data)
MHisopleths(AWS_1year,'Temp',title='Mean temperature (C) -- My airport, 2002')
MHisopleths(AWS_1year,'WSpd',title='Wind speed (m/s) -- My airport, 2002')

[Package climatol version 4.1.0 Index]