preview_torte: A function for displaying the pie chart aggregation of the...

View source: R/preview_torte.R

preview_torteR Documentation

A function for displaying the pie chart aggregation of the sales decomposition

Description

This function allows you to quickly view the sales decomposition for your model.

Usage

preview_torte(modell, coler = "def", rad = 1.01, font_size = 0.9)

Arguments

modell

Input data. Just name the model you want to inspect

coler

color palette. Accepts a vector of length k+1, with k being the number of variables in the model. Defaults to the rainbow color sequence.

rad

Controls the size of the pie. Defaults to slighty above 1.

font_size

Size of the text in the chart. Defaults to 0.9.

Examples

preview_torte(my_default_model)
preview_torte()

benetheking/maRketingscience documentation built on May 17, 2022, 5:57 a.m.