Displaying 1 result from an estimated 1 matches for "duty_cycle_per_bin".
2011 Oct 30
1
Generic Plot and save function
Dear all,
I was reading for the nice ... parameter option in R, which if I got it right it is used to pass other parameter to some other function inside your function
for example
plot_duty_cycle<- function(data, ...) {
barplot(duty_cycle_per_bin(data), ...)
}
I can put some parameters to pass inside the barplot function inside my function.
I would like to ask you if there is a "smart" way to also put some parameter in the input section of my function so to also save the plot in the given path
I am thinking for something like...