get_likelihood_terms: Translate likely-unlikely to a specified term scale

View source: R/likelihood.R

get_likelihood_termsR Documentation

Translate likely-unlikely to a specified term scale

Description

Translate likely-unlikely to a specified term scale

Usage

get_likelihood_terms(terms, term_type = c("worsening-improving",
  "improving-worsening", "increasing-decreasing", "likely-unlikely"))

Arguments

terms

terms to translate

term_type

when scale = "statsnz" it allows to modify the terms depending on what the probability p indicates. term_type = "worsening-improving" indicates that a large p corresponds to a worsening trend; this is the default. term_type = "improving-worsening" indicates that a large p corresponds to an improving trend. term_type = "increasing-decreasing" indicates that the output should range from "Very likely increasing" to "Very likely decreasing". term_type = "likely-unlikely" indicates that the output should range from "Very likely" to "Very unlikely".

Value

a factor


StatisticsNZ/er.helpers documentation built on Oct. 2, 2023, 7:24 a.m.