Project MOSAIC (mosaic-web.org) statistics and mathematics teaching utilities


[Up] [Top]

Documentation for package ‘mosaic’ version 0.9.2-2

Help Pages

A B C D E F G H I J L M N O P Q R S T U V X Z misc

mosaic-package mosaic: the Project MOSAIC package

-- A --

adapt_seq Adaptively generate sequences in an interval
aggregatingFunction1 1-ary Aggregating functions
aggregatingFunction2 2-ary Aggregating functions
antiD Derivative and Anti-derivative operators
as.xtabs Convert objects to xtabs format
as.xtabs.data.frame Convert objects to xtabs format
as.xtabs.matrix Convert objects to xtabs format

-- B --

bargraph Create bar graphs from raw data
binom.test Exact Tests for Proportions
binom.test-method Exact Tests for Proportions
Broyden Multi-Dimensional Root Finding

-- C --

cdata The Data Distribution
cdata_f The Data Distribution
cdata_v The Data Distribution
cdist Central portion of a distribution
chisq Extract Chi-squared statistic
chisq.default Extract Chi-squared statistic
chisq.htest Extract Chi-squared statistic
CIAdata Return a dataset based on the CIA World Factbook
CIsim Compute confidence intervals from (multiple) simulated data sets
coef Extract coefficients from a function
coef.function Extract coefficients from a function
coef.groupwiseModel Construct a model based on groupwise means
coef.nlsfunction Fit a nonlinear least squares model
col.mosaic Lattice Theme
columns return a vector of row or column indices
compareMean Compare means between 2 groups
compareProportion Compare proportions between 2 groups
condition Parse formulas
condition.formula Parse formulas
condition.parsedFormula Parse formulas
confint.data.frame Confidence interval methods for output of resampling
confint.do.data.frame Confidence interval methods for output of resampling
confint.groupwiseModel Construct a model based on groupwise means
confint.htest Extract summary statistics
confint.numeric Confidence interval methods for output of resampling
confint.summary.lm Confidence interval methods for output of resampling
connector Create function from data
cor Aggregating functions
count Compute proportions, percents, or counts for a single level
cov Aggregating functions
cross Factor cross products

-- D --

D Derivative and Anti-derivative operators
D.default Derivative and Anti-derivative operators
D.formula Derivative and Anti-derivative operators
d2fdx2 Numerical Derivatives
d2fdxdy Numerical Derivatives
ddata The Data Distribution
ddata_f The Data Distribution
ddata_v The Data Distribution
deal More Random Samples
deg2rad Convert between degrees and radians
deltaMethod Delta method on data frames
deltaMethod.data.frame Delta method on data frames
derivedFactor Create factors from logicals
dfapply apply-type function for data frames
dfdx Numerical Derivatives
diffmean Difference in means and proportions
diffprop Difference in means and proportions
Do Do Things Repeatedly
do Do Things Repeatedly
do.default Do Things Repeatedly
do.numeric Do Things Repeatedly
docFile Return the path to a documentation file in a package
dot Projections
dotPlot Dotplots

-- E --

ediff Lagged Differences with equal length
evalFormula Evaluate a formula
evalSubFormula Evaluate a part of a formula
expandFun Expand the left-hand side of a formula

-- F --

factorize Conditionally convert vectors to factors
factorize.character Conditionally convert vectors to factors
factorize.data.frame Conditionally convert vectors to factors
factorize.default Conditionally convert vectors to factors
factorize.numeric Conditionally convert vectors to factors
favstats Aggregating functions
fav_stats Some favorite statistical summaries
fetchData A Web and Library Data-Loading Facility
fetchGapminder Fetch Gapminder data
fetchGapminder1 Fetch Gapminder data
fetchGoogle Fetch data from a web service
findZeros Find zeros of functions
findZerosMult Find the zeros of a function of two or more variables
fitdistr Maximum-likelihood fitting of univariate distributions
fitModel Fit a nonlinear least squares model
fitSpline Fit splines to data
fitted.groupwiseModel Construct a model based on groupwise means
fivenum Aggregating functions
fortify.hclust mosaic tools for clustering
fortify.summary.glm Extract data from R objects
fortify.summary.lm Extract data from R objects
fortify.TukeyHSD Extract data from R objects
fractions Rational Approximation
freqpolygon Frequency Polygons
FunctionsFromData Create function from data

-- G --

getVarFormula Extract data from a data frame using a formula interface
googleMap Display a point on earth on a Google Map

-- H --

histogram Augmented histograms

-- I --

ilogit Logit and inverse logit functions
inferArgs Infer arguments
integrateODE Integrate ordinary differential equations
interval Extract summary statistics
IQR Aggregating functions
iqr Aggregating functions
is.wholenumber Check for whole number values

-- J --

joinFrames Join data frames
joinTwoFrames Join data frames

-- L --

ladd Add to Lattice Plots
latlon2xyz Convert back and forth between latitude/longitude and XYZ-space
lhs Parse formulas
lhs.formula Parse formulas
lhs.parsedFormula Parse formulas
linear.algebra Functions for teaching linear algebra.
linearModel Create function from data
logical2factor Turn logicals into factors; leave other things alone
logical2factor.data.frame Turn logicals into factors; leave other things alone
logical2factor.default Turn logicals into factors; leave other things alone
logit Logit and inverse logit functions
lonlat2xyz Convert back and forth between latitude/longitude and XYZ-space

-- M --

MAD All pairs mean and sum of absolute differences
MAD_ All pairs mean and sum of absolute differences
maggregate Aggregate for mosaic
makeAntiDfun Derivative and Anti-derivative operators
makeColorscheme Create a color generating function from a vector of colors
makeFun Create a function from a formula
makeFun-method Create a function from a formula
makeMap Make a map with 'ggplot2'
mat Functions for teaching linear algebra.
max Aggregating functions
mean Aggregating functions
median Aggregating functions
mid midpoints along a sequence
min Aggregating functions
mm Construct a model based on groupwise means
mMap Interactive plotting
model Fit a nonlinear least squares model
model.nlsfunction Fit a nonlinear least squares model
modelVars extract predictor variables from a model
mosaic mosaic: the Project MOSAIC package
mosaic.getOption Setting options for mosaic package functions
mosaic.options Setting options for mosaic package functions
mosaic.par.get Setting options for mosaic package functions
mosaic.par.set Setting options for mosaic package functions
mosaicGetOption Setting options for mosaic package functions
mosaicLatticeOptions Setting options for mosaic package functions
mosaic_formula Convert formulas into standard shapes
mosaic_formula_q Convert formulas into standard shapes
mPlot Interactive plotting
mplot Generic plotting
mplot.data.frame Generic plotting
mplot.default Generic plotting
mplot.hclust mosaic tools for clustering
mplot.lm Generic plotting
mplot.summary.lm Generic plotting
mplot.TukeyHSD Generic plotting
mScatter Interactive plotting
msummary Modified summaries
msummary.default Modified summaries
msummary.glm Modified summaries
msummary.lm Modified summaries
mUniplot Interactive plotting
mUSMap Make a US map with 'ggplot2'
mWorldMap Make a world map with 'ggplot2'

-- N --

named List extraction
named_among List extraction
nflip Tossing Coins
nice_names Nice names
ntiles Create vector based on roughly equally sized groups
numD Numerical Derivatives
numerical.first.partial Numerical Derivatives
numerical.mixed.partial Numerical Derivatives
numerical.second.partial Numerical Derivatives
numerical_integration Derivative and Anti-derivative operators

-- O --

oddsRatio Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
operator Parse formulas
operator.formula Parse formulas
operator.parsedFormula Parse formulas
orrr Odds Ratio and Relative Risk for 2 x 2 Contingency Tables

-- P --

panel.cumfreq Cumulative frequency plots
panel.dotPlot Dotplots
panel.freqpolygon Frequency Polygons
panel.levelcontourplot Lattice plot that draws a filled contour plot
panel.lmbands show confidence and preciction bands on plots
panel.plotFun Panel function for plotting functions
panel.plotFun1 Panel function for plotting functions
panel.xhistogram Augmented histograms
panel.xqqmath Augmented version of 'qqmath'
parse.formula Parse formulas
pdata The Data Distribution
pdata_f The Data Distribution
pdata_v The Data Distribution
pdist Illustrated probability calculations from distributions
perc Compute proportions, percents, or counts for a single level
perctable Cross tabulation displayed as percents or proportions
plotCumfreq Cumulative frequency plots
plotCumfreq.default Cumulative frequency plots
plotCumfreq.formula Cumulative frequency plots
plotDist Plots of Discrete and Continuous Distributions
plotFun Plotting mathematical expressions
plotPoints Scatter plot of points
prepanel.cumfreq Cumulative frequency plots
prepanel.xhistogram Augmented histograms
print-method Do Things Repeatedly
print.cointoss Tossing Coins
print.groupwiseModel Construct a model based on groupwise means
print.msummary.glm Modified summaries
print.msummary.lm Modified summaries
print.oddsRatio Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
print.relrisk Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
print.repeater Do Things Repeatedly
print.summary_groupwiseModel Construct a model based on groupwise means
prod Aggregating functions
project Projections
project-method Projections
prop Compute proportions, percents, or counts for a single level
prop.test Exact and Approximate Tests for Proportions
prop.test-method Exact and Approximate Tests for Proportions
proptable Cross tabulation displayed as percents or proportions
pval Extract summary statistics
pval.htest Extract summary statistics

-- Q --

qdata The Data Distribution
qdata_f The Data Distribution
qdata_v The Data Distribution
qdist Illustrated quantile calculations from distributions
quantile Aggregating functions

-- R --

r.squared Extract r-squared value
rad2deg Convert between degrees and radians
rand Random Regressors
range Aggregating functions
rdata The Data Distribution
rdata_f The Data Distribution
rdata_v The Data Distribution
read.file Read data files
relrisk Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
repeater-class Repeater objects
resample More Random Samples
rescale Rescale
rescale.character Rescale
rescale.data.frame Rescale
rescale.default Rescale
rescale.factor Rescale
rescale.numeric Rescale
residuals.groupwiseModel Construct a model based on groupwise means
restoreLatticeOptions Setting options for mosaic package functions
rflip Tossing Coins
rfun Generate a natural-looking function
rgeo Sample longitude and latitude on a sphere
rgeo2 Sample longitude and latitude on a sphere
rhs Parse formulas
rhs.formula Parse formulas
rhs.parsedFormula Parse formulas
rkintegrate A simple Runge-Kutte integrator
rlatlon Sample longitude and latitude on a sphere
rlonlat Sample longitude and latitude on a sphere
rows return a vector of row or column indices
rpoly2 Generate a natural-looking function
rspin Simulate spinning a spinnner
rsquared Extract r-squared value
rstudio_is_available Check whether RStudio is in use

-- S --

SAD All pairs mean and sum of absolute differences
SAD_ All pairs mean and sum of absolute differences
sample More Random Samples
sample.data.frame More Random Samples
sample.default More Random Samples
sample.factor More Random Samples
sample.matrix More Random Samples
sd Aggregating functions
setCorners Numerical Derivatives
setInterval Numerical Derivatives
shuffle More Random Samples
singvals Functions for teaching linear algebra.
smoother Create function from data
solve.formula Find zeros of functions
sp2df Transforms a shapefile into a dataframe
spliner Create function from data
standardCountry Standardization of Geographic Names
standardName Standardization of Geographic Names
standardState Standardization of Geographic Names
stat Extract summary statistics
stat.htest Extract summary statistics
statTally Tally test statistics
sum Aggregating functions
summary.groupwiseModel Construct a model based on groupwise means
summary.nlsfunction Fit a nonlinear least squares model
summary.oddsRatio Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
summary.relrisk Odds Ratio and Relative Risk for 2 x 2 Contingency Tables
surround Format strings for pretty output
swap Swap values among columns of a data frame
symbolicAntiD Find the symbolic integral of a formula
symbolicD Symbolic Derivatives
symbolicInt Find the symbolic integral of a formula

-- T --

t.test Student's t-Test
tally Tabulate categorical data
tally.default Tabulate categorical data
tally.tbl Tabulate categorical data
theme.mosaic Lattice Theme
theme_map ggplot2 theme for maps
ttest Student's t-Test
ttest.default Student's t-Test
ttest.formula Student's t-Test
TukeyHSD.formula Additional interfaces to TukeyHSD
TukeyHSD.lm Additional interfaces to TukeyHSD

-- U --

unnamed List extraction

-- V --

var Aggregating functions
vlength Projections

-- X --

xchisq.test Augmented Chi-squared test
xhistogram Augmented histograms
xhistogramBreaks Augmented histograms
xpchisq Illustrated probability calculations from distributions
xpf Illustrated probability calculations from distributions
xpgamma Illustrated probability calculations from distributions
xpnorm Augmented versions of pnorm and qnorm
xpt Illustrated probability calculations from distributions
xqchisq Illustrated quantile calculations from distributions
xqf Illustrated quantile calculations from distributions
xqgamma Illustrated quantile calculations from distributions
xqnorm Augmented versions of pnorm and qnorm
xqqmath Augmented version of 'qqmath'
xqt Illustrated quantile calculations from distributions
xyz2latlon Convert back and forth between latitude/longitude and XYZ-space

-- Z --

zscore Compute z-scores

-- misc --

*-method Do Things Repeatedly
.affine.exp Find the symbolic integral of a formula
.intArith Find the symbolic integral of a formula
.intMath Find the symbolic integral of a formula
.intTrig Find the symbolic integral of a formula
.makePoly Takes a call and returns its polynomial coefficients
.polyExp Takes a call and returns its polynomial coefficients
.polyExp.num Takes a call and returns its polynomial coefficients