plot.tridim_transformation: Posterior interval plots for key parameters. Uses...

View source: R/plot.R

plot.tridim_transformationR Documentation

Posterior interval plots for key parameters. Uses bayesplot::mcmc_intervals.

Description

Posterior interval plots for key parameters. Uses bayesplot::mcmc_intervals.

Usage

## S3 method for class 'tridim_transformation'
plot(x, convert_euclidean = FALSE, ...)

Arguments

x

A tridim_transformation object

convert_euclidean

Whether to convert matrix coefficients to scale(phi) and rotation(theta). Defaults to FALSE.

...

Extra parameters to be passed to bayesplot::mcmc_intervals()

Value

A ggplot object produced by bayesplot::mcmc_intervals()

Examples

euc2 <- fit_transformation(depV1+depV2~indepV1+indepV2,
                           data = NakayaData,
                           transformation = 'euclidean')
plot(euc2)

# same but for converted coefficients
plot(euc2, convert_euclidean=TRUE)

TriDimRegression documentation built on Sept. 13, 2023, 5:07 p.m.