match.fun.null {ggplot2} | R Documentation

## Cleaner version of match.fun

### Description

Version of `match.fun` that returns NULL on failure

### Usage

    match.fun.null(x)

### Arguments

`x` | function name to find (character vector)

### Details

### Value

function if found, otherwise NULL

### Author(s)

Hadley Wickham <h.wickham@gmail.com>

### Examples

[Package ggplot2 version 0.5.5 Index]