The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Core package providing a simple interface to allow highly flexible and generic function argument matching. Allows users to pass complex lists of arguments into functions, with matching and mis-matching rules.
Source installation from GitHub should be easy:
install.packages('remotes')
remotes::install_github("asgr/ParmOff")
library(ParmOff)# Pass a mixture of an argument list and dots, ignoring conflicting arguments from latter:
example_args = list(col='red', xlab='Test x', ylab='Test y')
ParmOff(plot, example_args, x=sin, xlab='Ignore This')
# Ignore the col argument (if present, which it is):
ParmOff(plot, example_args, .rem_args='col', x=sin, xlab='Ignore This')
# An example of a complex model (note for non complex .args you can use a named vector):
model_ex = function(x, y, z){x * y + z}
input = c(x=1, y=2, z=3, t=4) # the input to pass into .args (note 't' will be ignored)
ParmOff(model_ex, input)To find more examples, please check the documentation provided. You can browse these with:
?ParmOffAaron Robotham
LGPL-3+
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.