get_best_args: Get arguments for best fit

Description Usage Arguments Value

View source: R/rwalk.R

Description

Given a data frame of arguments for building a random walk model, return the ones that fit best to the experimental data determined by their r-squared value.

Usage

1
get_best_args(arg_df)

Arguments

arg_df

Data frame. Calculated by calc_fit_multi(). One row contains the arguments for building a random walk model. Column arg_df$r2 is the r-squared value correlating the model built by those arguments and the experimental data.

Value

One-row data frame.


pnojai/rwalk documentation built on Nov. 12, 2019, 7:42 a.m.