Giter Site home page Giter Site logo

Comments (8)

rdinnager avatar rdinnager commented on July 30, 2024

I could probably contribute some Banksia and Hakea data from SW Australia if that would help?

from enmtools.

danlwarren avatar danlwarren commented on July 30, 2024

I was thinking something with two species on a relatively small island, maybe two environmental layers. Something a lot like the ahli/allogus data that's already in there, but with more occurrence points. Size of test data gets to be a real issue when you're submitting packages to CRAN.

from enmtools.

nahuron avatar nahuron commented on July 30, 2024

What sort of island size are we talking? Depending on when I can get my Brachymeles manuscript shipped off, there might be a species pair that would work well for one of the islands in the Philippines.

from enmtools.

danlwarren avatar danlwarren commented on July 30, 2024

It's more about file size than geographic size, so of course resolution can be a huge component of that.

Actually, the ideal situation would be:

A small clade (maybe ~5 species)
Decent amount of occurrence data
Around four climate layers
Phylogeny

Ideally all would compress into about 4 MB.

from enmtools.

rdinnager avatar rdinnager commented on July 30, 2024

Perhaps we should also include some simulated data? Then we can make it whatever size we want, and make it demonstrate whatever functionality we want. Plus it would probably make sense to have some simulated data for making testthat tests..

from enmtools.

danlwarren avatar danlwarren commented on July 30, 2024

Yeah, actually that might be the most size-efficient way to do it. We could set up some code to specify some simple niches and a tree for a small clade of organisms, and then for "environments" have some spatially-autocorrelated random fields in a raster stack. That way we could just generate the demo data on the fly as we write example code, storing nothing.

That is, of course, as long as the demo data can be simulated quickly. CRAN also has a requirement about runtime for sample code.

from enmtools.

danlwarren avatar danlwarren commented on July 30, 2024

Okay so we may not want to do this bit on the fly, but we can simulate spatially autocorrelated rasters and zip those up as part of the sample data. Simulating the species with base R code and stuff we're already importing should be significantly easier.

image

Based on code from here: http://santiago.begueria.es/2010/10/generating-spatially-correlated-random-fields-with-r/

Along with some janky post-processing to generate correlations between predictors.

from enmtools.

danlwarren avatar danlwarren commented on July 30, 2024

I've actually attached some demo data to the Cranify branch. It's a clade of Iberian lizards and a low-res European set of Worldclim layers. I'm rewriting demo code now to work with the included data set.

from enmtools.

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.