> sqrt(pi)

1.77245385090552

 

> x = rnorm(10)

 

> x^2

0.860893691135362  0.560568523764744  1.40459280153262  1.03614038560123  0.66201832033264  2.11666669414791  1.39702931492610  0.298879860313354  0.178246184236280  0.0894322124474435

 

> myfunction = function(x) return(summary(x))

 

> cat("\n### try to fix the function: fix(myfunction)")

 

> myfunction(x)

Min.-1.018
1st Qu.-0.6982
Median0.3606
Mean0.2344
3rd Qu.1.118
Max.1.455


 

> plot(x)


Generated on: Wed Nov 05 12:43:29 2003 - R2HTML