Learn R Programming

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

mosaic (version 0.7-30)

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.7-30

License

GPL (>= 2)

Maintainer

Randall Pruim

Last Published

August 21st, 2013

Functions in mosaic (0.7-30)

Gestation

Data from the Child Health and Development Studies
Utilities

Utility bills
expandFun

Expand the left-hand side of a formula
modelVars

extract predictor variables from a model
SwimRecords

100 m Swimming World Records
Utilities2

Utility bills
do

Do Things Repeatedly
CoolingWater

CoolingWater
dotPlot

Dotplots
Broyden

Multi-Dimensional Root Finding
findZerosMult

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

Countries
RailTrail

Volume of Users of a Rail Trail
Cards

Standard Deck of Cards
ladd

Add to Lattice Plots
mean

Aggregating functions
adapt_seq

Adaptively generate sequences in an interval
binom.test

Exact Tests for Proportions
fitModel

Fit a nonlinear least squares model
CPS85

Data from the 1985 Current Population Survey (CPS85)
cross

Factor cross products
xyz2latlon

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

Find zeros of functions
mosaic-package

mosaic: the Project MOSAIC package
aggregatingFunction1

1-ary Aggregating functions
getVarFormula

Extract data from a data frame using a formula interface
mPlot

Interactive plotting
integrateODE

Integrate ordinary differential equations
panel.plotFun1

Panel function for plotting functions
FunctionsFromData

Create function from data
HELPfull

Health Evaluation and Linkage to Primary Care
freqpolygon

Frequency Polygons
HELPrct

Health Evaluation and Linkage to Primary Care
TenMileRace

Cherry Blossom Race
makeFun

Create a function from a formula
mm

Construct a model based on groupwise means
SAT

State by State SAT data
D

Derivative and Anti-derivative operators
Marriage

Marriage records
Whickham

Data from the Whickham survey
parse.formula

Parse formulas
Mites

Mites and Wilt Disease
compareProportion

Compare proportions between 2 groups
aggregatingFunction2

2-ary Aggregating functions
interval

Extract summary statistics
panel.lmbands

show confidence and preciction bands on plots
fitSpline

Fit splines to data
evalFormula

Evaluate a formula
panel.levelcontourplot

Lattice plot that draws a filled contour plot
plotPoints

Scatter plot of points
dfapply

apply-type function for data frames
qdata

The Data Distribution
plotCumfreq

Cumulative frequency plots
perctable

Cross tabulation displayed as percents or proportions
KidsFeet

Foot measurements in children
joinFrames

Join data frames
columns

return a vector of row or column indices
ediff

Lagged Differences with equal length
deg2rad

Convert between degrees and radians
plotDist

Plots of Discrete and Continuous Distributions
project

Projections
read.file

Read data files
rand

Random Regressors
evalSubFormula

Evaluate a part of a formula
fetchGoogle

Fetch data from a web service
xhistogram

Augmented histograms
rflip

Tossing Coins
prop

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

Symbolic Derivatives
statTally

Tally test statistics
logical2factor

Turn logicals into factors; leave other things alone
fav_stats

Some favorite statistical summaries
is.wholenumber

Check for whole number values
panel.plotFun

Panel function for plotting functions
numD

Numerical Derivatives
rfun

Generate a natural-looking function
symbolicInt

Find the symbolic integral of a formula
inferArgs

Infer arguments
r.squared

Extract r-squared value
maggregate

Aggregate for mosaic
rgeo-internals

rgeo internal functions
logit

Logit and inverse logit functions
.is.formula

Check if formula
xpnorm

Augmented versions of pnorm and qnorm
prop.test

Exact and Approximate Tests for Proportions
sp2df

Map Utilities
surround

Format strings for pretty output
plotFun

Plotting mathematical expressions
rkintegrate

A simple Runge-Kutte integrator
mosaic.options

Setting options for mosaic package functions
confint.numeric

Confidence interval methods for output of resampling
xchisq.test

Augmented Chi-squared test
resample

More Random Samples
repeater-class

Repeater objects
t.test

Student's t-Test
tally

Tabulate categorical data
Alcohol

Alcohol Consumption per Capita
HELP

Health Evaluation and Linkage to Primary Care
as.xtabs

Convert objects to xtabs format
CIsim

Compute confidence intervals from (multiple) simulated data sets
TukeyHSD.lm

Additional interfaces to TukeyHSD
Heightweight

Height and Weight
bargraph

Create bar graphs from raw data
compareMean

Compare means between 2 groups
linear.algebra

Functions for teaching linear algebra.
googleMap

Display a point on earth on a Google Map
rgeo

Sample longitude and latitude on a sphere
ntiles

Create factor based on roughly equally sized groups
xqqmath

Augmented version of qqmath
HELPmiss

Health Evaluation and Linkage to Primary Care
SnowGR

Snowfall data for Grand Rapids, MI
fetchData

A Web and Library Data-Loading Facility
oddsRatio

Odds Ratio for 2X2 Contingency Tables
theme.mosaic

Lattice Theme
Births78

US Births in 1978
Galton

Galton's dataset of parent and child heights
makeColorscheme

Create a color generating function from a vector of colors
.polyExp

Takes a call and returns its polynomial coefficients
coef.function

Extract coefficients from a function