knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  warning = F,
  message = F
)

Introduction

For you final independent project you need to assemble an analysis compendium that contains the materials and code to replicate the analysis of your dataset. This includes the types of files and the structure of the directory containing this. This format is influenced by the "analysis compendium" concept of Marwick et al (2018) (see also Kitzes et al 2018, chapter 3). Your compendium should be contained in a single directory shared with me via GitHub, Dropbox, or Box. The directory should also contain file(s) with written introductory, methods and results information which would be included in a normal peer-reviewed manuscript.

The main types of files that constitute an analysis compendium that you need to include in your final project submission are:

Additionally you will have files for you data dictionary (spreadsheet or other document) and a main figure (.pptx, .jpeg etc.)

An additional type of file which is included in the mammalsmilkRA repository but is not required is

In the mammalsmilkRA repository these background files provide examples of a README file could contain, but principally present background information on what should be included in certain file types, particularly data files and other non-script files

The mammalsmilkRA package

The mammalsmilkRA package is meant to lay out and describe the key components of your independent project. This directory is a mix of exact examples of the files that should constitute your project (eg a script which carries out a regression analysis), written descriptions of those files detailing what should be in them, tutorials, tutorials on how to carry out some key tasks and references. There is some overlap in content in the mammalsmilkRA package and the mammalsmilk package. mammalsmilkRA is meant to be a template for an actually analysis compendium, while mammalsmilk is meant to be an extended case study.

This README file

This README file outlines all the files contained in this example independent project directory as well as other files that can/should be concluded . It consists of

Files that share the same number (but may have different letters, eg Appendix-6a-, Appendix-6b-, etc) signify either

Appendix files vs. Manuscript files

There are 2 general classes of files: Appendices and Manuscript ("MS") files.

Appendices are the foundation of the project, including data and code.

MS files are meant to serve as examples of the key sections in a manuscript which were required initially for this independent project. Some changes may have been made on an individual basis to better fit individual students' projects.

Files in this directory

Below is a description of all of the files contained in the mammalsmilkRA package OR which should be in an analysis compendium. (Due to limitation on the structure of an R package not all files are contained in the same directory when I build the package).

Appendix files

Files marked "Appendix-" are principally data, R script files, and README files. As noted above, README files are not required for the independent project in 2018.

Each bullet point is a file. After the file name is indication of whether it is required or not and examples of the general type of file (document, image) pr specific file type (..xlsx, .csv)

Basic information about the file is contained in the sub-bullets. See the actual file for more information.

Manuscript (MS) files

Manuscript file(s) is/are document files containing standard information found in a scientific paper. The one somewhat unique elements it the model equation

Other files of interest

There are

Other files, not interesting

These are files I use to build and maintain the package

Glossary

Refernces

Zuur et al 2010 A protocol for data exploration to avoid common statistical problems. Methods in Ecology & Evolution 1:3-14.



brouwern/mammalsmilkRA documentation built on May 3, 2019, 7:39 p.m.