Description Usage Arguments Details Value Examples

Give the output of a model for given X.

1 |

`model` |
structure specifying the model. |

`X` |
input location(s) for which output is to be computed. |

`Phi.return` |
(logical) return the basis function(s) as well. |

`...` |
optional additional arguments. |

`Y <- modelOut(model, X)`

gives the output of the model for a given input X. For latent variable models it gives a position in data space given a position in latent space.

`Phi, Y <- modelOut(model, X)`

gives the output of the model for a given input X. For latent variable models it gives a position in data space given a position in latent space.

`Y` |
output location(s) corresponding to given input locations. |

`Phi` |
output basis function(s) corresponding to given input |

1 | ```
## missing
``` |

```
Loading required package: Matrix
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: 'spam'
The following objects are masked from 'package:base':
backsolve, forwardsolve
Loading required package: maps
```

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.