[R] Help with functions

Sarah Goslee sarah.goslee at gmail.com
Wed Oct 22 22:38:31 CEST 2008


Hi,

A repeatable example with data would help, as that way we could
see what was happening.
>

> sampling=function(fname,Total,nSample,nPatient){
> trans=t(A)

What's A? It isn't one of the arguments to your function.
And what's the transpose of a non-existent thing?

You may well have it in your workspace so the function goes when you
copy and paste in the code.

Sarah

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list