mosaic1.9.2 package

Project MOSAIC Statistics and Mathematics Teaching Utilities

rescale

Rescale

rflip

Tossing Coins

rfun

Generate a natural-looking function

rgeo-internals

rgeo internal functions

rgeo

Sample longitude and latitude on a sphere

rspin

Simulate spinning a spinner

rsquared

Extract r-squared value

rstudio

Check whether RStudio is in use

set.rseed

Set seed in parallel compatible way

sp2df

Transforms a shapefile into a dataframe

standardName

Standardization of Geographic Names

adapt_seq

Adaptively generate sequences in an interval

aggregating

Aggregating functions

aggregatingAux

Aggregate for mosaic

aggregatingFunction1

1-ary Aggregating functions

aggregatingFunction1or2

1- or 2-ary aggregating functions

aggregatingFunction2

2-ary aggregating functions

as-xtabs

Convert objects to xtabs format

ashplot

Average Shifted Histograms

bargraph

Create bar graphs from raw data

binom.test

Exact Tests for Proportions

Broyden

Multi-Dimensional Root Finding

cdist

Central portion of a distribution

chisq

Extract Chi-squared statistic

CIAdata

Return a dataset based on the CIA World Factbook

CIsim

Compute confidence intervals from (multiple) simulated data sets

clustering

mosaic tools for clustering

cnorm

Central Probability in a Normal or T Distribution

confint

Confidence interval methods for output of resampling

cor.test

Alternative formula interface for cor.test

cross

Factor cross products

cull_for_do

Cull objects used with do()

defunct-fetch

Defunct functions now in the fetch package

defunct

Defunct functions

deg2rad

Convert between degrees and radians

derivedVariable

Create new variables from logicals

design_plot

Interactively design plots

diffmean

Difference in means and proportions

do

Do Things Repeatedly

docFile

Return the path to a documentation file in a package

dotPlot

Dotplots

dpqrdist

Distribution wrapper

expandFun

Expand the left-hand side of a formula

factorize

Conditionally convert vectors to factors

fav_stats

Some favorite statistical summaries

findZeros

Find zeros of functions

findZerosMult

Find the zeros of a function of two or more variables

fitModel

Fit a nonlinear least squares model

fitSpline

Fit splines to data

fortify

Extract data from R objects

freqpoly

Turn histograms into frequency polygons

freqpolygon

Frequency Polygons

FunctionsFromData

Create function from data

getVarFormula

Extract data from a data frame using a formula interface

googleMap

Display a point on earth on a Google Map

inferArgs

Infer arguments

interval

Extract summary statistics

is.wholenumber

Check for whole number values

ladd

Add to Lattice Plots

latlon2xyz

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

leaflet_map

Simple Leaflet Maps

linear.algebra

Functions for teaching linear algebra.

MAD

All pairs mean and sum of absolute differences

MAD_

All pairs mean and sum of absolute differences

makeColorscheme

Create a color generating function from a vector of colors

makeMap

Make a map with ggplot2

mid

midpoints along a sequence

mosaic-internal

Check if formula

mosaic-package

mosaic: the Project MOSAIC package

mosaic.options

Setting options for mosaic package functions

mplot

Generic plotting

mPlotting

Interactive plotting

mUSMap

Make a US map with ggplot2

mWorldMap

Make a world map with ggplot2

ntiles

Create vector based on roughly equally sized groups

oddsRatio

Odds Ratio and Relative Risk for 2 x 2 Contingency Tables

panel.levelcontourplot

Lattice plot that draws a filled contour plot

panel.lmbands

show confidence and prediction bands on plots

panel.plotFun

Panel function for plotting functions

panel.plotFun1

Panel function for plotting functions

pdist

Illustrated probability calculations from distributions

plotCumfreq

Cumulative frequency plots

plotDist

Plots of Discrete and Continuous Distributions

plotFun

Plotting mathematical expressions

plotModel

Plot a regression model

plotPoints

Scatter plot of points

pqrdata

The Data Distribution

pqrdata2

The Data Distribution

project-methods

Projections

prop.test

Exact and Approximate Tests for Proportions

prop_test

Internal function for testing proportion

qdist

Illustrated quantile calculations from distributions

rand

Random Regressors

read.file

Read data files

reexports

Objects exported from other packages

relm

Resample a Linear Model

repeater-class

Repeater objects

resample

More Random Samples

statTally

Tally test statistics

surround

Format strings for pretty output

swap

Swap values among columns of a data frame

theme_map

ggplot2 theme for maps

themes

Lattice Theme

ttest

Student's t-Test

TukeyHSD.lm

Additional interfaces to TukeyHSD

update_ci

Update confidence interval

value

Extract value from an object

xchisq.test

Augmented Chi-squared test

xhistogram

Augmented histograms

xpnorm

Augmented versions of pnorm and qnorm

xqqmath

Augmented version of qqmath

zscore

Compute z-scores

Data sets and utilities from Project MOSAIC (<http://www.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.

  • Maintainer: Randall Pruim
  • License: GPL (>= 2)
  • Last published: 2025-07-30