Commit a9a988b8 authored by majpark21's avatar majpark21

Moved missing package message, larger lines for avg plot

parent 7243c218
......@@ -25,13 +25,15 @@ required_packages = c(
)
missing_packages =
required_packages[!(required_packages %in% installed.packages()[, "Package"])]
cat(paste(
"Missing packages:",
paste(missing_packages, collapse = ";"),
"\nAttempting to install them."
))
if (length(missing_packages))
if (length(missing_packages)) {
cat(paste(
"Missing packages:",
paste(missing_packages, collapse = ";"),
"\nAttempting to install them."
))
install.packages(missing_packages)
}
# Load modules
source('modules/auxfunc.R')
......
......@@ -1152,7 +1152,7 @@ LOCplotTrajRibbon = function(dt.arg,
alpha = ribbon.alpha.arg
)
p.tmp = p.tmp + geom_line(aes_string(y = y.arg, colour = group.arg))
p.tmp = p.tmp + geom_line(aes_string(y = y.arg, colour = group.arg), size = 1.25)
# plot stimulation bars underneath time series
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment