PsyTeachR DSRR Ch. 1

factor

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

assignment operator

The symbol

package

A group of R functions.

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.

panes

RStudio is arranged with four window “panes”.

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.

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.

normal distribution

A symmetric distribution of data where values near the centre are most probable.

variable

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

vector

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

base R

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

whitespace

Spaces, tabs and line breaks

string

A piece of text inside of quotes.

escape

Include special characters like ” inside of a string by prefacing them with a backslash.

reproducible research

Research that documents all of the steps between raw data and results in a way that can be verified.

standard deviation

A descriptive statistic that measures how spread out data are relative to the mean.

argument

A variable that provides input to a function.

function

A named section of code that can be reused.

object

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

console

The pane in RStudio where you can type in commands and view output messages.

script

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

global environment

The interactive workspace where your script runs

The end!