pspline_2dchecker
checks to see if all the 2D tensor inputs associated
for P-spines are properly defined.
pspline2d_checker(
family,
link,
bdeg1,
bdeg2,
pord1,
pord2,
nseg1,
nseg2,
lambda1,
lambda2,
ridge_adj,
wts
)
same as inputs, with warnings if required.
the response distribution, e.g. "gaussian", "binomial", "poisson", "Gamma"
distribution. Quotes are needed.
the link function, one of "identity"
, "log"
, "sqrt"
,
"logit"
, "probit"
, "cloglog"
, "loglog"
, "reciprocal"
;
quotes are needed.
the degree of B-splines.
the degree of B-splines.
the order of the penalty.
the order of the penalty.
the number of evenly spaced B-spline segmements.
the number of evenly spaced B-spline segmements.
the positive tuning parameter for the difference penalty.
the positive tuning parameter for the difference penalty.
the positive tuning parameter for the ridge penalty.
the weight vector, separate from GLM weights.