Fixing paramters in MS model

Hallo,
In my experiment I know a lot of the parameters for p matrix. I know that they depend on stratum and year, so I created a dataframe "a" where I have (a$stratum, a$year, a$p.value)...
How can I send them to RMark?
I tried following:
a$stratum.year<-paste(a$stratum, a$year, sep=".")
ddl$p$stratum.year<-paste(ddl$p$stratum, ddl$p$year, sep=".")
model1<-make.mark.model(data=data, ddl=ddl, parameters=list(S=list(formula=~1), p=list(formula=~stratum*year, fixed=list(stratum.year=a$stratum.year, value=a$stratum.year$value)), Psi=list(formula=~1)))
BUT, it does not work...
Any suggestions how to do it?
Best,
Eldar
In my experiment I know a lot of the parameters for p matrix. I know that they depend on stratum and year, so I created a dataframe "a" where I have (a$stratum, a$year, a$p.value)...
How can I send them to RMark?
I tried following:
a$stratum.year<-paste(a$stratum, a$year, sep=".")
ddl$p$stratum.year<-paste(ddl$p$stratum, ddl$p$year, sep=".")
model1<-make.mark.model(data=data, ddl=ddl, parameters=list(S=list(formula=~1), p=list(formula=~stratum*year, fixed=list(stratum.year=a$stratum.year, value=a$stratum.year$value)), Psi=list(formula=~1)))
BUT, it does not work...
Any suggestions how to do it?
Best,
Eldar