![]() ![]() In R, the language assumes that you are writing R code, unless you specify that you are writing prose (using a comment, designated by #). RMarkdown is a combination of two things - R, the programming language, and markdown, a set of text formatting directives. RMarkdown is an excellent way to generate literate analysis, and a reproducible workflow. As Knuth describes, in the literate analysis model, the author is an “essayist” who chooses variable names carefully, explains what they mean, and introduces concepts in the analysis in a way that facilitates understanding. By switching to a literate analysis model, you help enable human understanding of what the computer is doing. All too often, computational methods are written in such a way as to be borderline incomprehensible - even to the person who originally wrote the code! The reason for this is obvious, computers interpret information very differently than people do. If our aim is to make scientific research more transparent, the appeal of this paradigm reversal is immediately apparent. Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. ![]() In this article, Knuth proposes a reversal of the programming paradigm. The concept of literate analysis dates to a 1984 article by Donald Knuth. The 5th Generation of Reproducible Papers.14.2.3 Reproducible Papers with rticles.14.2.2 Reproducible Papers with rrtools.14.2 Reproducible and Transparent Papers.14.1.11 A shinier app with tabs and a map!.14.1.10 Full source code for the final application.14.1.7 Finishing touches: data citation.14.1.6 Extending the user interface with dynamic plots.14.1.3 Create a sample shiny application.13.1.6 Visualize sf objects with leaflet.12.1 Hands On: Clean and Integrate Datasets.12 Exercise: Cleaning and manipulating data.11.2.9 Sharing and releasing your package.11.2.8 Checking and installing your package.11.1.4 Examples: Minimizing work with functions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |