Displaying 1 result from an estimated 1 matches for "dnaoutf".
2012 Oct 21
1
Changing a for loop to a function using sapply
...GCGGATAC
' of mode 'function' was not found
########################################
My other attempts essentially give errors which I can not seem to figure
out what I am missing to correct the errors.
Below are a few of the failed attempts.
#####################################
mode(DNAoutf)<-("function")
DNAoutf <- sapply(x,function(x,y,z){paste(x," ",y," ",z,"\n", collapse
= "" )})
DNAoutf(Rowname,Arrow,DNA)
> mode(DNAoutf)<-("function")
Error in mode(DNAoutf) <- ("function") : object 'DNAou...