kraljic_quadrant: Kraljic quadrant assignment function

Description Usage Arguments Value See Also Examples

View source: R/quadrant-assignment-functions.R

Description

kraljic_quadrant assigns the Kraljic purchasing matrix quadrant based on the attribute value score of x and y

Usage

1

Arguments

x

Numeric vector of values

y

Numeric vector of values with compatible dimensions to x

Value

A vector of the same length as x and y with the relevant Kraljic quadrant name

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
12
# Given the following \code{x} and \code{y} attribute values  we can determine
# which quadrant each product or service falls in:

# 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))

psc2 %>%
  mutate(quadrant = kraljic_quadrant(x_SAVF_score, y_SAVF_score))

koalaverse/KraljicMatrix documentation built on May 25, 2019, 9:30 p.m.