Initial commit

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-08 15:13:33 +01:00
commit ccab72aa0f
31 changed files with 6547 additions and 0 deletions

20
man/getfun.Rd Normal file
View 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")
}