Package: mosaicCalc 0.6.4.9001

Daniel Kaplan

mosaicCalc: R-Language Based Calculus Operations for Teaching

Software to support the introductory *MOSAIC Calculus* textbook <https://www.mosaic-web.org/MOSAIC-Calculus/>), one of many data- and modeling-oriented educational resources developed by Project MOSAIC (<https://www.mosaic-web.org/>). Provides symbolic and numerical differentiation and integration, as well as support for applied linear algebra (for data science), and differential equations/dynamics. Includes grammar-of-graphics-based functions for drawing vector fields, trajectories, etc. The software is suitable for general use, but intended mainly for teaching calculus.

Authors:Daniel T. Kaplan <[email protected]>, Randall Pruim <[email protected]>, Nicholas J. Horton <[email protected]>

mosaicCalc_0.6.4.9001.tar.gz
mosaicCalc_0.6.4.9001.zip(r-4.5)mosaicCalc_0.6.4.9001.zip(r-4.4)mosaicCalc_0.6.4.9001.zip(r-4.3)
mosaicCalc_0.6.4.9001.tgz(r-4.4-any)mosaicCalc_0.6.4.9001.tgz(r-4.3-any)
mosaicCalc_0.6.4.9001.tar.gz(r-4.5-noble)mosaicCalc_0.6.4.9001.tar.gz(r-4.4-noble)
mosaicCalc_0.6.4.9001.tgz(r-4.4-emscripten)mosaicCalc_0.6.4.9001.tgz(r-4.3-emscripten)
mosaicCalc.pdf |mosaicCalc.html
mosaicCalc/json (API)
NEWS

# Install 'mosaicCalc' in R:
install.packages('mosaicCalc', repos = c('https://projectmosaic.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/projectmosaic/mosaiccalc/issues

Datasets:
  • Anchorage_tide - Tide levels from the US NOAA
  • Aquaman - Box office from the movie Aquaman
  • Blob1 - Shapes used in moment of inertia calculations
  • Blob2 - Shapes used in moment of inertia calculations
  • Blob3 - Shapes used in moment of inertia calculations
  • Blob4 - Shapes used in moment of inertia calculations
  • Body_fat - Measurements of body-fat percentage and related quantities
  • Boyle - Robert Boyle's pressure vs volume measurements
  • CPUs - Characteristics of computer central processing unit chips over the decades
  • Cello - Short recordings of a cello and a violin
  • Cello_seg - Short recordings of a cello and a violin
  • Chirps - Cricket chirp rate and temperature
  • Covid_US - COVID data from the first half of the pandemic
  • EbolaAll - Case numbers in an Ebola outbreak in 2014
  • EbolaGuinea - Case numbers in an Ebola outbreak in 2014
  • Ee_sound - Recordings of vowel sounds
  • Effective_oxygen - Effective amount of oxygen available at different altitudes
  • Engines - Characteristics of various internal combustion engines
  • Fly_ball - Trajectory of a fly ball in baseball
  • HDD_Minneapolis - Heating degree days in Minneapolis, Minnesota, USA
  • Home_utilities - Gas and electricity usage by a home in St. Paul, MN
  • Kepler - Kepler's calculation of the position of Mars
  • M2014F - Mortality versus age for females in the US in 2014
  • Oh_sound - Recordings of vowel sounds
  • Planet_solar - Solar irradiance of the planets
  • Planets - NASA data on planets
  • RI_tide - Tide levels from the US NOAA
  • Robot_stations - Waypoints on the path of a fictitious robot
  • Runners - Running times
  • SSA_2007 - US Mortality table from 2007
  • UK_GDP - Gross Domestic Product of the United Kingdom over a millenium
  • US_income - Income distribution data from the US in 2009
  • Violin - Short recordings of a cello and a violin
  • Violin_seg - Short recordings of a cello and a violin
  • Vowel_ee - Recordings of vowel sounds
  • Vowel_oh - Recordings of vowel sounds

On CRAN:

49 exports 12 stars 2.10 score 85 dependencies 498 scripts 1.1k downloads

Last updated 28 days agofrom:ccc21fdefb. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 20 2024
R-4.5-winNOTEAug 20 2024
R-4.5-linuxNOTEAug 20 2024
R-4.4-winNOTEAug 20 2024
R-4.4-macNOTEAug 20 2024
R-4.3-winNOTEAug 20 2024
R-4.3-macNOTEAug 20 2024

Exports:%dot%%onto%%perp%antiDargMas_magnitudebind_paramsboundsbox_setconnectorcontour_plotDdf2matrixdomaindoodle_funequality_constraintflow_fieldfourier_Mfourier_setgradient_plotinequality_constraintinscribed_circleIntegrateintegrateODEinteractive_plotis_in_domainIteratelegendre_Mlegendre_setmakeODEnormalizens_Mns_setnumDPE_fun1PE_fun2Picketqsplinerslice_plotsplinerstreamlinessurface_plotsurface_with_contourssymbolicDtraj_plottraj_plot_3Dtrajectory_eulervectorfield_plotZeros

Dependencies:backportsbitbit64cachemcalculuscheckmateclassclassIntclicliprcolorspacecpp11crayondata.tableDBIDerivdigestdplyre1071fansifarverfastmapforcatsFormulaformula.toolsgenericsggformulaggplot2ggridgesgluegtablehavenhmsisobandKernSmoothlabelinglabelledlatticelifecyclelubridatemagrittrMASSMatrixmemoisemetRmgcvmosaicmosaicCoremosaicDatamunsellnlmeoperator.toolsorthopolynompillarpkgconfigplyrpolynomprettyunitsprogressproxypurrrR6RColorBrewerRcppreadrrlangRyacass2scalessfspstringistringrtibbletidyrtidyselecttimechangetzdbunitsutf8vctrsviridisLitevroomwithrwk

{mosaicCalc} Quick Reference

Rendered fromquick-reference.Rmdusingknitr::rmarkdownon Aug 20 2024.

Last update: 2022-09-14
Started: 2022-07-19

Beginners' Guide to Calculus with R

Rendered fromCalculus_with_R.Rmdusingknitr::rmarkdownon Aug 20 2024.

Last update: 2022-08-31
Started: 2020-02-18

Instructors' Guide

Rendered fromInstructors.Rmdusingknitr::rmarkdownon Aug 20 2024.

Last update: 2022-08-31
Started: 2022-07-12

Readme and manuals

Help Manual

Help pageTopics
Box office from the movie AquamanAquaman
Find local extreme pointsargM
Basis sets for for function approximationbasis_sets fourier_M fourier_set legendre_M legendre_set ns_M ns_set
Shapes used in moment of inertia calculationsBlob1 Blob2 Blob3 Blob4
Measurements of body-fat percentage and related quantitiesBody_fat
Specify a domain over which a function is to be graphedbounds domain
Evenly spaced samples across a one- or two-dim domainbox_set
Robert Boyle's pressure vs volume measurementsBoyle
Short recordings of a cello and a violinCello Cello_seg Violin Violin_seg
Cricket chirp rate and temperatureChirps
Contour plots of functions of two variablescontour_plot
COVID data from the first half of the pandemicCovid_US
Characteristics of computer central processing unit chips over the decadesCPUs
Create a numerical anti-derivative function which can be called with one or many values of the w.r.t. inputcreate_num_antiD
Derivative and Anti-derivative operatorsantiD D
Construct a model matrix from data as if by handdf2matrix
Construct a random function that is smoothdoodle_fun
Case numbers in an Ebola outbreak in 2014EbolaAll EbolaGuinea
Effective amount of oxygen available at different altitudesEffective_oxygen
Characteristics of various internal combustion enginesEngines
Handle the first three arguments of graphics functionsfirst_three_args
Find zeros of a functionfitSpline
Trajectory of a fly ball in baseballFly_ball
Plot a vector fieldgradient_plot vectorfield_plot
Heating degree days in Minneapolis, Minnesota, USAHDD_Minneapolis
Gas and electricity usage by a home in St. Paul, MNHome_utilities
Graphics for constraintsequality_constraint inequality_constraint
Utilities for formulas and graphics argumentsformals_from_expr infer_RHS
Create a data frame for a circle marking the curvature of a function.inscribed_circle
Integrate a functionIntegrate
Integrate ordinary differential equationsintegrateODE
check whether a value is in a domainis_in_domain
Iterate a function on an initial conditionIterate
Kepler's calculation of the position of MarsKepler
Mortality versus age for females in the US in 2014M2014F
Create a dynamics object for use in 'integrateODE()' and the ODE graphicsmakeODE
Numerical DerivativesnumD
Potential energy functions used as examples in _MOSAIC Calculus_.PE_fun1 PE_fun2
Creates a "picket fence" of points for illustrating numerical integrationPicket
Solar irradiance of the planetsPlanet_solar
NASA data on planetsPlanets
Plot functions of one and two variables using lattice systemplotFun
Create a quadratic spline (inefficiently)qspliner
Generate a "natural looking" function of one or multiple variablesrfun
Tide levels from the US NOAAAnchorage_tide RI_tide RI_tide,
Waypoints on the path of a fictitious robotRobot_stations
Running timesRunners
Interface to integration using RyacassimpleYacasIntegrate
Turn a 1-line function into an inline formulainline_expr replace_arg_in_expr simplify_fun
Plot a function of a single variableslice_plot
Create a smoothing function approximating a cloud of pointssmoother
US Mortality table from 2007SSA_2007
Dynamical systems calculations and graphicsflow_field streamlines trajectory_euler
Make an interactive plotly plot of a function of two variablesinteractive_plot surface_plot surface_with_contours
Symbolic DerivativessymbolicD
Plots a trajectorytraj_plot
Simple 3D plot of a trajectorytraj_plot_3D
Gross Domestic Product of the United Kingdom over a milleniumUK_GDP
Identifying unbound inputs to a functionbind_params unbound
Income distribution data from the US in 2009US_income
convert a function with separate arguments into one with a single vector argument For use with optim.vector_arg
Utilities for vector calculations%dot% %onto% %perp% as_magnitude normalize vectors
Recordings of vowel soundsEe_sound Oh_sound Vowel_ee Vowel_oh
Finds zeros of a function within a specified domainZeros