Learn R Programming

spuRs (version 2.0.2)

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

596

Version

2.0.2

License

GPL-3

Last Published

May 21st, 2018

Functions in spuRs (2.0.2)

vol.m3

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

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

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

Upper Flat Creek forest cruise tree data
trees

von Guttenberg Norway spruce tree measurement data
treeg

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

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

Upper Flat Creek forest cruise plot data
trapTransect

Function to construct an object representing a transect of seedtraps.
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.
bisection

A function of the bisection algorithm.
kew

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

A function to simulate a discrete time Markov chain.
fixedpoint

A function of the fixed point algorithm.
booking_clerkMC

A function to simulate the harassed booking clerk Markov chain.
CMCSimulation

A function to simulate a continuous time Markov chain.
newtonraphson

A function of the Newton-Raphson algorithm.
mean.transectHolder

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

Function to assess whether or not an integer is prime.
print.transectHolder

Function to print a transectHolder object usefullly.
fitDistances

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

A function of the fixed point algorithm.
simulate.transectHolder

Function to simulate a modelled seed rain from a transectHolder
print.trapTransect

Function to print a trapTransect object usefullly.
mean.trapTransect

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

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