Kristi Glover
2015-Dec-10 02:20 UTC
[R] Error in run.mark.model(model, invisible = invisible, adjust = adjust, -
Hi R user, I tried to run a package (Rmark) in MAC and run some of the analyses using the package, but I could not do any analyses. It says" "/bin/sh: mark: command not found Error in run.mark.model(model, invisible = invisible, adjust = adjust, : " I installed the package but I think something wrong. How can I fix the problem? I am a new user of MAC. For example, library(RMark) data(dipper) # add a time varying covariate for Phi named to match beginning time of each time interval (default begin.time=1 and time.intervals=1)(r1,r2,..r6) dipper$r1=rep(1,294) dipper$r2=rep(10,294) dipper$r3=rep(8,294) dipper$r4=rep(15,294) dipper$r5=rep(3,294) dipper$r6=rep(6,294) # process data dp=process.data(dipper) # create default design data ddl=make.design.data(dp) # add rain environmental covariate to design data for Phi; this matches r1 to r6. ddl$Phi$rain=1 ddl$Phi$rain[ddl$Phi$time==2]=10 ddl$Phi$rain[ddl$Phi$time==3]=8 ddl$Phi$rain[ddl$Phi$time==4]=15 ddl$Phi$rain[ddl$Phi$time==5]=3 ddl$Phi$rain[ddl$Phi$time==6]=6 [[alternative HTML version deleted]]