PsyTeachR DSRR Ch. 1

whitespace

Spaces, tabs and line breaks

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.

panes

RStudio is arranged with four window “panes”.

normal distribution

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

assignment operator

The symbol

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.

factor

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

escape

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

object

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

global environment

The interactive workspace where your script runs

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.

variable

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

package

A group of R functions.

base R

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

script

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

vector

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

standard deviation

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

function

A named section of code that can be reused.

string

A piece of text inside of quotes.

argument

A variable that provides input to a function.

reproducible research

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

console

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

The end!