Helper function for glmBayesMfp: Extracts an S3 family object

Get the (centered) FP transforms matrix of a given covariate vector, when the corresponding power vector (with at least one element) is provided.

1 | ```
getFpTransforms(vec, powers, center = TRUE)
``` |

`vec` |
positive (== already shifted and scaled) column vector with proper colname |

`powers` |
power vector with at least one element |

`center` |
center the columns of the FP transforms matrix around zero? (default) |

the FP transforms matrix with proper colnames.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.