Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotLBB.data(lfq) #44

Open
IssamHu opened this issue Sep 6, 2022 · 0 comments
Open

plotLBB.data(lfq) #44

IssamHu opened this issue Sep 6, 2022 · 0 comments

Comments

@IssamHu
Copy link

IssamHu commented Sep 6, 2022

Dear Sir,
I'm trying to use the "A manual for the length-based Bayesian biomass estimator within TropFishR"
I follow the steps in the vignettes, but when I reach the "plotLBB.data(lfq)" I get error mesage:

> remotes::install_github("tokami/TropFishR")
Downloading GitHub repo tokami/TropFishR@HEAD
Running `R CMD build`...
* checking for file 'C:\Users\asamw\AppData\Local\Temp\RtmpuoSXW2\remotes1a208bc25be\tokami-TropFishR-4f0a13f/DESCRIPTION' ... OK
* preparing 'TropFishR':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building 'TropFishR_1.6.3.tar.gz'
Installing package into ‘C:/Users/asamw/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
* installing *source* package 'TropFishR' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (TropFishR)
> library(TropFishR)
> ## load data set into R environment
> data("synLFQ8")
> ## plot length-frequency data
> plot(synLFQ8, Fname = "catch")
> ## aggregate lfq data per year
> lfq <- lfqModify(synLFQ8, aggregate = "year")
> ## plot lfq data in standard TropFishR manner
> plot(lfq, Fname = "catch")
> ## plot data in LBB manner
> plotLBB.data(lfq)
Error in plotLBB.data(lfq) : could not find function "plotLBB.data"

Please help me with this issue as I'm intending to use this method in my data analysis.
Thanks
Issam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant