Git Product home page Git Product logo

glossary's Introduction

glossary

The goal of {glossary} is to provide a glossary of statistical and R coding terms used in the PsyTeachR books that can be accessed offline.

Installation

You can install the development version of glossary from GitHub with:

# install.packages("devtools")
devtools::install_github("psyteachr/glossary")

Access the book offline

glossary::open_glossary()

You can use the glossary to define terms in a markdown document. By default, the term links to the online glossary and shows a short definition when you hover over the link. You can change what text displays in the link, what the short definition displays, whether the link opens the online glossary, and whether it’s added to the glossary table.

  • glossary("alpha"): alpha
  • glossary("beta", display = "β"): β
  • glossary("power", def = "custom definition of power"): power
  • glossary("probability", def = ""): probability
  • glossary("p-value", link = FALSE): p-value
  • glossary("replicability", add_to_table = FALSE): replicability

You can include a glossary table at the end of a document that includes all of the terms you defined above.

glossary_table()
term definition
alpha (stats) The cutoff value for making a decision to reject the null hypothesis; (graphics) A value between 0 and 1 used to control the levels of transparency in a plot
beta The false negative rate we accept for a statistical test.
p value The probability of seeing an effect at least as extreme as what you have, if the real effect was the value you are testing against (e.g., a null effect)
power custom definition of power
probability A number between 0 and 1 where 0 indicates impossibility of the event and 1 indicates certainty

Compilation

If you add or change any terms in the glossary, you will need to recompile it. Here are two ways to do this, either through a running R session or from a terminal prompt.

Recompile using R

From the R console, with the working directory set to the root directory of the glossary repository, type

source("_makefile.R")

Recompile from the terminal

In a terminal window, navigate to the directory containing the glossary files and type

make

This will invoke the commands in Makefile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.