Rcpp interface for logistic selectivity to instantiate the object from R: logistic_selectivity <- methods::new(logistic_selectivity).
More...
#include <rcpp_selectivity.hpp>
|
|
| LogisticSelectivityInterface () |
| | The constructor.
|
| |
| | LogisticSelectivityInterface (const LogisticSelectivityInterface &other) |
| | Construct a new Logistic Selectivity Interface object.
|
| |
|
virtual | ~LogisticSelectivityInterface () |
| | The destructor.
|
| |
| virtual uint32_t | get_id () |
| | Gets the ID of the interface base object.
|
| |
| virtual double | evaluate (double x) |
| | Evaluate selectivity using the logistic function.
|
| |
| virtual void | finalize () |
| | Extracts derived quantities back to the Rcpp interface object from the Information object.
|
| |
| virtual std::string | to_json () |
| | Converts the data to json representation for the output.
|
| |
|
| SelectivityInterfaceBase () |
| | The constructor.
|
| |
| | SelectivityInterfaceBase (const SelectivityInterfaceBase &other) |
| | Construct a new Selectivity Interface Base object.
|
| |
|
virtual | ~SelectivityInterfaceBase () |
| | The destructor.
|
| |
| virtual bool | add_to_fims_tmb () |
| | A virtual method to inherit to add objects to the TMB model.
|
| |
| std::string | value_to_string (double value) |
| | Report the variable value as a string.
|
| |
|
std::string | make_dimensions (uint32_t start, uint32_t end, uint32_t rep=1) |
| | Make a string of dimensions for the model.
|
| |
|
|
VariableVector | inflection_point |
| | The index value at which the response reaches 0.5.
|
| |
|
VariableVector | slope |
| | The width of the curve at the inflection point.
|
| |
|
uint32_t | id |
| | The local id of the SelectivityInterfaceBase object.
|
| |
|
bool | finalized = false |
| | Is the object already finalized? The default is false.
|
| |
Rcpp interface for logistic selectivity to instantiate the object from R: logistic_selectivity <- methods::new(logistic_selectivity).
◆ LogisticSelectivityInterface()
Construct a new Logistic Selectivity Interface object.
- Parameters
-
◆ evaluate()
| virtual double LogisticSelectivityInterface::evaluate |
( |
double |
x | ) |
|
|
inlinevirtual |
Evaluate selectivity using the logistic function.
- Parameters
-
| x | The independent variable in the logistic function (e.g., age or size in selectivity). |
Implements SelectivityInterfaceBase.
◆ finalize()
| virtual void LogisticSelectivityInterface::finalize |
( |
| ) |
|
|
inlinevirtual |
Extracts derived quantities back to the Rcpp interface object from the Information object.
Reimplemented from FIMSRcppInterfaceBase.
◆ get_id()
| virtual uint32_t LogisticSelectivityInterface::get_id |
( |
| ) |
|
|
inlinevirtual |
◆ to_json()
| virtual std::string LogisticSelectivityInterface::to_json |
( |
| ) |
|
|
inlinevirtual |
Converts the data to json representation for the output.
- Returns
- A string is returned specifying that the module relates to the selectivity interface with logistic selectivity. It also returns the ID and the parameters. This string is formatted for a json file.
Reimplemented from FIMSRcppInterfaceBase.
The documentation for this class was generated from the following file: