Description Usage Arguments Value Author(s) See Also Examples
Load a file with a daily or monthly precipitation series.
1 |
file |
a string containing the file path. |
sep |
the character applied for delimited columns. (Default value: ",") |
dec |
the character applied for defined decimal point. (Default value: ".") |
header |
a logical value defining whether the first line of the file refers to column names. (Default value: TRUE) |
na.value |
the value used for representing missing values. (Default value: NA) |
A data frame
containing a representation of the
data in the file
. The file
is addressed as precintcon.daily or
precintcon.monthly depending of its structure.
The file should contains three columns when loading monthly series and thirty three columns when loading daily series.
The first columns refers to years and the second one refers to months. When dealing with daily datasets, the thirty one remaining columns refers to the amount of precipitation in the days of the months. Otherwise, the remaining column refers to the amount of precipitation in each month.
Lucas Venezian Povoa lucasvenez@gmail.com
daily
monthly
read.table
read.csv
read.csv2
1 2 3 4 5 6 7 | ##
# Loading a serie on Windows
## Not run: d1 <- read.data("C:\PRECINTCON\203040.csv", sep = ";", dec = ".", header = TRUE)
##
# Loading a serie on Unix-like
## Not run: d1 <- read.data("/home/precintcon/203040.csv", sep = ";", dec = ".", header = TRUE)
|
Loading required package: ggplot2
Loading required package: scales
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.