| run_model {autohrf} | R Documentation | 
run_model
Description
A helper function for evaluating a model.
Usage
run_model(d, ce, model, roi_weights = NULL)
Arguments
| d | A dataframe with the signal data: roi, t and y. ROI is the name of the region, t is the timestamp and y the value of the signal. | 
| ce | Result of the convolve_events function. | 
| model | A data frame containing information about the model to use and its events (event, start_time and duration). | 
| roi_weights | A data frame with ROI weights: roi, weight. ROI is the name of the region, weight a number that defines the importance of that roi, the default weight for a ROI is 1. If set to 2 for a particular ROI that ROI will be twice as important. | 
Value
Returns the model's evaluation.
[Package autohrf version 1.1.3 Index]