Validate the utility functions against the dataset and generate the optimised logliklihood function
Validate the utility functions against the dataset and generate the optimised logliklihood function
This function takes a utility function description, and generates a optimised C++ version of the utility function which can be called from R. If the data_names are provided, then the variables in the function are checked against those provided. If an output_file is provided, the C++ code is saved there. See the user guide vignette for how to write valid utility scripts. There is some minimal specific syntax required.