Learn R Programming

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

mosaic (version 0.8-18)

Project MOSAIC (mosaic-web.org) statistics and mathematics teaching utilities

Description

Data sets and utilities from Project MOSAIC (mosaic-web.org) used to teach mathematics, statistics, computation and modeling. Funded by the NSF, Project MOSAIC is a community of educators working to tie together aspects of quantitative work that students in science, technology, engineering and mathematics will need in their professional lives, but which are usually taught in isolation, if at all.

Copy Link

Version

Install

install.packages('mosaic')

Monthly Downloads

14,995

Version

0.8-18

License

GPL (>= 2)

Maintainer

Randall Pruim

Last Published

March 1st, 2014

Functions in mosaic (0.8-18)

Heightweight

Height and Weight
KidsFeet

Foot measurements in children
Marriage

Marriage records
aggregatingFunction2

2-ary Aggregating functions
bargraph

Create bar graphs from raw data
Births78

US Births in 1978
HELP

Health Evaluation and Linkage to Primary Care
TukeyHSD.lm

Additional interfaces to TukeyHSD
freqpolygon

Frequency Polygons
Alcohol

Alcohol Consumption per Capita
project

Projections
sp2df

Map Utilities
logical2factor

Turn logicals into factors; leave other things alone
CIsim

Compute confidence intervals from (multiple) simulated data sets
Whickham

Data from the Whickham survey
derivedFactor

Create factors from logicals
rfun

Generate a natural-looking function
fetchData

A Web and Library Data-Loading Facility
fav_stats

Some favorite statistical summaries
SAT

State by State SAT data
panel.plotFun

Panel function for plotting functions
getVarFormula

Extract data from a data frame using a formula interface
mm

Construct a model based on groupwise means
tally

Tabulate categorical data
prop

Compute proportions, percents, or counts for a single level
Gestation

Data from the Child Health and Development Studies
surround

Format strings for pretty output
Cards

Standard Deck of Cards
plotPoints

Scatter plot of points
makeFun

Create a function from a formula
HELPrct

Health Evaluation and Linkage to Primary Care
xyz2latlon

Convert back and forth between latitude/longitude and XYZ-space
cdist

Central portion of a distribution
.qdata_old

The Data Distribution
xqqmath

Augmented version of qqmath
expandFun

Expand the left-hand side of a formula
xhistogram

Augmented histograms
oddsRatio

Odds Ratio for 2X2 Contingency Tables
r.squared

Extract r-squared value
mosaic-package

mosaic: the Project MOSAIC package
.polyExp

Takes a call and returns its polynomial coefficients
read.file

Read data files
D

Derivative and Anti-derivative operators
rkintegrate

A simple Runge-Kutte integrator
Galton

Galton's dataset of parent and child heights
RailTrail

Volume of Users of a Rail Trail
HELPmiss

Health Evaluation and Linkage to Primary Care
CoolingWater

CoolingWater
googleMap

Display a point on earth on a Google Map
SnowGR

Snowfall data for Grand Rapids, MI
interval

Extract summary statistics
panel.levelcontourplot

Lattice plot that draws a filled contour plot
inferArgs

Infer arguments
compareMean

Compare means between 2 groups
rand

Random Regressors
rflip

Tossing Coins
repeater-class

Repeater objects
rsquared

Extract r-squared value
symbolicInt

Find the symbolic integral of a formula
mosaic_formula

Convert formulas into standard shapes
cross

Factor cross products
confint.numeric

Confidence interval methods for output of resampling
mean

Aggregating functions
dotPlot

Dotplots
fetchGapminder1

Fetch Gapminder data
is.wholenumber

Check for whole number values
panel.lmbands

show confidence and preciction bands on plots
rgeo

Sample longitude and latitude on a sphere
statTally

Tally test statistics
plotFun

Plotting mathematical expressions
ladd

Add to Lattice Plots
theme.mosaic

Lattice Theme
modelVars

extract predictor variables from a model
Countries

Countries
Mites

Mites and Wilt Disease
Utilities2

Utility bills
aggregatingFunction1

1-ary Aggregating functions
columns

return a vector of row or column indices
as.xtabs

Convert objects to xtabs format
deg2rad

Convert between degrees and radians
fetchGoogle

Fetch data from a web service
makeColorscheme

Create a color generating function from a vector of colors
mosaic.options

Setting options for mosaic package functions
panel.plotFun1

Panel function for plotting functions
.is.formula

Check if formula
perctable

Cross tabulation displayed as percents or proportions
prop.test

Exact and Approximate Tests for Proportions
parse.formula

Parse formulas
xpnorm

Augmented versions of pnorm and qnorm
rgeo-internals

rgeo internal functions
t.test

Student's t-Test
FunctionsFromData

Create function from data
Broyden

Multi-Dimensional Root Finding
CPS85

Data from the 1985 Current Population Survey (CPS85)
HELPfull

Health Evaluation and Linkage to Primary Care
HeatX

Data from a heat exchanger laboratory
adapt_seq

Adaptively generate sequences in an interval
Utilities

Utility bills
TenMileRace

Cherry Blossom Race
coef.function

Extract coefficients from a function
binom.test

Exact Tests for Proportions
dfapply

apply-type function for data frames
maggregate

Aggregate for mosaic
deltaMethod

Delta method on data frames
do

Do Things Repeatedly
evalSubFormula

Evaluate a part of a formula
fitModel

Fit a nonlinear least squares model
findZerosMult

Find the zeros of a function of two or more variables
findZeros

Find zeros of functions
integrateODE

Integrate ordinary differential equations
fitSpline

Fit splines to data
joinFrames

Join data frames
linear.algebra

Functions for teaching linear algebra.
logit

Logit and inverse logit functions
resample

More Random Samples
xchisq.test

Augmented Chi-squared test
ediff

Lagged Differences with equal length
evalFormula

Evaluate a formula
compareProportion

Compare proportions between 2 groups
ntiles

Create factor based on roughly equally sized groups
mPlot

Interactive plotting
SwimRecords

100 m Swimming World Records
plotDist

Plots of Discrete and Continuous Distributions
plotCumfreq

Cumulative frequency plots
symbolicD

Symbolic Derivatives
numD

Numerical Derivatives