Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hydroPSO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Senoner Samuel
hydroPSO
Commits
312530e4
Commit
312530e4
authored
12 years ago
by
Mauricio Zambrano-Bigiarini
Browse files
Options
Downloads
Patches
Plain Diff
plot\_NparOF.R: added checking for 'beh.thr'
parent
e19aa68c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
R/params2ecdf.R
+5
-0
5 additions, 0 deletions
R/params2ecdf.R
R/plot_NparOF.R
+6
-0
6 additions, 0 deletions
R/plot_NparOF.R
with
13 additions
and
0 deletions
NEWS
+
2
−
0
View file @
312530e4
...
@@ -109,6 +109,8 @@ NEWS/ChangeLog for hydroPSO
...
@@ -109,6 +109,8 @@ NEWS/ChangeLog for hydroPSO
-) argument 'sim' may also be 'integer' (before it had to be 'numeric', which does not allow 'integer' objects !)
-) argument 'sim' may also be 'integer' (before it had to be 'numeric', which does not allow 'integer' objects !)
o 'plot_NparOF' : -) new argument 'beh.thr' to allow selecting only behavioral parameter sets
o 'plot_NparOF' : -) new argument 'beh.thr' to allow selecting only behavioral parameter sets
o 'params2ecdf' : -) new arguments 'gofs', 'MinMax' and 'beh.thr'
o new function 'pest2hydroPSO' for importing PEST input files into hydroPSO
o new function 'pest2hydroPSO' for importing PEST input files into hydroPSO
o new function 'hydroPSO2pest' for exporting hydroPSO input files to PEST
o new function 'hydroPSO2pest' for exporting hydroPSO input files to PEST
...
...
This diff is collapsed.
Click to expand it.
R/params2ecdf.R
+
5
−
0
View file @
312530e4
...
@@ -36,6 +36,11 @@ params2ecdf <- function(params, ...) UseMethod("params2ecdf")
...
@@ -36,6 +36,11 @@ params2ecdf <- function(params, ...) UseMethod("params2ecdf")
################################################################################
################################################################################
params2ecdf.default
<-
function
(
params
,
params2ecdf.default
<-
function
(
params
,
param.names
=
NULL
,
param.names
=
NULL
,
gofs
,
MinMax
=
NULL
,
beh.thr
=
NA
,
weights
=
NULL
,
weights
=
NULL
,
byrow
=
FALSE
,
byrow
=
FALSE
,
plot
=
TRUE
,
plot
=
TRUE
,
...
...
This diff is collapsed.
Click to expand it.
R/plot_NparOF.R
+
6
−
0
View file @
312530e4
...
@@ -59,6 +59,12 @@ plot_NparOF <- function(params,
...
@@ -59,6 +59,12 @@ plot_NparOF <- function(params,
# Setting 'MinMax'
# Setting 'MinMax'
MinMax
<-
match.arg
(
MinMax
)
MinMax
<-
match.arg
(
MinMax
)
# Checking 'beh.thr'
if
(
!
is.na
(
beh.thr
)
)
{
if
(
is.null
(
gofs
)
)
stop
(
"Missing argument: 'gofs' has to be provided before using 'beh.thr' !!"
)
}
# IF end
# Number of parameters that will be analysed
# Number of parameters that will be analysed
npar
<-
length
(
param.names
)
npar
<-
length
(
param.names
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment