knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of kctest is to learn how to create an R pacakge. This package is not to be distributed publicly.
You can install the released version of kctest from CRAN with:
install.packages("kctest")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("kelichiu/kctest")
This is a basic example which shows you how to use number_proportion() function. Create a vector of numbers and pass it to number_proportion() as a parameter. The output will show the proportion of each number in the sum of all numbers.
# roxygen2::roxygenize() library(kctest) # Create a vector of numbers numbers <- c(1,2,3) # Pass the vector to the function number_proportion(numbers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.