Function function what’s your function?
You know, I can’t remember if I’ve posted any updates or info on my thesis to the flog before. So, I’ll do a more in depth update at some point in the near future explaining the background of the project, what work has gone on, etc. For now, I just want to make more of a celebratory post for making my first ever semi-complex function in R!
For the mathematical work of my thesis, I have multiple different datasets, measures of reproductive effort, and ways of quantifying a phenotype related to fire-stimulated flowering. Different combinations of these variables can significantly change what the end plots looks like. Again, a more in depth explanation is to come, for now, just function.
I developed a function where you can input these arguments as variables and it spits out several plots, the last of which is a parent-offspring regression for both my shared and distinct cohorts. (Did I mention there’s more context to come? This is in media res storytelling.) Check it out:
Leave a Reply