plot.tridim_transformation {TriDimRegression}R 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)

[Package TriDimRegression version 1.0.2 Index]