clanfear / birthtiming

Compendium of R code and data for 'A Dynamic Intrafamily Model of Child Behavior Problems and Birth Timing'

Home Page:https://clanfear.github.io/birthtiming/inst/paper/paper.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

birthtiming

This repository contains the data and code for our paper:

Lanfear, Charles C. and Ross L. Matsueda, (2018). A Dynamic Intrafamily Model of Child Behavior Problems and Birth Timing.

How to cite

Please cite this compendium as:

Lanfear, Charles C. and Ross L. Matsueda. (2019). Compendium of R code and data for ‘A Dynamic Intrafamily Model of Child Behavior Problems and Birth Timing’. Accessed 21 Feb 2019.

Documents

To access the paper directly, follow this link.

To access the related presentation, follow this link.

How to download or install

You can download the compendium as a zip from from this URL: </archive/master.zip>

Or you can install this compendium as an R package, birthtiming, from GitHub with:

# install.packages("devtools")
devtools::install_github("clanfear/birthtiming")

The R Package

This repository is organized as an R package. There are functions in this package, but they are only intended to be run within the .Rmd file that generates the article.

To generate the article from the birthtiming library, you may either:

  1. Open and knit the .Rmd file found at birthtiming/paper/paper.Rmd/ in your R libraries.
  2. Clone this github repository and load the .Rproj file in RStudio, then knit the paper fron in inst/paper/paper.Rmd
  3. Run birthtiming::build_birthtiming() to knit the paper then open the paper directory with birthtiming::open_paper_dir() and open the file.

In all cases, that directory will already contain a compiled version of the article current to the last commit to this repository.

Licenses

Text and figures : CC-BY-4.0

Code : See the DESCRIPTION file

Data : CC-0 attribution requested in reuse

Contributions

We welcome contributions from everyone. Before you get started, please see our contributor guidelines. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

About

Compendium of R code and data for 'A Dynamic Intrafamily Model of Child Behavior Problems and Birth Timing'

https://clanfear.github.io/birthtiming/inst/paper/paper.html

License:Other


Languages

Language:HTML 78.8%Language:JavaScript 10.0%Language:R 9.9%Language:TeX 1.2%