modelExtractParam {tigre} | R Documentation

## Extract the parameters of a model.

### Description

Extract parameters from the model into a vector of parameters for optimisation.

### Usage

      modelExtractParam(model, only.values=TRUE, untransformed.values=FALSE)

### Arguments

`model` | the model structure containing the parameters to be extracted.
`only.values` | include parameter names in the returned vector.
`untransformed.values` | return actual values, not transformed values used by the optimisers.

### Value

`param` | vector of parameters extracted from the model.

### See Also

`modelExpandParam`

### Examples

      # Load a mmgmos preprocessed fragment of the Drosophila developmental
      # time series
      data(drosophila_gpsim_fragment)

      # The probe identifier for TF 'twi'
      twi <- "143396_at"
      # The probe identifier for the target gene
      targetProbe <- "152715_at"

      # Create the model, but do not optimise
      model <- GPLearn(drosophila_gpsim_fragment,
                       TF=twi, targets=targetProbe,
                       useGpdisim=TRUE, quiet=TRUE,
                       dontOptimise=TRUE)

      # Get the initial parameter values
      params <- modelExtractParam(model, only.values=FALSE)

[Package tigre version 1.34.0 Index]