Displaying 1 result from an estimated 1 matches for "plotdecaymodel".
2011 Feb 15
1
Passing Arguments in a function
...= list(total.reach = xv))
lines(xv,yv)
This works.
If i try and wrap this in a function and pass the argument values i fail when
i reach the "list(total.reach = xv)" i've tried various flavours or paste(),
but again can't figure out where i am going wrong, any help appreciated.
PlotDecayModel <- function(x = "total.reach",
y = "lift",
data) {
decay.model <- BuildDecayModel(x= "total.reach",
y = "lift",
data = data)
# P...