The R Project SVN R

Rev

Rev 10603 | Rev 24049 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10603 Rev 15514
Line 1... Line 1...
1
\name{as.function}
1
\name{as.function}
2
\title{Convert Object to Function}
2
\title{Convert Object to Function}
3
\usage{
3
\usage{
4
as.function(x, \dots)
4
as.function(x, \dots)
5
 
5
 
6
as.function.default(l, envir = parent.frame(), \dots)
6
as.function.default(x, envir = parent.frame(), \dots)
7
}
7
}
8
\alias{as.function}
8
\alias{as.function}
9
\alias{as.function.default}
9
\alias{as.function.default}
10
\arguments{
10
\arguments{
11
  \item{x}{object to convert}
11
  \item{x}{object to convert, a list for the default method.}
12
  \item{\dots}{additional arguments, depending on object}
12
  \item{\dots}{additional arguments, depending on object}
13
 
13
 
14
  \item{l}{a list}
-
 
15
  \item{envir}{environment in which the function should be defined}
14
  \item{envir}{environment in which the function should be defined}
16
}
15
}
17
\description{
16
\description{
18
  \code{as.function} is a generic function which is used to convert
17
  \code{as.function} is a generic function which is used to convert
19
  objects to functions.
18
  objects to functions.