kraljic_matrix: Kraljic matrix plotting function

Description Usage Arguments Value See Also Examples

Description

kraljic_matrix plots each product or service in the Kraljic purchasing matrix based on the attribute value score of x and y

Usage

1

Arguments

data

A data frame

x

Numeric vector of values

y

Numeric vector of values with compatible dimensions to x

Value

A Kraljic purchasing matrix plot

See Also

SAVF_score for computing the exponential single attribute value score for x and y

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Given the following \code{x} and \code{y} attribute values we can plot each
# product or service in the purchasing matrix:

# to add a new variable while preserving existing data
library(dplyr)

psc2 <- psc %>%
  mutate(x_SAVF_score = SAVF_score(x_attribute, 1, 5, .653),
         y_SAVF_score = SAVF_score(y_attribute, 1, 10, .7))

kraljic_matrix(psc2, x_SAVF_score, y_SAVF_score)

AFIT-R/KraljicMatrix documentation built on May 6, 2019, 7:22 a.m.