Contributing to unmarked: guide to adding a new model to unmarked9 months ago
Prerequisites and advices | Organise the input data: design the unmarkedFrame object | Define the unmarkedFrame subclass for this model | Write the function that creates the unmarkedFrame object | Write the S4 methods associated with the unmarkedFrame object | Specific methods | Generic methods | Methods to access new attributes | Fitting the model | Inputs of the fitting function | Read the unmarkedFrame object: write the getDesign method | The likelihood function | The R likelihood function: easily understandable | The C++ likelihood function: faster | The TMB likelihood function: for random effects | Organise the output data | unmarkedEstimate objects per submodel | Design the unmarkedFit object | Test the complete fitting function process | Write the methods associated with the unmarkedFit object | getP | simulate | plot | Update the NAMESPACE file | Write tests | Write documentation | Add to unmarked
