Learn R Programming

⚠️There's a newer version (2.4.5) of this package.Take me there.

swirl (version 2.2.0)

Statistics with Interactive R Learning

Description

swirl is a platform for learning (and teaching) statistics and R simultaneously and interactively.

Copy Link

Version

Install

install.packages('swirl')

Monthly Downloads

18,143

Version

2.2.0

License

GPL-2

Maintainer

Nick Carchedi

Last Published

March 25th, 2014

Functions in swirl (2.2.0)

expr_is_a

Returns TRUE if e$expr is of the given class
omnitest

Test for a correct expression, a correct value, or both.
var_is_a

Returns TRUE if a variable of the given name exists in the global environment and is of the given class.
install_from_swirl

Install a course from the official course repository
expr_uses_func

Returns TRUE if the e$expr uses the function whose name is given as the first argument.
expr_identical_to

Test that the user has entered an expression identical to that given as the first argument.
info

Display a list of special commands.
install_course_url

Install a course from a url that points to a zip file
zip_course

Zip a course directory
swirl

An interactive learning environment for R and statistics.
skip

Skip the current unit of instruction.
play

Tell swirl to ignore console input for a while.
bye

Exit swirl.
expr_creates_var

Tests if the e$expr creates one new variable (of correct name if given.) If so, returns TRUE.
val_matches

Returns TRUE if as.character(e$val) matches the regular expression given as the first argument.
install_course_directory

Install a course from a course directory
func_of_newvar_equals

Tests the result of a computation such as mean(newVar) applied to a specific variable created in a previous question and saved as e$newVar.
install_course_google_drive

Install a course from a zipped course directory shared on Google Drive
install_course_zip

Install a course from a zipped course folder
uninstall_course

Uninstall a course
val_has_length

Test the the length of e$val is that given by the first argument
install_course_github

Install a course from a GitHub repository
install_course_dropbox

Install a course from a zipped course directory shared on Dropbox
nxt

Begin the upcoming question or unit of instruction.