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

Add as.FLStock(data.frame) method #16

Closed
iagomosqueira opened this issue Sep 23, 2014 · 1 comment
Closed

Add as.FLStock(data.frame) method #16

iagomosqueira opened this issue Sep 23, 2014 · 1 comment
Assignees

Comments

@iagomosqueira
Copy link
Member

Should work as as.FLQuant(data.frame) does, talking as input the output of as.data.frame(FLStock). Need to think about units: add them as attribute, or if not there being given as list in argument.

@iagomosqueira iagomosqueira self-assigned this Sep 23, 2014
@iagomosqueira
Copy link
Member Author

Basic method, called with as(df, 'FLStock') converts each FLQuant, as specified in the df$slots column. as.FLStock() also takes units and warns if not provided.

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