The goal of ptvalue is to provide a S3 class for printing and for small manipulation of Precision Teaching (PT) values (ex., values of celeration, bounce) inside a vector or a dataframe. These values, are usually written on a Standard Celeration Chart (Calkin, 2005; Pennypacker et al., 2003), can be used for further calculations and to print a nice table for report or paper. Some basic helper functions directly related to the manipulation of PT values are also provided.
As this package is could be imported inside other packages (ex., ptchart), it will stay small and simple. The dependency from other packages will also be kept minimal.
Installation
You can install ptvalue with the following code:
install.packages("ptvalue")Or you can install the development version as follow:
remotes::install_github("agkamel/ptvalue")
Create a vector of PT values
You can create PT values with ptvalue():
library(ptvalue) ptvalue(c(0.5, 1.4, 2)) #> <ptvalue[3]> #> [1] ÷2 ×1.4 ×2
For all original values that are greater or equal than