Skip to content

Illustratien/toolPhD

Repository files navigation

toolPhD: Accomplish your academic publication with ease and aesthetic.

License: GPL-3 Website - pkgdown Github Code Size Last-changedate minimal R version rstudio mirror downloads

Introduction

logo

The package toolPhD is by-product of the journey of author’s PhD. Hopefully you find these function also useful for you.

Further analysis for original publication using this package can be found in the link (click here).

Installation

The development version can be installed from github as follows:

if (!require('devtools')) install.packages('devtools')
devtools::install_github("Illustratien/toolPhD")
# or
if (!require('remotes')) install.packages('remotes')
remotes::install_github("Illustratien/toolPhD")

To update the package:

detach("package:toolPhD", unload = TRUE)
devtools::install_github("Illustratien/toolPhD")

Descriptions

There are many useful functions in this package. For detailed tutorial with examples and references, please click the side tab Get started for general tutorial and Refernce for individual function example.

Here is an example for violin_plot()

library(toolPhD)
library(ggplot2)
violin_plot(mtcars,cyl,mpg,labx="Number of cylinders",laby="Miles/gallon")

Useful 1:1 line plot plot_121()

library(toolPhD)
library(ggplot2)
plot_121(iris,Sepal.Length,Petal.Length,color=Species)

plot_121(iris,Sepal.Length,Petal.Length)
Warning: Removed 2 rows containing missing values (`geom_smooth()`).

Citing toolPhD

To cite the methods in the package please use: Wang T (2023). toolPhD: Accomplish your academic publication with ease and aesthetic. R package version 0.1.0.

@Manual{,
  title = {toolPhD: Pave your academic path with profession and aesthetic.},
  author = {Tien-Cheng Wang},
  year = {2023},
  note = {R package version 0.1.0},
}