plot_inp: Plot extra inputs

Description Usage Arguments Value

View source: R/plot_inp.R

Description

Plots additional variables used for input into GOTM i.e. SWR, precip etc.

Usage

1
2
3
plot_inp(file, header = F, sep = "\t", start = NULL, stop = NULL,
  ncol = 2, tz = "UTC", main = "", ylab = "", type = "p",
  pch = ".")

Arguments

file

value file; File path to GOTM meteorlogical input file.

header

logical; indicating whether the file contains the names of the variables as its first line. Defaults to FALSE.

sep

character; field separator character. Values on each line of the file are separated by this character. Defaults to tab

start

string; Start date of range of data to be plotted.

stop

string; Stop date of range of data to be plotted.

ncol

integer; Index of which column to use.

tz

Timezone string to be supplied to as.POSIXct. Defaults to 'UTC'. This often can be left to the default unless timezone support is specifically required.

main

string; an overall title for the plot

ylab

string; a title for the y axis

pch

string; Point character to be plotted. Defaults to '.'.

Value

Dataframe with Date time and values in wide format


tadhg-moore/gotmtools documentation built on Oct. 9, 2019, 2:48 p.m.