Skip to main content
Skip table of contents

getEndpoints

Get the list of all endpoints.

Usage

R
getEndpoints()

Details

Endpoints summarize the outcome values over all individuals, for each simulation group and each replicate. Endpoints are defined and calculated as in Simulx GUI.

To compute the defined endpoints, use runEndpoints and get the results with getEndpointsResults.

To check if endpoints will be compared across simulation groups, use getGroupComparisonSettings. If group comparison is relevant, the way the comparison will be done for each endpoint (eg if statistical test and which p-value) should be defined in the endpoint element.

Each element is a list of

  • outcome (character or list) - Outcome on which the endpoint is based on. If one outcome, a string containing its name. If combined outcomes were used, a list with:

    • names (vector of character) - Vector of outcome names

    • groupName (character) - Name of the outcome combination

    • operator (character) - Way in which output should be combined. One of "and"/"or" (in case of boolean outcomes) or "min"/"max" (in other cases)

  • metric (character) - Calculation method for the endpoint. One of "arithmeticMean", "geometricMean" or "median" if value-based outcome. In case of event-based outcomes, "kaplanMeier" (median survival) and in case of boolean outcomes, "percentTrue".

  • groupComparison (list) - Group comparison settings containing:

    • type (character) - One of "directComparison", "statisticalTest"

    • operator (character) - One of "!=", ">" or "<",

    • threshold (double) - A real number indicating the threshold for difference/oddsRatio

    • pvalue (double) - A real number indicating the p-value (if type is "statisticalTest")

See also

Examples

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.