README.md

ANTTV.data

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.

Installation

You can install the development version of ANTTV.data from GitHub with:

# install.packages("devtools")
devtools::install_github("tjfinney/ANTTV.data")

Data sets

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)

Sources

Please see table 2 of Views of New Testament Textual Space for information on the sources of these data sets.

Mirrors

A number of the data sets are mirrored at the following Zenodo repositories:

Getting started

  1. Install R on your computer
  2. [Optional] To make life far easier, install the RStudio IDE on your computer
  3. Install the ANTTV.code package
  4. Use the programs in the package to analyse the data.

To 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")

Doing analysis

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)


tjfinney/NTMSS documentation built on March 4, 2024, 2:23 a.m.