get_eta {glmnet} | R Documentation |

Given x, coefficients and intercept, return linear predictions. Wrapper that works with both regular and sparse x. Only works for single set of coefficients and intercept.

```
get_eta(x, beta, a0)
```

`x` |
Input matrix, of dimension |

`beta` |
Feature coefficients. |

`a0` |
Intercept. |

[Package *glmnet* version 4.1-8 Index]