qdODE_fit function

legendre polynomials fit to qdODE model

legendre polynomials fit to qdODE model

qdODE_fit( pars, data, Time, power_par, LOP_order = 6, new_time = NULL, n_expand = 100 )

Arguments

  • pars: vector of qdODE parameters
  • data: dataframe of observed data
  • Time: vector of time point
  • power_par: matrix of power equation parameters for dependent effect
  • LOP_order: scalar of LOP order
  • new_time: vector produce new defined time point
  • n_expand: scalar for how many interpolation needed

Returns

list contain legendre polynomials parameters, qdODE values and LOP fitted values