Project MOSAIC Statistics and Mathematics Teaching Utilities


[Up] [Top]

Documentation for package ‘mosaic’ version 0.14.4

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
aggregatingFunction1or2 1- or 2-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
ashplot Average Shifted Histograms
ash_points Average Shifted Histograms

-- B --

bargraph Create bar graphs from raw data
binom.test 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
chisq.table 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.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 Confidence interval methods for output of resampling
confint.data.frame Confidence interval methods for output of resampling
confint.do.data.frame Confidence interval methods for output of resampling
confint.do.tbl_df Confidence interval methods for output of resampling
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
cull_for_do Cull objects used with do()

-- 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 deltaMethod has moved to a separate package
derivedFactor Create new variables from logicals
derivedVariable Create new variables 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
dpqrdist Distribution wrapper

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

factorise Conditionally convert vectors to factors
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 Defunct functions now in the fetch package
fetchGapminder Defunct functions now in the fetch package
fetchGapminder1 Defunct functions now in the fetch package
fetchGoogle Defunct functions now in the fetch package
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
fivenum Aggregating functions
formularise Convert lazy objects into formulas
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
freqpoly Turn histograms into frequency polygons
freqpolygon Frequency Polygons
FunctionsFromData Create function from data

-- G --

geom_ash Average Shifted Histograms
geom_spline Geoms and stats for spline smoother
getVarFormula Extract data from a data frame using a formula interface
googleMap Display a point on earth on a Google Map
gwm Groupwise models Construct a model based on groupwise means or proportions

-- H --

hist2freqpolygon Turn histograms into frequency polygons
histogram Augmented histograms

-- I --

ilogit Logit and inverse logit functions
inferArgs Infer arguments
inspect Inspect objects
inspect.character Inspect objects
inspect.data.frame Inspect objects
inspect.factor Inspect objects
inspect.list Inspect objects
inspect.logical Inspect objects
inspect.numeric Inspect objects
inspect.POSIXt Inspect objects
integrateODE Integrate ordinary differential equations
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.formula Create a function from a formula
makeFun.function Create a function from a formula
makeFun.glm Create a function from a formula
makeFun.groupwiseModel Create a function from a formula
makeFun.lm Create a function from a formula
makeFun.nls Create a function from a formula
makeMap Make a map with 'ggplot2'
mat Functions for teaching linear algebra.
max Aggregating functions
mean 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
MSPE Mean Squared Prediction Error
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
n_missing counting missing elements

-- 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.ashplot Average Shifted Histograms
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
plot.freqpolygon Turn histograms into frequency polygons
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
plotModel Plot a regression model
plotPoints Scatter plot of points
predict.groupwiseModel Evaluate a groupwise model given new data
prepanel.cumfreq Cumulative frequency plots
prepanel.default.ashplot Average Shifted Histograms
prepanel.default.freqpolygon Frequency Polygons
prepanel.xhistogram Augmented histograms
print.cointoss Tossing Coins
print.inspected_data_frame Inspect objects
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
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
prop1 Compute proportions, percents, or counts for a single level
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
relm Resample a Linear Model
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
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
set.rseed Set seed in parallel compatible way
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
StatAsh Average Shifted Histograms
StatSpline Geoms and stats for spline smoother
statTally Tally test statistics
stat_ash Average Shifted Histograms
stat_spline Geoms and stats for spline smoother
sum Aggregating functions
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.data.frame Tabulate categorical data
tally.formula Tabulate categorical data
tally.tbl Tabulate categorical data
theme.mosaic Lattice Theme
theme_map ggplot2 theme for maps
TukeyHSD.formula Additional interfaces to TukeyHSD
TukeyHSD.lm Additional interfaces to TukeyHSD
t_test Student's t-Test

-- U --

unnamed List extraction
update_ci Update confidence interval

-- V --

value Extract value from an object
value.default Extract value from an object
value.integrate Extract value from an object
var Aggregating functions
vector2df Convert a vector to a data frame
vlength Projections

-- X --

xchisq.test Augmented Chi-squared test
xhistogram Augmented histograms
xhistogramBreaks Augmented histograms
xpbinom Illustrated probability calculations from distributions
xpchisq Illustrated probability calculations from distributions
xpf Illustrated probability calculations from distributions
xpgamma Illustrated probability calculations from distributions
xpgeom Illustrated probability calculations from distributions
xpnbinom Illustrated probability calculations from distributions
xpnorm Augmented versions of pnorm and qnorm
xppois Illustrated probability calculations from distributions
xpt Illustrated probability calculations from distributions
xqbinom Illustrated quantile calculations from distributions
xqchisq Illustrated quantile calculations from distributions
xqf Illustrated quantile calculations from distributions
xqgamma Illustrated quantile calculations from distributions
xqgeom Illustrated quantile calculations from distributions
xqnbinom Illustrated quantile calculations from distributions
xqnorm Augmented versions of pnorm and qnorm
xqpois Illustrated quantile calculations from distributions
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