Page 1 of 1

A very basic question

PostPosted: Thu Mar 11, 2010 7:28 pm
by twhb
I am attempting to learn RMARK and have not encountered a statement like:
ptime=list(formula=~time). What does the term "formula" do?

Re: A very basic question

PostPosted: Thu Mar 11, 2010 7:55 pm
by jlaake
You need to do a lot more reading before you go anywhere with RMark. See

http://www.phidot.org/software/mark/doc ... /app_3.pdf

and

http://www.phidot.org/software/mark/rma ... pNotes.pdf


ptime=list(formula=~time)

does very little. It is a simple specification for a model for one of the parameters in the model. It creates a list with one element named formula which has a value ~time. The list is then assigned to the object named ptime. formula will be used with the design data to create the design matrix for MARK. Get a good grounding in MARK, R and RMark before you try to use it. --jeff