R: A Collection of R Functions by the Petersen Lab

# A Collection of R Functions by the Petersen Lab

## Documentation for package ‘petersenlab’ version 1.2.0

- DESCRIPTION file
- Package README

## Help Pages

A C D E F G I K L M N O P R S T U V W misc

## -- A --

accuracyAtCutoff | Accuracy at a Given Cutoff.
accuracyAtEachCutoff | Accuracy at Each Cutoff.
accuracyOverall | Overall Accuracy.
addText | Add Correlation to Scatterplot.
adjust_sourdough_time | Adjust Sourdough Recipe Fermentation and Proofing Times Based on Temperature
apa | APA Format
attenuationCorrelation | Attenuation of True Correlation Due to Measurement Error.

## -- C --

cleanUpNames | Clean Up Player Names For Merging.
columnBindFill | Column Bind and Fill.
complement | Simulate Complement Variable.
computeItemFrequencies | Frequency Per Duration.
computeLifetimeFrequencies | Frequency Per Duration.
convert.magic | Convert Variable Types.
convertHoursAMPM | Convert AM and PM Hours.
convertToHours | Convert Time to Hours.
convertToMinutes | Convert Time to Minutes.
convertToSeconds | Convert Time to Seconds.
cor.table | Correlation Matrix.
crossTimeCorrelation | Cross-Time Correlations.
crossTimeCorrelationDF | Cross-Time Correlations Dataframe.

## -- D --

deriv_d_negBinom | Item and Test Information from Zero-Inflated Negative Binomial Model.
deriv_logd_negBinom | Item and Test Information from Zero-Inflated Negative Binomial Model.
disattenuationCorrelation | Disattenuation of Observed Correlation Due to Measurement Error.
discriminationToFactorLoading | Discrimination (IRT) to Standardized Factor Loading.
dropColsWithAllNA | Drop NA columns.
dropRowsWithAllNA | Drop NA rows.
d_negBinom | Item and Test Information from Zero-Inflated Negative Binomial Model.

## -- E --

equiv_chi | Chi-Square Equivalence Test for Structural Equation Models.
error_variance_4PL | Test Information from Logistic IRT Model.
error_variance_NB | Item and Test Information from Zero-Inflated Negative Binomial Model.

## -- F --

fourPL | 4-Parameter Logistic Curve.

## -- G --

getDependencies | Package Dependencies.

## -- I --

imputationCombine | Combine Results from Mixed Effect Imputation Models.
imputationModelCompare | Compare Mixed Effect Imputation Models.
imputationPRV | Proportional Reduction of Variance from Imputation Models.
info_neg_binom_analytical | Item and Test Information from Zero-Inflated Negative Binomial Model.
is.nan.data.frame | NaN (Not a Number).
itemInformation | Item Information.
item_info_NB_analytical | Item and Test Information from Zero-Inflated Negative Binomial Model.
item_info_NB_zero_analytical | Item and Test Information from Zero-Inflated Negative Binomial Model.

## -- K --

kish_ess | Weighted Quantiles.

## -- L --

lm.beta.lmer | Obtain standardized regression coefficients from lmer model.
lmCombine | Combine Results from Multiple Regression Imputation Models.
lmeSummary | Summarize mixed effects model.
load_or_install | Load or Install Packages.
log_gen_binom | Item and Test Information from Zero-Inflated Negative Binomial Model.

## -- M --

make_esem_model | Make ESEM Model.
mark_intensity_as_zero | Recode Intensity.
meanSum | Mean Sum.
Mode | Statistical Mode.
mortgage | Mortgage Principal and Interest.
mySum | My Sum.
my_loadings_sorter | Sorts loadings from exploratory factor analysis.

## -- N --

nomogrammer | Create Nomogram.
not_all_na | Any Rows Not NA.
not_any_na | Not Any NA.

## -- O --

optimalCutoff | Optimal Cutoff.

## -- P --

pA | Bayes' Theorem.
pAgivenB | Bayes' Theorem.
pAgivenNotB | Bayes' Theorem.
partialcor.table | Partial Correlation Matrix.
pB | Bayes' Theorem.
pBgivenA | Bayes' Theorem.
pBgivenNotA | Bayes' Theorem.
percentEffort | Person Months.
percentileToTScore | Percentile to T-Score Conversion.
personMonths | Person Months.
plot2WayInteraction | Plot 2-way interaction.
pom | Proportion of Maximum (POM).
posttestOdds | Posttest Odds & Probability.
posttestProbability | Posttest Odds & Probability.
ppPlot | PP Plot.
puc | Percent of Uncontaminated Correlations (PUC).
pValue | p-values.

## -- R --

read.aes | Read Encrypted Data.
recode_intensity | Recode Intensity.
redcapProgressBar | Progress Bar for REDCap.
reliabilityIRT | Reliability (IRT).
reliabilityOfDifferenceScore | Reliability of Difference Score.
reliability_4PL | Test Information from Logistic IRT Model.
reliability_NB | Item and Test Information from Zero-Inflated Negative Binomial Model.
repeatability | Repeatability.
reverse_score | Reverse Score Variables.
robust_load | Robustly Load R Objects from a URL with Retry Logic

## -- S --

satorraBentlerScaledChiSquareDifferenceTestStatistic | Satorra-Bentler Scaled Chi-Square Difference Test Statistic.
semPlotInteraction | Plot interaction from SEM model.
setLabPath | Set Lab Path.
simulateAUC | Simulate Area Under the ROC Curve (AUC).
simulateIndirectEffect | Simulate Indirect Effect.
specify_decimal | Specify Decimals.
standardErrorIRT | Standard Error of Measurement (IRT).
suppressLeadingZero | Suppress Leading Zero.

## -- T --

test_info_4PL | Test Information from Logistic IRT Model.
test_info_NB | Item and Test Information from Zero-Inflated Negative Binomial Model.
timesPerInterval | Frequency Per Duration.
timesPerLifetime | Frequency Per Duration.

## -- U --

update_nested | Update Nested Models in Hierarchical Regression.

## -- V --

varsDifferentTypes | Identify Variables of Different Types.
vwReg | Visually Weighted Regression.

## -- W --

whdquantile | Weighted Quantiles.
wisdomOfCrowd | Overall Accuracy.
wquantile | Weighted Quantiles.
wquantile_generic | Weighted Quantiles.
write.aes | Write Encrypted Data.
wthdquantile | Weighted Quantiles.

## -- misc --

%ni% | NOTIN Operator.