rrwConvertFreeRRWModelToFixedRRWModel: This function modifies an rrwModelList so that the parameters...

View source: R/rrwConvertFreeRRWModelToFixedRRWModel.r

rrwConvertFreeRRWModelToFixedRRWModelR Documentation

This function modifies an rrwModelList so that the parameters values are fixed to the output of the parameter values in a runStats list (which is the output of the rrw fit functions). It is used to test a fixed parameter model on data using the model parameters extracted from another dataset.

Description

Function that modifies the parameter values of an rrwModelList to those of a runStats list.

Usage

rrwConvertFreeRRWModelToFixedRRWModel(rrwModelList, runStatsList)

Arguments

rrwModelList

A list that specifies the rrw model. Build the rrwModelList useing rrwAddEffectToRRWModel

runStats

A list that contains the output of a single run of the kFold cross validation of the RRW. It is output by rrw fit functions and used in the rrwKfoldStatsToDataframe, etc. '

Value

a rrwModelList that has the parameters values are fixed to the output of the parameter values in a runStats list.

Examples

rrwConvertFreeRRWModelToFixedRRWModel (rrwModelList,runStats)

ccpluncw/ccpl_R_RRW documentation built on July 4, 2025, 3:24 p.m.