Learn R Programming

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

thisutils

Introduction

thisutils is an R package for collecting some useful functions.

Installation

Install CRAN version:

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

Install 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')

Monthly Downloads

954

Version

0.1.5

License

MIT + file LICENSE

Maintainer

Meng Xu

Last Published

September 11th, 2025

Functions in thisutils (0.1.5)

print.thisutils_logo

Print logo
matrix_to_table

Switch matrix to table
rescale

Rescale numeric vector
remove_space

Remove and normalize spaces
r_square

Coefficient of determination (\(R^2\))
matrix_process

Process matrix
pearson_correlation

Correlation and covariance calculation for sparse matrix
normalization

Normalize numeric vector
split_indices

Split indices.
sparse_cor

Sparse correlation function
simulate_sparse_matrix

Generate a simulated sparse matrix
thisutils-package

Collection of Utility Functions for Data Analysis and Computing
table_to_matrix

Switch table to matrix
thisutils_logo

The logo of thisutils
unnest_fun

Unnest a list-column
try_get

Try to evaluate an expression a set number of times before failing
as_matrix

Convert matrix into dense/sparse matrix
download

Download file from the Internet
check_sparsity

Check sparsity of matrix
%ss%

Value selection operator
figlet_font

Get a figlet font
add_pkg_file

Add package file
figlet

The figlet function
list_figlet_fonts

List available figlet fonts
invoke_fun

Invoke a function with a list of arguments
log_message

Print formatted message
capitalize

Capitalize the first letter of each word
parallelize_fun

Parallelize a function