| gadget_surveydistribution_component | R Documentation | 
http://hafro.github.io/gadget/docs/userguide/chap-like.html#sec:surveydistribution
gadget_surveydistribution_component( weight = 0, name = "surveydistribution", data = NULL, area = NULL, length = NULL, age = NULL, stocknames = c(), fittype = "linearfit", parameters = NULL, suitability = list(), slope = NULL, intercept = NULL, epsilon = 10, likelihoodtype = "multinomial" )
| weight | A numeric weighting | 
| name | A descriptive name for the component, default same as component type | 
| data | data.frame of age-length survey indices that Gadget is to use to fit the likelihood function to | 
| area | Area aggregation, if not attached to the data.frame by MFDB | 
| length | Length aggregation, if not attached to the data.frame by MFDB | 
| age | Age aggregation, if not attached to the data.frame by MFDB | 
| stocknames | A list of all the stocks to be aggregated into a single pseudo stock | 
| fittype | Type of linear regression to use. One of 'linearfit' / 'powerfit' | 
| parameters | Vector of 2 parameters that are used to calculate the survey index values from the modelled population | 
| suitability | Suitability function for survey fleet | 
| slope | Parameter for linear regression | 
| intercept | Parameter for linear regression | 
| epsilon | Used when probability is very unikely, default 10. | 
| likelihoodtype | What function is to be used to compare the modelled survey index distribution to the input survey index distribution. One of 'multinomial' / 'pearson' / 'gamma' / 'log' | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.