![]() |
FIMS
v0.8.1
|
The Rcpp interface for AgeComp to instantiate the object from R: acomp <- methods::new(AgeComp). More...
#include <rcpp_data.hpp>
Public Member Functions | |
| AgeCompDataInterface (int ymax=0, int amax=0) | |
| The constructor. | |
| AgeCompDataInterface (const AgeCompDataInterface &other) | |
| Construct a new Age Comp Data Interface object. | |
| virtual | ~AgeCompDataInterface () |
| The destructor. | |
| virtual uint32_t | get_id () |
| Gets the ID of the interface base object. | |
| virtual std::string | to_json () |
| Converts the data to json representation for the output. | |
Public Member Functions inherited from DataInterfaceBase | |
| DataInterfaceBase () | |
| The constructor. | |
| DataInterfaceBase (const DataInterfaceBase &other) | |
| Construct a new Data Interface Base object. | |
| virtual | ~DataInterfaceBase () |
| The destructor. | |
| virtual bool | add_to_fims_tmb () |
| Adds the parameters to the TMB model. | |
Public Member Functions inherited from FIMSRcppInterfaceBase | |
| virtual void | finalize () |
| Extracts derived quantities back to the Rcpp interface object from the Information object. | |
| std::string | value_to_string (double value) |
| Report the parameter 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. | |
Public Attributes | |
| fims_int | amax = 0 |
| The first dimension of the data, which relates to the number of age bins. | |
| fims_int | ymax = 0 |
| The second dimension of the data, which relates to the number of time steps or years. | |
| RealVector | age_comp_data |
| The vector of age-composition data that is being passed from R. | |
| RealVector | uncertainty |
| The vector of age-composition uncertainty that is being passed from R. | |
Public Attributes inherited from DataInterfaceBase | |
| Rcpp::NumericVector | observed_data |
| The vector of data that is being passed from R. | |
| Rcpp::NumericVector | uncertainty |
| The vector of uncertainty that is being passed from R. | |
| uint32_t | id |
| The local id of the DataInterfaceBase object. | |
Public Attributes inherited from FIMSRcppInterfaceBase | |
| bool | finalized = false |
| Is the object already finalized? The default is false. | |
Additional Inherited Members | |
Static Public Attributes inherited from DataInterfaceBase | |
| static uint32_t | id_g = 1 |
| The static id of the DataInterfaceBase object. | |
| static std::map< uint32_t, std::shared_ptr< DataInterfaceBase > > | live_objects |
| The map associating the IDs of DataInterfaceBase to the objects. This is a live object, which is an object that has been created and lives in memory. | |
Static Public Attributes inherited from FIMSRcppInterfaceBase | |
| static std::vector< std::shared_ptr< FIMSRcppInterfaceBase > > | fims_interface_objects |
| FIMS interface object vectors. | |
The Rcpp interface for AgeComp to instantiate the object from R: acomp <- methods::new(AgeComp).
|
inline |
Construct a new Age Comp Data Interface object.
| other |
|
inlinevirtual |
Converts the data to json representation for the output.
Reimplemented from FIMSRcppInterfaceBase.