[FLR-list] Hockey stick
Laurie
lauriekell at googlemail.com
Tue Mar 20 19:18:49 CET 2012
Try this
sr=fmle(as.FLSR(ple4,model="segreg"))
params(sr)
params(sr)[]=c(1,1)
params(sr)
or this
params(sr)=FLPar(c(a=1,b=2))
params(sr)
Laurie
On 03/20/2012 05:45 PM, Luis Ridao wrote:
>
> fsai.segreg <- fsaiSR
> model(fsai.segreg) <- segreg()
> fsai.segreg <- fmle(fsai.segreg)
>
> and the parameter estimates are as follows:
>
> > params(fsai.segreg)
> An object of class "FLPar"
> params
> a b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/flr-list/attachments/20120320/23125fb0/attachment.html>
More information about the flr-list
mailing list