GetParFeas {HydroPortailStats} | R Documentation |
Parameter feasibility
Description
Evaluates whether a parameter vector is feasible (for instance, are scale parameters >0 ?)
Usage
GetParFeas(dist, par)
Arguments
dist |
character, distribution name |
par |
numeric vector, parameter vector |
Value
A logical.
Examples
# Feasible
GetParFeas('Normal',c(0,1))
# Not feasible because second parameter (standard deviation) is negative
GetParFeas('Normal',c(0,-1))
[Package HydroPortailStats version 1.0.3 Index]