Teradata Package for R Function Reference | 17.20 - display_analytic_functions - Teradata Package for R - Look here for syntax, methods and examples for the functions included in the Teradata Package for R.

Teradata® Package for R Function Reference

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for R
Release Number
17.20
Published
March 2024
ft:locale
en-US
ft:lastEdition
2024-05-03
dita:id
TeradataR_FxRef_Enterprise_1720
Product Category
Teradata Vantage

display_analytic_functions

Description

Display list of analytic functions available to use on the Teradata Vantage system, user is connected to.

Usage

  display_analytic_functions (
      type = NULL,
      name = NULL
  )

Arguments

type

Optional Argument.
Specifies the type(s) of functions to list down.
Permitted Values: "BYOM", "SQLE", "VAL".
Types: character or vector/list of character(s)

name

Optional Argument.
Specifies the search string for function name. When this argument
is used, all functions matching (partial or full) the name are listed.
Types: character or vector/list of character(s)

Examples

  
    connection_name = td_create_context(host = host, username=user, password=password)
    # Example 1: Displaying a list of all available analytic functions
    display_analytic_functions()

   # Example 2: When no analytic functions are available on the cluster.
   display_analytic_functions(name = "Func_does_not_exists")
   # No analytic functions available with connected Teradata Vantage system with provided filters.
  
   # Example 3: List all available SQLE analytic functions.
   display_analytic_functions(type = "SQLE")

   # Example 4: List all functions with function name containing string "FIT".
   display_analytic_functions(name = "FIT")

   # Example 5: List all SQLE functions with function name containing string "fit".
   display_analytic_functions(type = "SQLE", name = "fit")

   # Example 6: List all functions of type "BYOM" or "SQLE" containing "fit" or "pmml".
   display_analytic_functions(type = list("SQLE", "BYOM"), name = list("fit", "pmml"))