Learn R Programming

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

mosaic (version 0.9.2-2)

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.9.2-2

License

GPL (>= 2)

Maintainer

Randall Pruim

Last Published

January 6th, 2015

Functions in mosaic (0.9.2-2)

D

Derivative and Anti-derivative operators
aggregatingFunction2

2-ary Aggregating functions
fortify.hclust

mosaic tools for clustering
expandFun

Expand the left-hand side of a formula
logit

Logit and inverse logit functions
standardName

Standardization of Geographic Names
ladd

Add to Lattice Plots
mplot

Generic plotting
MAD_

All pairs mean and sum of absolute differences
compareMean

Compare means between 2 groups
evalSubFormula

Evaluate a part of a formula
inferArgs

Infer arguments
modelVars

extract predictor variables from a model
fortify.summary.lm

Extract data from R objects
mid

midpoints along a sequence
named

List extraction
repeater-class

Repeater objects
rlatlon

Sample longitude and latitude on a sphere
rstudio_is_available

Check whether RStudio is in use
plotFun

Plotting mathematical expressions
rspin

Simulate spinning a spinnner
xqqmath

Augmented version of qqmath
MAD

All pairs mean and sum of absolute differences
mean

Aggregating functions
binom.test

Exact Tests for Proportions
deg2rad

Convert between degrees and radians
cross

Factor cross products
fetchData

A Web and Library Data-Loading Facility
mUSMap

Make a US map with ggplot2
evalFormula

Evaluate a formula
panel.levelcontourplot

Lattice plot that draws a filled contour plot
mosaic.options

Setting options for mosaic package functions
parse.formula

Parse formulas
rescale

Rescale
rgeo-internals

rgeo internal functions
xhistogram

Augmented histograms
zscore

Compute z-scores
maggregate

Aggregate for mosaic
Broyden

Multi-Dimensional Root Finding
docFile

Return the path to a documentation file in a package
ediff

Lagged Differences with equal length
diffmean

Difference in means and proportions
fitModel

Fit a nonlinear least squares model
googleMap

Display a point on earth on a Google Map
mm

Construct a model based on groupwise means
plotPoints

Scatter plot of points
rsquared

Extract r-squared value
statTally

Tally test statistics
theme_map

ggplot2 theme for maps
t.test

Student's t-Test
TukeyHSD.lm

Additional interfaces to TukeyHSD
as.xtabs

Convert objects to xtabs format
adapt_seq

Adaptively generate sequences in an interval
deltaMethod

Delta method on data frames
xyz2latlon

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

Extract summary statistics
freqpolygon

Frequency Polygons
makeFun

Create a function from a formula
print.msummary.lm

Modified summaries
.is.formula

Check if formula
joinFrames

Join data frames
rkintegrate

A simple Runge-Kutte integrator
panel.lmbands

show confidence and preciction bands on plots
swap

Swap values among columns of a data frame
xpnorm

Augmented versions of pnorm and qnorm
findZerosMult

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

Create function from data
factorize

Conditionally convert vectors to factors
fav_stats

Some favorite statistical summaries
chisq

Extract Chi-squared statistic
plotDist

Plots of Discrete and Continuous Distributions
getVarFormula

Extract data from a data frame using a formula interface
dotPlot

Dotplots
findZeros

Find zeros of functions
dfapply

apply-type function for data frames
mWorldMap

Make a world map with ggplot2
CIAdata

Return a dataset based on the CIA World Factbook
fetchGapminder1

Fetch Gapminder data
derivedFactor

Create factors from logicals
fitdistr

Maximum-likelihood fitting of univariate distributions
columns

return a vector of row or column indices
orrr

Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
integrateODE

Integrate ordinary differential equations
fetchGoogle

Fetch data from a web service
cdist

Central portion of a distribution
compareProportion

Compare proportions between 2 groups
coef.function

Extract coefficients from a function
linear.algebra

Functions for teaching linear algebra.
fitSpline

Fit splines to data
fractions

Rational Approximation
prop.test

Exact and Approximate Tests for Proportions
makeMap

Make a map with ggplot2
mosaic-package

mosaic: the Project MOSAIC package
do

Do Things Repeatedly
logical2factor

Turn logicals into factors; leave other things alone
read.file

Read data files
rfun

Generate a natural-looking function
perctable

Cross tabulation displayed as percents or proportions
bargraph

Create bar graphs from raw data
pdist

Illustrated probability calculations from distributions
prop

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

Transforms a shapefile into a dataframe
theme.mosaic

Lattice Theme
makeColorscheme

Create a color generating function from a vector of colors
qdata_v

The Data Distribution
tally

Tabulate categorical data
rand

Random Regressors
numD

Numerical Derivatives
mosaic_formula

Convert formulas into standard shapes
symbolicInt

Find the symbolic integral of a formula
qdata

The Data Distribution
symbolicD

Symbolic Derivatives
is.wholenumber

Check for whole number values
rflip

Tossing Coins
.polyExp

Takes a call and returns its polynomial coefficients
plotCumfreq

Cumulative frequency plots
project

Projections
qdist

Illustrated quantile calculations from distributions
resample

More Random Samples
xchisq.test

Augmented Chi-squared test
r.squared

Extract r-squared value
surround

Format strings for pretty output
CIsim

Compute confidence intervals from (multiple) simulated data sets
aggregatingFunction1

1-ary Aggregating functions
confint.numeric

Confidence interval methods for output of resampling
ntiles

Create vector based on roughly equally sized groups
panel.plotFun1

Panel function for plotting functions
nice_names

Nice names
panel.plotFun

Panel function for plotting functions