Learn R Programming

ch

The goal of ch is to solve some questions.

Installation

You can install ch :

install.packages('ch')
# or from github
devtools::install_github('tsiamut/ch')

Example

This is a basic example which shows you how to solve a common problem:

library(ch)
#basic example code
# You can draw a ruler:
draw_ruler(5)
## And even draw  the periodic table.
period_table()
show_color(colors())
sym2poly('x*4 + x^4 + 5*x^7 + x*x^9')

Copy Link

Version

Install

install.packages('ch')

Monthly Downloads

234

Version

0.1.0.2

License

Artistic-2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Hailong Chai

Last Published

July 9th, 2021

Functions in ch (0.1.0.2)

sym2poly

Extracting coefficients from polynomials
show_ruler

Use ggplot to draw ruler
show_color

An easy way to show colors in ggplot2
symb

Generating multiple symbols at once
read.txt

Read the text to data.frame
ground_state

Ground-State spectral term
scan.str

Read string into a vector
plot_table

Use ggplot2 to plot a table
period_table

Draw the Periodic table
lat_fmt

tex format and $$...$$
monoa

Calculate The pH of weak acid/base
ch-package

ch: some small functions
Round

Round of Numbers that is improved.
ggpng

Create a picture with a transparent background.
console_cl

Remove '>' and '+' from the console and add '#' to the run result.
csv2vcf

about csv2vcf