Collection of functions with emphasis in multivariate data analysis

addAlpha | Add alpha channel (transparency) to colors |

bioEnv | Clarke and Ainsworth's BIO-ENV routine |

bvStep | Clarke and Ainsworth's BVSTEP routine |

colorPalette | Color interpolation with uneven step size |

cov4gappy | Covariance matrix calculation for gappy data |

cv.nperm | Conduct k-fold cross validation with multiple permutations |

dineof | DINEOF (Data Interpolating Empirical Orthogonal Functions) |

earthBear | Directional bearing between two geographic locations |

earthDist | Earth distance between two geographic locations |

eof | EOF (Empirical Orthogonal Functions analysis) |

eofBoot | Calculate number of non-mixed EOFs (eof version) |

eofNull | Calculate significance of EOFs compared to a null model (eof... |

eofPred | EOF prediction |

eofRecon | EOF reconstruction (Empirical Orthogonal Functions analysis) |

expmat | Exponentiation of a matrix |

fieldAnomaly | Calculate the daily (julian or month/day date) or monthly... |

getcolors | Select colors visually |

getcolors2 | Select colors visually |

getResponse | Return response variable name from a fitted model |

gm_mean | Geometric Mean |

gmtColors | GMT palette colors |

imageScale | Make a color scale to accompany an image or other plot |

isin.convert | Calculate grid and polygon coordinates for 4 km ISIN grid |

jetPal | jet palette |

kfold | Determine k-fold partitions for a given number of samples |

lonLatFilter | Filter lon/lat positions that fall within defined boundaries |

lsos | List top n objects by size |

mantelGA | Genetic Algorithm Mantel |

matrixPoly | Make polygons from a matrix |

nearest | Calculate the nearest element in a vector as compared to a... |

newLonLat | Directional bearing between two geographic locations |

newRange | Define a new range for a numeric |

northTest | North's Rule of Thumb for EOF significance |

pca_kcv | Principal component analysis k-fold cross-validation |

pca_loocv | Principal component analysis "leave-one-out" cross-validation |

plotRegionCol | Add color to plot region |

plotStacked | Stacked plot |

plotStream | Stream plot |

prcompBoot | Calculate number of non-mixed EOFs (prcomp version) |

prcompNull | Calculate significance of EOFs compared to a null model... |

prcompRecon | prcomp object reconstruction |

ptlocator | Data point locator |

reltext | Add text using relative x,y plot coordinates |

round2reso | Round to defined resolution increment |

seqRan | Create a sequence of defined length over range of a vector |

sharedVals | Identify shared values between two vectors |

slp | Hadley SLP monthly mean dataset |

spirographR | Make a sprirograph-like design |

sqbin | Square binning of xy data |

sst | Kaplan monthly mean anomaly dataset |

unscale | Unscale a matrix |

val2col | Convert values to color levels |

wine | wine attributes dataset |

woldcv | Wold's PCA cross-validation procedure |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.