mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
Initial commit
This commit is contained in:
commit
ccab72aa0f
31 changed files with 6547 additions and 0 deletions
20
man/getfun.Rd
Normal file
20
man/getfun.Rd
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/helpers.R
|
||||
\name{getfun}
|
||||
\alias{getfun}
|
||||
\title{Wrapper function to get function from character vector referring to function from namespace. Passed to 'do.call()'}
|
||||
\usage{
|
||||
getfun(x)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{function or function name}
|
||||
}
|
||||
\value{
|
||||
function or character vector
|
||||
}
|
||||
\description{
|
||||
This function follows the idea from this comment: https://stackoverflow.com/questions/38983179/do-call-a-function-in-r-without-loading-the-package
|
||||
}
|
||||
\examples{
|
||||
getfun("stats::lm")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue