Learn R Programming

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

mosaic (version 0.8-10)

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

19,675

Version

0.8-10

License

GPL (>= 2)

Maintainer

Randall Pruim

Last Published

January 16th, 2014

Functions in mosaic (0.8-10)

Utilities

Utility bills
HELPmiss

Health Evaluation and Linkage to Primary Care
Cards

Standard Deck of Cards
adapt_seq

Adaptively generate sequences in an interval
HELPfull

Health Evaluation and Linkage to Primary Care
SwimRecords

100 m Swimming World Records
aggregatingFunction2

2-ary Aggregating functions
HELP

Health Evaluation and Linkage to Primary Care
HELPrct

Health Evaluation and Linkage to Primary Care
Countries

Countries
maggregate

Aggregate for mosaic
Whickham

Data from the Whickham survey
SAT

State by State SAT data
Alcohol

Alcohol Consumption per Capita
FunctionsFromData

Create function from data
Galton

Galton's dataset of parent and child heights
is.wholenumber

Check for whole number values
TenMileRace

Cherry Blossom Race
fetchData

A Web and Library Data-Loading Facility
findZeros

Find zeros of functions
dfapply

apply-type function for data frames
mean

Aggregating functions
Births78

US Births in 1978
D

Derivative and Anti-derivative operators
logical2factor

Turn logicals into factors; leave other things alone
linear.algebra

Functions for teaching linear algebra.
compareMean

Compare means between 2 groups
do

Do Things Repeatedly
fav_stats

Some favorite statistical summaries
fetchGapminder1

Fetch Gapminder data
inferArgs

Infer arguments
xpnorm

Augmented versions of pnorm and qnorm
CoolingWater

CoolingWater
Heightweight

Height and Weight
cross

Factor cross products
bargraph

Create bar graphs from raw data
confint.numeric

Confidence interval methods for output of resampling
integrateODE

Integrate ordinary differential equations
ladd

Add to Lattice Plots
Mites

Mites and Wilt Disease
modelVars

extract predictor variables from a model
mosaic_formula

Convert formulas into standard shapes
ediff

Lagged Differences with equal length
panel.plotFun1

Panel function for plotting functions
rand

Random Regressors
mm

Construct a model based on groupwise means
mPlot

Interactive plotting
getVarFormula

Extract data from a data frame using a formula interface
CIsim

Compute confidence intervals from (multiple) simulated data sets
tally

Tabulate categorical data
prop.test

Exact and Approximate Tests for Proportions
KidsFeet

Foot measurements in children
RailTrail

Volume of Users of a Rail Trail
Broyden

Multi-Dimensional Root Finding
plotFun

Plotting mathematical expressions
makeFun

Create a function from a formula
.qdata_old

The Data Distribution
.polyExp

Takes a call and returns its polynomial coefficients
Marriage

Marriage records
evalFormula

Evaluate a formula
.is.formula

Check if formula
prop

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

Augmented histograms
repeater-class

Repeater objects
symbolicInt

Find the symbolic integral of a formula
surround

Format strings for pretty output
freqpolygon

Frequency Polygons
panel.plotFun

Panel function for plotting functions
oddsRatio

Odds Ratio for 2X2 Contingency Tables
parse.formula

Parse formulas
binom.test

Exact Tests for Proportions
expandFun

Expand the left-hand side of a formula
r.squared

Extract r-squared value
interval

Extract summary statistics
derivedFactor

Create factors from logicals
TukeyHSD.lm

Additional interfaces to TukeyHSD
rfun

Generate a natural-looking function
rgeo

Sample longitude and latitude on a sphere
t.test

Student's t-Test
symbolicD

Symbolic Derivatives
fitModel

Fit a nonlinear least squares model
googleMap

Display a point on earth on a Google Map
xchisq.test

Augmented Chi-squared test
sp2df

Map Utilities
columns

return a vector of row or column indices
logit

Logit and inverse logit functions
panel.lmbands

show confidence and preciction bands on plots
panel.levelcontourplot

Lattice plot that draws a filled contour plot
plotPoints

Scatter plot of points
read.file

Read data files
dotPlot

Dotplots
compareProportion

Compare proportions between 2 groups
aggregatingFunction1

1-ary Aggregating functions
evalSubFormula

Evaluate a part of a formula
findZerosMult

Find the zeros of a function of two or more variables
mosaic-package

mosaic: the Project MOSAIC package
numD

Numerical Derivatives
project

Projections
plotCumfreq

Cumulative frequency plots
mosaic.options

Setting options for mosaic package functions
perctable

Cross tabulation displayed as percents or proportions
rflip

Tossing Coins
ntiles

Create factor based on roughly equally sized groups
theme.mosaic

Lattice Theme
resample

More Random Samples
rkintegrate

A simple Runge-Kutte integrator
xqqmath

Augmented version of qqmath
coef.function

Extract coefficients from a function
as.xtabs

Convert objects to xtabs format
CPS85

Data from the 1985 Current Population Survey (CPS85)
Gestation

Data from the Child Health and Development Studies
SnowGR

Snowfall data for Grand Rapids, MI
Utilities2

Utility bills
deg2rad

Convert between degrees and radians
fitSpline

Fit splines to data
joinFrames

Join data frames
xyz2latlon

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

Plots of Discrete and Continuous Distributions
makeColorscheme

Create a color generating function from a vector of colors
rsquared

Extract r-squared value
rgeo-internals

rgeo internal functions
statTally

Tally test statistics
fetchGoogle

Fetch data from a web service