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

DELETE min, max, minyear & maxyear from @range #27

Open
iagomosqueira opened this issue Jul 14, 2016 · 0 comments
Open

DELETE min, max, minyear & maxyear from @range #27

iagomosqueira opened this issue Jul 14, 2016 · 0 comments
Labels

Comments

@iagomosqueira
Copy link
Member

Those four elements in @range are not different from the object dimensions, and could be computed on the fly from the object, saving lots of updating in methods that change the dimensions of an FLComp object, say '['

The range() method would return them in the same format, but certain attributes, life fmin, fmax and plusgroup would stay there.

Other packages accessing those numbers directly e.g. object@range['min'], would have to change to

range(object)['min']

or better still

range(object, 'min')

A simple

/pkg/R $ grep '@range' *.R

would show the places.

@ejardim @drfinlayscott @laurieKell

@iagomosqueira iagomosqueira changed the title DELETE min, max, min & maxyear from @range DELETE min, max, minyear & maxyear from @range Jul 14, 2016
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