aboutsummaryrefslogtreecommitdiff
path: root/pkg/R/TOXSWA_cwa.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-08-21 15:12:12 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-08-21 15:12:12 +0200
commit405c10b443aacfe9aab15f4ab2797e92def9f246 (patch)
tree93ef1669e31d403aa6334249d87a5f6f925313de /pkg/R/TOXSWA_cwa.R
parent7faffad1907995f1b623ede8fc2e386693428e22 (diff)
parent5038ba57fef6cc386566ec30f3d5dd67e62decff (diff)
Merge branch 'master' into pfm_chent
Diffstat (limited to 'pkg/R/TOXSWA_cwa.R')
-rw-r--r--pkg/R/TOXSWA_cwa.R2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/R/TOXSWA_cwa.R b/pkg/R/TOXSWA_cwa.R
index 55481b4..9e23284 100644
--- a/pkg/R/TOXSWA_cwa.R
+++ b/pkg/R/TOXSWA_cwa.R
@@ -58,6 +58,7 @@ read.TOXSWA_cwa <- function(filename, basedir = ".", zipfile = NULL,
#' Plot TOXSWA hourly concentrations of a chemical substance in a specific
#' segment of a segment of a TOXSWA surface water body.
#'
+#' @import graphics
#' @param x The TOXSWA_cwa object to be plotted.
#' @param xlab,ylab Labels for x and y axis.
#' @param time_column What should be used for the time axis. If "t_firstjan" is chosen,
@@ -171,6 +172,7 @@ TOXSWA_cwa <- R6Class("TOXSWA_cwa",
}
cwa_all_segments <- try(read.table(file_connection,
sep = "", skip = 40,
+ encoding = "UTF-8",
colClasses = c("character", "numeric",
"integer", rep("numeric", 5)),
col.names = c("datetime", "t", "segment",

Contact - Imprint