PsyTeachR ADS Ch. 1

script

A plain-text file that contains commands in a coding language, such as R.

factor

A data type where a specific set of values are stored with labels; An explanatory variable manipulated by the experimenter

chunk

A section of code in an R Markdown file

package

A group of R functions.

object

A word that identifies and stores the value of some data for later use.

argument

A variable that provides input to a function.

data wrangling

The process of preparing data for visualisation and statistical analysis.

R markdown

The R-specific version of markdown: a way to specify formatting, such as headers, paragraphs, lists, bolding, and links, as well as code blocks and inline code.

character

A data type representing strings of text.

reproducibility

The extent to which the findings of a study can be repeated in some other context

panes

RStudio is arranged with four window “panes”.

function

A named section of code that can be reused.

conflict

Having two packages loaded that have a function with the same name.

knit

To create an HTML, PDF, or Word document from an R Markdown (Rmd) document

string

A piece of text inside of quotes.

base R

The set of R functions that come with a basic installation of R, before you add external packages

CRAN

The Comprehensive R Archive Network: a network of ftp and web servers around the world that store identical, up-to-date, versions of code and documentation for R.

vector

A type of data structure that collects values with the same data type, like T/F values, numbers, or strings.

IDE

Integrated Development Environment: a program that serves as a text editor, file manager, and provides functions to help you read and write code. RStudio is an IDE for R.

numeric

A data type representing a real decimal number or integer.

The end!