Giter Club home page Giter Club logo

Comments (11)

joshwlambert avatar joshwlambert commented on July 24, 2024

@richelbilderbeek given the function format_to_data_data is not longer in the package, that we stop development of plot_daisie_data. What do you think?

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

[edit: removed my confused comment]
Hmmm, I am getting confused here. I understood the structure called daisie_data contains the info to make nice plots of the islands, for both the observed and ideal data.

What is the name of data structure I can use to plot the history of the island histories, for the observed and ideal data?

from daisiemainland.

joshwlambert avatar joshwlambert commented on July 24, 2024

I thought the new plan was:

  • island_tbl to ideal_island_tbl and empirical_island_tbl
  • ideal_island_tbl is plotted by plot_ideal_island_tbl
  • empirical_island_tbl is plotted by plot_empirical_island_tbl

Would be the only plotting functions for the plotting the island?

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

Hi @joshwlambert, thanks for clearing that one up!

I still would enjoy plotting the DAISIE data: it allows one to verify that the conversion from DAISIEmainland data to DAISIE has gone

However, I will focus on plotting the ideal_island_tbl and empirical_island_tblfirst (i.e. #51)

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

This is something for after the next release. I will ruthlessly close it for now.

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

Nope, it appears this is what #59 actually depends on; to be able to plot a daisie_data, so I reopen this one, as I am now working on it :-)

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

Screenshot from 2022-01-13 18-11-12
Screenshot from 2022-01-13 18-14-07

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

Beautiful in a base-functionality-appreciated way:

Screenshot from 2022-01-14 11-22-56

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

More clades works great too:

Screenshot from 2022-01-14 11-28-33

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

An example when the two data sets differ:

Screenshot from 2022-01-14 11-30-04

test_that("much branching", {
  set.seed(
    1018,
    kind = "Mersenne-Twister",
    normal.kind = "Inversion",
    sample.kind = "Rejection"
  )
  daisie_mainland_data <- sim_island_with_mainland(
    total_time = 1,
    m = 10,
    island_pars = c(1, 1, 10, 0.1, 1),
    mainland_ex = 1,
    mainland_sample_prob = 1,
    mainland_sample_type = "complete",
    replicates = 1,
    verbose = FALSE
  )
  plot_daisie_mainland_data(daisie_mainland_data, replicate_index = 1)
})

from daisiemainland.

richelbilderbeek avatar richelbilderbeek commented on July 24, 2024

Done!

Screenshot from 2022-01-14 17-08-13

from daisiemainland.

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.