transform_ci: Transform confidence intervals to cartesian
Description
It returns the cartesian coordinates of the confidence intervals from a polar
gam
/bam
.
Usage
transform_ci(predictions, origin = NULL)
Arguments
- predictions
A data frame containing the predictions obtained from a
polar gam
/bam
.
- origin
The coordinates of the origin as a vector of c(x, y)
coordinates.