Learn R Programming

spuRs (version 2.0.3)

Functions and Datasets for "Introduction to Scientific Programming and Simulation Using R"

Description

Provides functions and datasets from Jones, O.D., R. Maillardet, and A.P. Robinson. 2014. An Introduction to Scientific Programming and Simulation, Using R. 2nd Ed. Chapman And Hall/CRC.

Copy Link

Version

Install

install.packages('spuRs')

Monthly Downloads

286

Version

2.0.3

License

GPL-3

Maintainer

Andrew Robinson Joseph M Hilbe hilbeasuedu

Last Published

April 27th, 2025

Functions in spuRs (2.0.3)

mean.transectHolder

Function to compute the mean dispersal distance along a transect of seed traps.
vol.m3

Function to compute the volume of a tree bole assuming a particular shape.
treeg

Grand fir tree growth data from northern and central Idaho, USA.
trapTransect

Function to construct an object representing a transect of seedtraps.
transectHolder

Function to construct an object representing a collection of trapTransect objects.
ufc.plots

Upper Flat Creek forest cruise plot data
ufc

Upper Flat Creek forest cruise tree data
trees

von Guttenberg Norway spruce tree measurement data
newtonraphson_show

A function of the Newton-Raphson algorithm, plotting the path.
bisection

A function of the bisection algorithm.
MCEstimation

A function to estimate the transition matrix for a discrete time Markov chain.
RK4adapt

A function which uses the Fourth order Runge-Kutta method with adaptive step size to solve a system of ODE's.
newtonraphson

A function of the Newton-Raphson algorithm.
fitDistances

Function to fit a model to seed transect distance/count data.
CMCSimulation

A function to simulate a continuous time Markov chain.
print.trapTransect

Function to print a trapTransect object usefullly.
kew

303 years of monthly rainfall data from Kew Gardens, London, U.K.
fixedpoint_show

A function of the fixed point algorithm.
MCSimulation

A function to simulate a discrete time Markov chain.
print.transectHolder

Function to print a transectHolder object usefullly.
booking_clerkMC

A function to simulate the harassed booking clerk Markov chain.
sd.transectHolder

Function to compute the sd dispersal distance along a transect of seed traps.
fixedpoint

A function of the fixed point algorithm.
simulate.transectHolder

Function to simulate a modelled seed rain from a transectHolder
prime

Function to assess whether or not an integer is prime.
primesieve

Function to identify all the primes in a vector of positive integers.
mean.trapTransect

Function to compute the mean dispersal distance along a transect of seed traps.