Variable Presence Maps

Share:

Description

Counts the number of input variables (formal arguments) present in the body of a individual function. Applied to a population of individuals, this information is useful to identify driving variables in a modelling task. functionVariablePresenceMap returns a (one row) variable presence map for a function, populationVariablePresenceMap returns a variable presence map for a population of RGP individuals (a list of R functions).

Usage

1
2
3

Arguments

f

A R function to return a variable presence map for.

pop

A RGP population to return a variable presence map for.

Value

A data frame with variables (formal parameters) in the columns, individuals (function) in the rows and variable counts in the cells.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.