vars_from_label: Returns names of variables from a smooth label

View source: R/utililties.R

vars_from_labelR Documentation

Returns names of variables from a smooth label

Description

Returns names of variables from a smooth label

Usage

vars_from_label(label)

Arguments

label

character; a length 1 character vector containing the label of a smooth.

Examples


vars_from_label("s(x1)")
vars_from_label("t2(x1,x2,x3)")

gavinsimpson/gratia documentation built on April 13, 2024, 10:56 p.m.