This is one of a set of repositories relating to analysis of New Testament textual variation:
ANTTV.book A book on analysis of New Testament textual variation.
ANTTV.code Computer programs written in R (a free software environment for statistical computing and graphics) to analyse data relating to New Testament Textual variation.
ANTTV.data Data relating to New Testament textual variation.
How to discover textual groups provides an introduction to the analysis techniques.
You can install the development version of ANTTV.data from GitHub with:
# install.packages("devtools")
devtools::install_github("tjfinney/ANTTV.data")
The data sets are comprised of data matrices and distance matrices compiled from numerous sources such as critical editions, monographs, dissertations, and online data repositories. Data matrices are comprised of rows for textual witnesses (e.g. Greek manuscripts, lectionaries, early versions, patristic citations) and columns for readings (represented by numeric or alphabetic codes) at variation sites (i.e. places where the witnesses have varying textual states). Distance matrices are either derived from data matrices or from published tables of percentage agreements if no data matrices are available. Percentage agreement is converted to distance using this formula:
Distance = 1 - (percentage agreement / 100)
Please see table 2 of Views of New Testament Textual Space for information on the sources of these data sets.
A number of the data sets are mirrored at the following Zenodo repositories:
ANTTV.code
packageTo do analysis on these data sets, first install R on your computer. (The RStudio IDE provides a great environment for working with R.) Once R is installed, install the devtools package then install the ANTTV.code package from GitHub by entering the following commands at the R prompt:
install.packages("devtools")
devtools::install_github("tjfinney/ANTTV.code")
Once the ANTTV.code
package is installed, a data set can be loaded and
analysed as follows:
library(ANTTV.code)
read_data_frame("data/Acts.UBS5.csv") |> do_reduction() |> do_dist() |> do_NJ()
To drop particular witnesses:
read_data_frame("data/Acts.UBS5.csv") |> (\(d) (d[(!row.names(d) %in% c("UBS", "Byz", "Lect")),]))()
Output can be saved as outlined in the Saving results section of the ANTTV.code Readme. For example:
read_data_frame("data/Acts.UBS5.csv") |> do_reduction() |> do_dist() |> do_PAM(fn="output/PAM/Acts.UBS5.txt", write=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.