1

trying to take a linear model of an existing data set; "datm"... my code for that one step is

 linm_list <- dlply(data = datm, c("well"), function(x) lm(fluorescence ~ elapsed, data=x))

and I get an error message saying:

Error in UseMethod("as.quoted") : 
 no applicable method for 'as.quoted' applied to an object of class "function"

Need help debugging this one line, let me know if having the rest of the code would help.

TARehman
  • 6,659
  • 3
  • 33
  • 60
enzymeR
  • 21
  • 1
  • 4
  • 2
    The parameter is called `.data`. If you correct that (or use positional matching for this parameter too) it should work. – Roland May 07 '15 at 15:18
  • 1
    It would help having a fully [reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example), but also describe what exactly you are trying to accomplish here. – MrFlick May 07 '15 at 15:19
  • sorry meant to thank you earlier, Roland; you were right – enzymeR May 15 '15 at 15:49

0 Answers0