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
)
A data frame containing the dataset for analysis.
The row number or identifier for the subject of interest within the dataset.
A vector of column names in the dataset that should be summarized.
A parameter to specify the focus or zoom level of the summary. zoom (integer) specifies the number of nearest neighbors to use.
column name for the unique subject ID
name of the sex column
name of the age column
A logical flag indicating whether to return the plot object
A logical flag indicating whether to print detailed output.
A summary object containing normative statistics for the specified columns of the subject.
# normativeSummary(myData, 1, c("Column1", "Column2"), zoom = 1, verbose = TRUE)