This function should be used to export a prediciton model and performance information into a network study for others to implement on new data for external validation
exportPlpResult(plpResult, modelName, packageName, gitHubLocation, n = NULL,
includeEvaluationStatistics = T, includeThresholdSummary = T,
includeDemographicSummary = T, includeCalibrationSummary = T,
includePredictionDistribution = T, includeCovariateSummary = F)
The model to be saved into the package
The name of the model
The network study package name
The github directory
If not null, the minimum number of people required for a row to be included
Whether to include includeEvaluationStatistics evaluation
Whether to include thresholdSummary evaluation
Whether to include demographicSummary evaluation
Whether to include calibrationSummary evaluation
Whether to include predictionDistribution evaluation
Whether to include covariateSummary evaluation
The location of the saved model
This is a helper function to perform external validation