coef.TRMF | R Documentation |

Returns the Fm (transposed) matrix from the matrix factorization Xm*Z*Fm.

```
## S3 method for class 'TRMF'
coef(object, ...)
```

`object` |
a trained TRMF object. |

`...` |
other arguments. |

the coefficient matrix, t(Fm)

Chad Hammerquist

`create_TRMF`

, `TRMF_columns`

, `TRMF_trend`

```
xm = poly(x = (-10:10)/10,degree=4)
fm = matrix(runif(40),4,10)
Am = xm%*%fm+rnorm(210,0,.2)
# create model
obj = create_TRMF(Am)
out = train(obj)
coef(out)
```

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.