Learn R Programming

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

mosaic (version 0.8-3)

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

16,903

Version

0.8-3

License

GPL (>= 2)

Maintainer

Randall Pruim

Last Published

October 28th, 2013

Functions in mosaic (0.8-3)

Cards

Standard Deck of Cards
CPS85

Data from the 1985 Current Population Survey (CPS85)
columns

return a vector of row or column indices
RailTrail

Volume of Users of a Rail Trail
ediff

Lagged Differences with equal length
TukeyHSD.lm

Additional interfaces to TukeyHSD
Galton

Galton's dataset of parent and child heights
Countries

Countries
dotPlot

Dotplots
bargraph

Create bar graphs from raw data
Broyden

Multi-Dimensional Root Finding
evalFormula

Evaluate a formula
as.xtabs

Convert objects to xtabs format
CIsim

Compute confidence intervals from (multiple) simulated data sets
is.wholenumber

Check for whole number values
parse.formula

Parse formulas
plotPoints

Scatter plot of points
Utilities2

Utility bills
Whickham

Data from the Whickham survey
Births78

US Births in 1978
mean

Aggregating functions
deg2rad

Convert between degrees and radians
compareProportion

Compare proportions between 2 groups
fitSpline

Fit splines to data
compareMean

Compare means between 2 groups
dfapply

apply-type function for data frames
Gestation

Data from the Child Health and Development Studies
perctable

Cross tabulation displayed as percents or proportions
fitModel

Fit a nonlinear least squares model
rgeo

Sample longitude and latitude on a sphere
integrateODE

Integrate ordinary differential equations
freqpolygon

Frequency Polygons
cross

Factor cross products
prop

Compute proportions, percents, or counts for a single level
read.file

Read data files
symbolicInt

Find the symbolic integral of a formula
D

Derivative and Anti-derivative operators
HELPfull

Health Evaluation and Linkage to Primary Care
coef.function

Extract coefficients from a function
SnowGR

Snowfall data for Grand Rapids, MI
evalSubFormula

Evaluate a part of a formula
FunctionsFromData

Create function from data
Mites

Mites and Wilt Disease
Heightweight

Height and Weight
adapt_seq

Adaptively generate sequences in an interval
binom.test

Exact Tests for Proportions
getVarFormula

Extract data from a data frame using a formula interface
fav_stats

Some favorite statistical summaries
googleMap

Display a point on earth on a Google Map
xyz2latlon

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

Random Regressors
mosaic-package

mosaic: the Project MOSAIC package
resample

More Random Samples
logical2factor

Turn logicals into factors; leave other things alone
mPlot

Interactive plotting
rfun

Generate a natural-looking function
rflip

Tossing Coins
project

Projections
modelVars

extract predictor variables from a model
.is.formula

Check if formula
maggregate

Aggregate for mosaic
inferArgs

Infer arguments
mosaic.options

Setting options for mosaic package functions
theme.mosaic

Lattice Theme
prop.test

Exact and Approximate Tests for Proportions
plotCumfreq

Cumulative frequency plots
panel.plotFun

Panel function for plotting functions
findZeros

Find zeros of functions
panel.lmbands

show confidence and preciction bands on plots
surround

Format strings for pretty output
linear.algebra

Functions for teaching linear algebra.
statTally

Tally test statistics
t.test

Student's t-Test
rgeo-internals

rgeo internal functions
CoolingWater

CoolingWater
HELPmiss

Health Evaluation and Linkage to Primary Care
Alcohol

Alcohol Consumption per Capita
confint.numeric

Confidence interval methods for output of resampling
Marriage

Marriage records
expandFun

Expand the left-hand side of a formula
fetchGapminder1

Fetch Gapminder data
makeColorscheme

Create a color generating function from a vector of colors
panel.levelcontourplot

Lattice plot that draws a filled contour plot
ntiles

Create factor based on roughly equally sized groups
panel.plotFun1

Panel function for plotting functions
plotFun

Plotting mathematical expressions
logit

Logit and inverse logit functions
qdata

The Data Distribution
xchisq.test

Augmented Chi-squared test
SwimRecords

100 m Swimming World Records
HELPrct

Health Evaluation and Linkage to Primary Care
aggregatingFunction1

1-ary Aggregating functions
fetchGoogle

Fetch data from a web service
interval

Extract summary statistics
TenMileRace

Cherry Blossom Race
joinFrames

Join data frames
plotDist

Plots of Discrete and Continuous Distributions
xpnorm

Augmented versions of pnorm and qnorm
KidsFeet

Foot measurements in children
aggregatingFunction2

2-ary Aggregating functions
Utilities

Utility bills
SAT

State by State SAT data
HELP

Health Evaluation and Linkage to Primary Care
do

Do Things Repeatedly
fetchData

A Web and Library Data-Loading Facility
findZerosMult

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

Add to Lattice Plots
makeFun

Create a function from a formula
numD

Numerical Derivatives
sp2df

Map Utilities
repeater-class

Repeater objects
rkintegrate

A simple Runge-Kutte integrator
mm

Construct a model based on groupwise means
.polyExp

Takes a call and returns its polynomial coefficients
r.squared

Extract r-squared value
symbolicD

Symbolic Derivatives
xqqmath

Augmented version of qqmath
oddsRatio

Odds Ratio for 2X2 Contingency Tables
tally

Tabulate categorical data
xhistogram

Augmented histograms