Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGRteaching
Commits
897a89cc
Commit
897a89cc
authored
Jan 11, 2017
by
unknown
Browse files
v0.0.3 bug fixed in plot.CalGR (it does not use anymore a global variable)
parent
01fc1f0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/plot.CalGR.R
View file @
897a89cc
...
...
@@ -7,8 +7,8 @@ plot.CalGR <- function(x, which = c("perf", "hist", "time"), ...) {
stop
(
"Non convenient data for which argument. Must be of class \"perf\", \"hist\" or \"time\""
)
}
nbParamX
<-
airGRscholar
:::
TypeModelGR
(
x
)
$
NbParam
#as.numeric(gsub("\\D", "", x$TypeModel))
nbParamC
<-
ifelse
(
airGRscholar
:::
TypeModelGR
(
w2
)
$
CemaNeige
,
2
,
0
)
nbParamX
<-
.
TypeModelGR
(
x
)
$
NbParam
#as.numeric(gsub("\\D", "", x$TypeModel))
nbParamC
<-
ifelse
(
.
TypeModelGR
(
x
)
$
CemaNeige
,
2
,
0
)
nbParam
<-
nbParamX
+
nbParamC
nmParam
<-
c
(
sprintf
(
"X%i"
,
1
:
nbParamX
),
sprintf
(
"C%i"
,
seq_len
(
nbParamC
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment