Learn R Programming

⚠️There's a newer version (0.0.7) of this package.Take me there.

thisutils

Introduction

thisutils is an R package for collecting some useful functions.

Installation

You can install the development version from GitHub use pak:

if (!require("pak", quietly = TRUE)) {
  install.packages("pak")
}
pak::pak("mengxu98/thisutils")

Usage

Please reference here.

Copy Link

Version

Install

install.packages('thisutils')

Version

0.0.5

License

MIT + file LICENSE

Maintainer

Meng Xu

Last Published

July 3rd, 2025

Functions in thisutils (0.0.5)

remove_space

Remove and normalize spaces
simulate_sparse_matrix

Generate a simulated sparse matrix
pearson_correlation

Correlation and covariance calculation for sparse matrix
rescale

Rescale numeric vector
log_message

Print diagnostic message
try_get

Try to evaluate an expression a set number of times before failing
thisutils-package

thisutils: An R package for utility functions.
thisutils_logo

thisutils logo
str_wrap

Wrap text
sparse_cor

A sparse correlation function
split_indices

Split indices.
unnest_fun

Unnest a list-column
invoke_fun

Invoke a function with a list of arguments
list_figlet_fonts

List available figlet fonts
add_pkg_file

Add package file
capitalize

Capitalizes the characters Making the first letter uppercase
as_matrix

Convert sparse matrix into dense matrix
check_sparsity

Check sparsity of matrix
download

Download File from the Internet
figlet

figlet
figlet_font

Get a figlet font
print.logo

print logo
r_square

coefficient of determination (\(R^2\))
%ss%

Value selection operator
parallelize_fun

Parallelize a function
normalization

Normalize numeric vector