MFB2Set: Convert the output of the MFB function into a vector

View source: R/MFB2Set.R

MFB2SetR Documentation

Convert the output of the MFB function into a vector

Description

Secondary function useful for manipulating the result of the MFB function.

Usage

MFB2Set(sExpr="")

Arguments

sExpr

the output of the MFB function

Value

set

a set

Author(s)

Elvira Di Nardo elvira.dinardo@unito.it,
Giuseppe Guarino giuseppe.guarino@rete.basilicata.it

See Also

MFB, Set2expr

Examples

 
# Run MFB(c(3),1) to generate f[3]g[1]^3 + 3f[2]g[1]g[2] + f[1]g[3]
# Convert the output of the MFB(c(3),1) into a vector using
# MFB2Set(MFB(c(3),1)). The result is the following:
# "1" "1" "f" "3" "1"
# "1" "1" "g" "1" "3"
# "2" "3" "f" "2" "1"
# "2" "1" "g" "1" "1"
# "2" "1" "g" "2" "1"
# "3" "1" "f" "1" "1"
# "3" "1" "g" "3" "1"
MFB2Set(MFB(c(3),1))

kStatistics documentation built on June 8, 2022, 5:05 p.m.