validParameter
in package validParameter(object, ...)
## S3 method for class 'ParamFamily':
validParameter(object, param)
## S3 method for class 'L2ScaleFamily':
validParameter(object, param, tol=.Machine$double.eps)
## S3 method for class 'L2LocationFamily':
validParameter(object, param)
## S3 method for class 'L2LocationScaleFamily':
validParameter(object, param, tol=.Machine$double.eps)
## S3 method for class 'BinomFamily':
validParameter(object, param, tol=.Machine$double.eps)
## S3 method for class 'PoisFamily':
validParameter(object, param, tol=.Machine$double.eps)
## S3 method for class 'GammaFamily':
validParameter(object, param, tol=.Machine$double.eps)
ParamFamily
ParamFamParameter
logical
of length 1 --- valid or notParamFamily
is.finite
if their length is between 1 and the joint length of main and nuisance parameter
of object
, and finally, if a call to modifyParam(object)
with
argument param
would throw an error.
}
L2ScaleFamily
is.finite
,
if its length is 1, and if it is strictly larger than 0 (upto argument tol
)}
L2LocationFamily
is.finite
,
if its length is 1}
L2LocationScaleFamily
is.finite
,
if its length is 1 or 2 (e.g. if one features as nuisance parameter), and if it is
strictly larger than 0 (upto argument tol
)}
BinomFamily
is.finite
,
if its length is 1, and if it is strictly larger than 0 and strictly smaller than 1
(upto argument tol
)}
PoisFamily
is.finite
,
if its length is 1, and if it is strictly larger than 0 (upto argument tol
)}
GammaFamily
is.finite
,
if their length is 1 or 2 (e.g. if one features as nuisance parameter), and if
both are strictly larger than 0 (upto argument tol
)}NS <- NormLocationScaleFamily()
validParameter(NS, c(scale=0.1, loc=2))
validParameter(NS, c(scale=-0.1, loc=2))
validParameter(NS, c(scale=0, loc=2))
validParameter(NS, c(mean=2, sd=2))
Run the code above in your browser using DataLab