View source: R/Distributions_lib.R
GetParFeas | R Documentation |
Evaluates whether a parameter vector is feasible (for instance, are scale parameters >0 ?)
GetParFeas(dist, par)
dist |
character, distribution name |
par |
numeric vector, parameter vector |
A logical.
# Feasible
GetParFeas('Normal',c(0,1))
# Not feasible because second parameter (standard deviation) is negative
GetParFeas('Normal',c(0,-1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.