scopy.summary {INLA} | R Documentation

## Computes the mean and stdev for the spline from `scopy`

### Description

This function computes the mean and stdev for the spline function that is implicite from an `scopy` model component

### Usage

    inla.scopy.summary(
      result,
      name,
      mean.value = NULL,
      slope.value = NULL,
      by = 0.01,
      range = c(0, 1),
      debug = FALSE
    )

### Arguments

`result` | An `inla`-object, ie the output from an `inla()` call
`name` | The name of the `scopy` model component see `?INLA::f` and argument `scopy`
`mean.value` | In case where the mean of the spline is fixed and not estimated, you have to give it here
`slope.value` | In case where the slope of the spline is fixed and not estimated, you have to give it here
`by` | The resolution of the results, in the scale where `diff(range(locations))` is 1
`range` | The range of the locations, as `c(from, to)`
`debug` | If `TRUE` then enable some debug output

### Value

A `data.frame` with locations, mean and stdev. If `name` is not found, NULL is returned.

### Author(s)

Havard Rue hrue@r-inla.org

### Examples

     ## see example in inla.doc("scopy")

[Package INLA version 25.06.07 Index]