I have all neceesary packages in my R library. All junks also runs properly. But, when I try to knit my file into PDF then following error occurs:
Quitting from lines 15-1254 (asmat.Rmd)
Error in lsmeans(plant_height.rlm, ~soil_app, adjust = "tukey") :
could not find function "lsmeans"
Calls: ... handle -> withCallingHandlers -> withVisible -> eval -> eval
Please guide in the matter.