Man pages for lares
Analytics & Machine Learning Sidekick

autolineNew Line Feed for Long Strings (Wrapper)
balance_dataBalance Binary Data by Resampling: Under-Over Sampling
bind_filesBind Files into Dataframe
bring_apiGet API (JSON) and Transform into data.frame
cache_writeCache Save and Load (Write and Read)
categ_reducerReduce categorical values
checksValidate inputs (attributions, options, ...)
chr2numCheck character values for date/numeric/logical and change...
ci_lowerLower/Upper Confidence Intervals
ci_varConfidence Intervals on Dataframe
clean_textClean text strings automatically
clusterKmeansAutomated K-Means Clustering + PCA/t-SNE
clusterOptimalKVisualize K-Means Clusters for Several K Methods
clusterVisualKVisualize K-Means Clusters for Several K
conf_matConfussion Matrix
corrCorrelation table
corr_crossRanked cross-correlation across all variables
corr_varCorrelation between variable and dataframe
cran_logsDownload and plot daily downloads of CRAN packages
crosstabWeighted Cross Tabulation
dalex_localDALEX Local
dalex_residualsDALEX Residuals
dalex_variableDALEX Partial Dependency Plots (PDP)
date_cutsConvert Date into Year + Cut
date_featsOne Hot Encoding for Date/Time Variables (Dummy Variables)
db_downloadDownload/Import Dropbox File by File's Name
db_uploadUpload Local Files to Dropbox
dfrResults for AutoML Predictions
df_strDataset columns and rows structure
dftTitanic Dataset
dist2dDistance from specific point to line
distrCompare Variables with their Distributions
errorsCalculate Continuous Values Errors
etf_sectorETF's Sectors Breakdown
export_plotExport ggplot2, gridExtra, or any plot object into rendered...
export_resultsExport h2o_automl's Results
fb_accountsFacebook Ad Accounts
fb_adsFacebook Ads API
fb_creativesFacebook Creatives API
fb_insightsFacebook Insights API
fb_processPaginate and Process Facebook's API Results
fb_report_checkFacebook API Report Status Check
fb_rfFacebook Reach and Frequency API
fb_tokenFacebook's Long-Life User API Token
file_nameExtract file raw name and type from file names
files_functionsList all functions used in R script files by package
filesGDGoogle Drive Files (API v4)
filterdataRemove/Drop Columns in which ALL or SOME values are NAs
font_existsCheck if Font is Installed
forecast_arimaARIMA Forecast
formatColouredPrint Coloured Messages
format_stringFormat a string text as markdown/HTML
freqsFrequencies Calculations and Plot
freqs_dfPlot for All Frequencies on Dataframe
freqs_listFrequencies on Lists and UpSet Plot
freqs_plotCombined Frequencies Plot for Categorical Features
gain_liftCumulative Gain, Lift and Response
gemini_askGemini API Interaction with R
get_credentialsLoad Credentials from a YML File
get_currencyDownload Historical Currency Exchange Rate
get_mp3Download MP3 from URL
get_tweetsGet Tweets
gg_fill_customsCustom fill, colour and text colours for ggplot2
gluedInterpolate a string [glue wrapper]
google_sheetsGoogle Sheets Reading and Writing (API v4)
google_trendsGoogle Trends: Related and Time Plots
gpt_askChatGPT API Interaction with R
gpt_prompterStructured Prompt Builder for LLM (ChatGPT)
grepl_lettersPattern Matching for Letters considering Blanks
grepmPattern Matching for Any or All Multiple Matches
h2o_automlAutomated H2O's AutoML
h2o_explainerDALEX Explainer for H2O
h2o_predictCalculate predictions of h2o Models
h2o_resultsAutomated H2O's AutoML Results
h2o_selectmodelSelect Model from h2o_automl's Leaderboard
h2o_shapSHAP values for H2O Models
haveInternetInternet Connection Check
holidaysHolidays in your Country
image_metadataGet Meta Data from Image Files
importxlsxImport Excel File with All Its Tabs
imputeImpute Missing Values (using MICE)
install_recommendedInstall/Update Additional Recommended Libraries
ip_dataScrap data based on IP address
is_urlCheck if input is_* or are_*
iter_seedsIterate Seeds on AutoML
json2vectorConvert Python JSON string to R vector (data.frame with 1...
laresAnalytics, Data Mining & Machine Learning Sidekick
lares-exportsPipe operator
lares_logoPrint lares R library Logo
lares_palPersonal Colours Palette
lasso_varsMost Relevant Features Using Lasso Regression
left_rightLeft or Right N characters of a string
li_authOAuth Linkedin
li_profileGet My Personal LinkedIn Data
list_catsList categorical values for data.frame
listfilesList files in a directory
loglossBinaryLogarithmic Loss Function for Binary Models
mail_sendSend Emails with Attachments (POST)
markdown2dfConvert markdown string tables to data.frame
maze_solveMaze Solver, inspired by Micromouse competitions
missingnessCalculate and Visualize Missingness
model_metricsModel Metrics and Performance
model_preprocessAutomate Data Preprocess for Modeling
move_filesMove files from A to B
mplot_confConfussion Matrix Plot
mplot_cutsCuts by quantiles for score plot
mplot_cuts_errorCuts by quantiles on absolute and percentual errors plot
mplot_densityDensity plot for discrete and continuous values
mplot_fullMPLOTS Score Full Report Plots
mplot_gainCumulative Gain Plot
mplot_importanceVariables Importances Plot
mplot_linealLinear Regression Results Plot
mplot_metricsModel Metrics and Performance Plots
mplot_responseCumulative Response Plot
mplot_rocROC Curve Plot
mplot_splitsSplit and compare quantiles plot
mplot_topcatsTop Hit Ratios for Multi-Classification Models
msplitSplit a dataframe for training and testing sets
myipWhat's my IP?
ngramsBuild N-grams and keep most frequent
noPlotPlot Result with Nothing to Plot
normalizeNormalize Vector
num_abbrAbbreviate or dis-abbreviate numerical values
ohe_commasOne Hot Encoding for a Vector with Comma Separated Values
ohseOne Hot Smart Encoding (Dummy Variables)
outlier_turkeyOutliers: Tukey’s fences
outlier_zscoreOutliers: Z-score method
outlier_zscore_plotOutliers: Z-score method plot
plot_catsPlot All Categorical Features (Frequencies)
plot_chordChords Plot
plot_dfPlot Summary of Numerical and Categorical Features
plot_numsPlot All Numerical Features (Boxplots)
plot_palettePlot Palette Colours
plot_surveyVisualize Survey Results
plot_timelinePlot timeline as Gantt Plot
prophesizeFacebook's Prophet Forecast
quantsCalculate cuts by quantiles
queryDBPostgreSQL Queries on Database (Read)
queryGAQueries on Google Analytics
quietQuiet prints and verbose noise
read.fileRead Files Quickly (Auto-detected)
reduce_pcaReduce Dimensionality with PCA
reduce_tsneReduce Dimensionality with t-SNE
remove_stopwordsRemove stop-words and patterns from character vector
replaceallReplace Values With
replacefactorReplace Factor Values
robyn_hypsbuilderRobyn: Generate default hyperparameters
robyn_modelselectorRobyn: Model Selection by Weighted Criteria Scores
robyn_performanceRobyn: Dynamic Performance and Contribution Report
ROCAUC and ROC Curves Data
rtistry_sphereGenerative Art: Sphere XmodY
scale_x_commaAxis scales format
scrabbleScrabble: Dictionaries
sentimentBreakdownSentiment Breakdown on Text
shap_varSHAP-based dependence plots for categorical/numerical...
slackSendSend Slack Message (Webhook)
spread_listSpread list column into new columns
statusbarProgressive Status Bar (Loading)
stocks_histDownload Stocks Historical and Current Values
stocks_plotsInvesting Portfolio Reporting Plots
stocks_reportBuild a Personal Investing Portfolio Report
sudoku_solverSolve Sudoku Puzzles
target_setSet Target Value in Target Variable
textCloudWordcloud Plot
textFeatsCreate features out of text
textTokenizerTokenize Vectors into Words
theme_laresTheme for ggplot2 (lares)
ticStopwatch to measure timings in R
topics_rakeKeyword/Topic identification using RAKE
tree_varRecursive Partitioning and Regression Trees
trim_mp3Trim MP3 Audio File
try_requireCheck if Specific Package is Installed
updateLaresUpdate the library (dev or CRAN version)
vector2textConvert a vector into a comma separated text
warnifnotTest the Truth of R Expressions and Warn
weighted_valueCalculate weighted stock values using FIFO/LIFO
what_sizeCalculate the size of any R object or directory
winsorizeOutliers: Winsorize
wordleWordle Game Validation
x2yRanked Predictive Power of Cross-Features (x2y)
year_monthConvert Date into Year-Month, Year-Quarter or Year-Week...
zerovarZero Variance Columns
lares documentation built on Sept. 13, 2024, 1:08 a.m.