Adding plot=FALSE to the hist() call will prevent it from being plotted. On Thu, Apr 5, 2012 at 10:52 AM, arunkumar1111 <akpbond...@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
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.