[R] help in match.fun

Sarah Goslee sarah.goslee at gmail.com
Thu Apr 5 17:01:51 CEST 2012


Adding plot=FALSE to the hist() call will prevent it from being plotted.

On Thu, Apr 5, 2012 at 10:52 AM, arunkumar1111 <akpbond007 at gmail.com> wrote:
> hi
>
> I have a dataframe and  a parameter
>
> the parameter can have any one value min max mean sum hist
>
> i'm using the function  match.fun
>
>  fun=match.fun(input)
> fun(dataset)
>
> but if input is hist the plot pops up. is there any method to avoid it. else
> should use only if condition for histogram
>
> -----
> Thanks in Advance
>        Arun
> --
-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list