This function provides a normative summary for a given subject within a dataset. It can be configured to focus on specific columns and can be zoomed into particular data points.

normativeSummary(
  data,
  subjectRow,
  columns,
  zoom,
  idcolumn = "commonID",
  sexcol = "commonSex",
  agecol = "commonAge",
  return_plot = FALSE,
  verbose = TRUE
)

Arguments

data

A data frame containing the dataset for analysis.

subjectRow

The row number or identifier for the subject of interest within the dataset.

columns

A vector of column names in the dataset that should be summarized.

zoom

A parameter to specify the focus or zoom level of the summary. zoom (integer) specifies the number of nearest neighbors to use.

idcolumn

column name for the unique subject ID

sexcol

name of the sex column

agecol

name of the age column

return_plot

A logical flag indicating whether to return the plot object

verbose

A logical flag indicating whether to print detailed output.

Value

A summary object containing normative statistics for the specified columns of the subject.

Examples

# normativeSummary(myData, 1, c("Column1", "Column2"), zoom = 1, verbose = TRUE)