Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

maDotsMatch

Replace default arguments of a function by user supplied values


Description

This function may be used to replace default arguements for any functions to user supplied parameters.

Usage

maDotsMatch(dots, defaults)

Arguments

dots

List of user supplied argements, e.g. from list(...).

defaults

List of formal arguments of a function, e.g. from the function formals.

Value

args

List of argument of a function.

Author(s)

Jean Yee Hwa Yang

See Also

Examples

dots<-list(x=1:10, y=11:20)
argsfun <- maDotsMatch(dots, formals(args(plot)))
do.call("plot", argsfun)

marray

Exploratory analysis for two-color spotted microarray data

v1.68.0
LGPL
Authors
Yee Hwa (Jean) Yang <jeany@maths.usyd.edu.au> with contributions from Agnes Paquet and Sandrine Dudoit.
Initial release
2009-08-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.