Defines functions scalevalue

scalevalue<-function(key.scale, z){
# scalevalue - computes scale of detection function for a given 
#              set of scale covariates and parameters, using log link
# Args:
#  key.scale      scale parameters
#  z              design matrix for scale covariates
    exp(z %*% key.scale)

Try the mmds package in your browser

Any scripts or data that you put into this service are public.

mmds documentation built on May 2, 2019, 8:55 a.m.