approx_response_cov_recursive | R Documentation |

Approximate the covariance of one response with an arbitrary product of responses.

```
approx_response_cov_recursive(
ids,
r_covs,
r_means,
n,
responses,
response,
verbose = FALSE
)
```

`ids` |
Column ids of responses to use. First is taken alone while 2nd to last are to be multiplied |

`r_covs` |
Response covariance matrix |

`r_means` |
Response means (vector) |

`n` |
Sample size |

`responses` |
List of lists with elements of class predictor |

`response` |
Character, Either "binary" or "continuous" |

`verbose` |
logical |

A vector with the approximated covariance, and approximated mean and variance of the product

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.