Displaying 1 result from an estimated 1 matches for "1374error".
2008 May 21
2
Converting Data Types
...How can I convert the object "samples" such that it prints:
[1] 103.9 88.5 242.9 206.6 175.7 164.4
The reason I ask this because I can't use the former
"samples" object with this function:
llgm <- dgamma(samples, scale=1, shape=2, log = TRUE)
which gives this error:
e 1374Error in dgamma(x, shape, scale, log) :
Non-numeric argument to mathematical function
Regards,
Edward