ydist | R Documentation |

`p(t(z) | x)`

approximates `p(t(y | x)`

for type = 'dist' onlyTransform z-values t(z) such that the distribution of `p(t(z) | x)`

approximates `p(t(y | x)`

for type = 'dist' only

```
ydist(model, x, z, num = model$niter)
```

`model` |
model object output from modtrast() |

`x` |
vector of predictor variable values for a (single) observation |

`z` |
sample of z-values drawn from |

`num` |
number of trees used to compute model values |

vector of `length(z)`

containing transformed values t(z) approximating `p(y | x)`

`contrast()`

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.