Rdocumentation
powered by
Learn R Programming
smallstuff (version 1.0.3)
Dr. Small's Functions
Description
Functions used in courses taught by Dr. Small at Drew University.
Copy Link
Link to current version
Version
Version
1.0.3
1.0.1
Install
install.packages('smallstuff')
Monthly Downloads
485
Version
1.0.3
License
GPL-3
Maintainer
Ellie Small
Last Published
January 26th, 2024
Functions in smallstuff (1.0.3)
Search all functions
dataSet
Obtain a Dataset from a Formula
as_adj_def
Create an adjacency matrix from a multigraph according to the definition
outliers
Find Outliers
plotCol
Plot Colors
CVerrorknn
k-Fold Cross Validation Error Rate for KNN
graph_attr_from_df
Add Graph Attributes to a Graph from a Data Frame
impNA
Impute Missing Values
weight_distribution
Weight Distribution of a Graph
withinPC
Calculate Row or Column Percentages
ROCcurve
Plot the ROC curve
get_subgraphs
Split a Graph into Subgraphs
laCrossProd
Cross Product (Linear Algebra)
CI
Normal Confidence Interval
CVerror
k-Fold Cross Validation Error Rate
span3D
Span of a Matrix
logistErrorRate
Calculate the Error Rate and Results Table for Logistic Regression Models
lmSub
Best Linear Model in Subset Selection
pop.sd
Calculate the Population Standard Deviation
dCohen
Cohen's d
crossing2
Find Edge Crossings
round2
Round to the Nearest Number
smallstuff-package
Dr. Small's Data Science Functions
lines3D
Lines in 3D
lmPartReg
Partial Regression Plot
pop.var
Calculate the Population Variance
qqlineHalf
Line through a Half-Normal Plot
vector3D
Add a Vector to a 3D Coordinate System
rcpp_hello_world
Simple function using Rcpp
vector2D
Add a Vector to a 2D Coordinate System
systemEq
Solve a System of Equations
predict.regsubsets
Obtain Predictions using Subset Selection
projMatrix
Create the Projection Matrix of a Matrix
allvectors3D
Plot Vectors in 3D
coord2D
Plot a 2D Coordinate System
ROCknn
KNN ROC curve
allspan3D
Plot Span and Vectors in 3D
coord3D
Plot a 3D Coordinate System
isInt
Determine if the Input contains Integers