residual | R Documentation |

Subtract the theoretical function S_H_0 or the mean of the functions
in the curve set. If the `curve_set`

object contains already residuals
T_i(r) - T_0(r), use_theo ignored and the same object returned.

residual(curve_set, use_theo = TRUE)

`curve_set` |
A curve_set (see |

`use_theo` |
Whether to use the theoretical summary function or the mean of the functions in the curve_set. |

The mean of the functions in the `curve_set`

is the mean of all functions.
If `use_theo = TRUE`

, but the component `theo`

does not exist in the
`curve_set`

, the mean of the functions is used silently.

A curve set object containing residual summary functions. theo is no longer included.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.