Last chance! 50% off unlimited learning
Sale ends in
read.data(file, sep = ",", dec = ".", header = TRUE, na.value = NA)
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.
daily
monthly
read.table
read.csv
read.csv2
##
# 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)
Run the code above in your browser using DataLab