Closed Isabella84 closed 6 years ago
Sorry I'm not the developer, but you can use this code instead for ypr: output <- predict_mod(param, type = "ypr", FM_change = seq(0,3,0.1), hide.progressbar = TRUE, plot = TRUE)
Thank you very much for your help.
Isabella
Da: lidach notifications@github.com Inviato: giovedì 9 novembre 2017 08:58 A: tokami/TropFishR Cc: Isabella Bitetto; Author Oggetto: Re: [tokami/TropFishR] ypr function (#21)
Sorry I'm not the developer, but you can use this code instead for ypr: output <- predict_mod(param, type = "ypr", FM_change = seq(0,3,0.1), hide.progressbar = TRUE, plot = TRUE)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tokami/TropFishR/issues/21#issuecomment-343075600, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT2UeeECP_5UD6k4rb4dZQjiHbF3YFd1ks5s0rDBgaJpZM4QTTsM.
Thank you @lidach for helping out! Let us know if there is any other problem, @Isabella84 , otherwise I close this issue.
Dear developer, I have problem in run the command ypr. I am using the following code:
devtools::install_github("tokami/TropFishR") require(TropFishR) Winf=(0.000006*30)^3.085 m=mean(as.vector(c(0.755, 0.567, 0.483))) param=list(Linf=30,Winf=Winf,K=0.24,t0=-0.61,M=m,tr=0.25,tc=0.5)
param a list consisting of following parameters (not all are required):
• Linf: infinite length in cm,
• Winf: infinite weight,
• K: growth coefficent for investigated species per year [1/year],
• t0: theoretical time zero, at which individuals of this species hatch,
• M: natural mortality,
• tr: age of recruitment,
• tc: age of first capture;
FM_change vector with ascending fishing mortalities,
t default NA
ypr(param, FM_change=seq(0,2,0.1))
Thank you in advance for your help, Isabella