Giter Site home page Giter Site logo

what are the best object names about mobr HOT 3 CLOSED

mobiodiv avatar mobiodiv commented on May 21, 2024
what are the best object names

from mobr.

Comments (3)

rueuntal avatar rueuntal commented on May 21, 2024

Hey @dmcglinn - good call! I have no objection changing the input of make_comm_obj to x, the old syntax was indeed confusing. For the rest of the code (e.g. in get_delta_stats) I think (at least sometimes) comm refers to the comm object made by make_comm_obj, which is site by species matrix + environment measurements + spatial coordinates. If possible I'm leaning towards keeping a meaningful name for it, if not comm. What do you think?

from mobr.

dmcglinn avatar dmcglinn commented on May 21, 2024

I can see a couple of ways forward:

  1. Use the name comm only when it refers to a site-by-species matrix. The site-by-species matrix is what we think of when someone says "community data". So what do you call the object that has a comm and other plot attributes combined? Here are a few potential names: mob_data, mob_input, comm_env.

  2. Use the name spdat to refer to site-by-species matrix, and plotdat to refer to the plot attributes table, and comm to refer to the combination of spdat and plotdat into one object.

Let me know what you think.

from mobr.

rueuntal avatar rueuntal commented on May 21, 2024

I'm fine either way. If #1 is more in line with the convention let's go
with that.

On Tue, Nov 22, 2016 at 1:10 PM, Dan McGlinn [email protected]
wrote:

I can see a couple of ways forward:

Use the name 'comm' only when it refers to a site-by-species matrix.
The site-by-species matrix is what we think of when someone says "community
data". So what do you call the object that has a comm and other plot
attributes combined? Here are a few potential names: mob_data,
mob_input, comm_env.
2.

Use the name spdat to refer to site-by-species matrix, and plotdat to
refer to the plot attributes table, and comm to refer to the
combination of spdat and plotdat into one object.

Let me know what you think.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#86 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABGoPsecr4nfjBzO3O0-qgzOsUN4dix7ks5rAzAKgaJpZM4K5n1Z
.

from mobr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.