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

Proper set up for FLStockLen dimnames #28

Open
iagomosqueira opened this issue Aug 10, 2016 · 0 comments
Open

Proper set up for FLStockLen dimnames #28

iagomosqueira opened this issue Aug 10, 2016 · 0 comments
Labels

Comments

@iagomosqueira
Copy link
Member

Can FLStockLen use breaks that are unequal? If so, what is halfwidth meant to return?

stkl <- FLStockLen(m=FLQuant(0.2, dimnames=list(len=c(5,10,20,25,50), year=2015:2020)))
halfwidth(stkl)
[1]  2.5  5.0  2.5 12.5

breaks(stkl)
[1]  5 10 20 25 50 55 60 55 75

Should this be valid?

@ejardim @drfinlayscott

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

No branches or pull requests

1 participant