MHisopleths | R Documentation |
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.
MHisopleths(dat, vrb, fun='mean', xlab='Months', ylab='Hours', cex=1.2,
col4RP=c('cyan','yellow','red'), title='')
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 |
title |
main title. |
The user can choose any column of data present in dat
. (Depending on
the variable the default colors may not be the most appropriate.)
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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.