Displaying 1 result from an estimated 1 matches for "testhistogram_b".
Did you mean:
testhistogram_a
2010 Feb 17
1
function to display histogram fails to do so when histogram is not the last expression in the function
TestHistogram_A is a function that plots a histogram, then returns 3. For
me it fails
to display the plot, at least in the order given below.
TestHistogram_B is a function that plots a histogram, then exits. The only
difference between
the 2 functions is that B does not return 3. It displays the plot.
This problem does not occur when histogram is replaced by boxplot
Their use is in the following statements:
Data <- c(1,1,1,2,2)
Data...