Skip to content
Prev 180483 / 398525 Next

displaying results

On 5/15/2009 8:33 AM, deanj2k wrote:
I think you want something like this:

cat(sprintf("The mean age of patients within the sample is %.1f.\n", 
mean(age)))

Play with the %.1f format for more decimal places, etc.

Duncan Murdoch