From 28dfc93d9a3dd456a2686f0a38c1fe816b5de61f Mon Sep 17 00:00:00 2001 From: Katherine Wilsdon Date: Tue, 7 Nov 2023 17:16:43 -0700 Subject: [PATCH] Comments --- R/confirm.default.R | 1 + R/holistic_model.R | 1 + R/plot_violin_metric.R | 1 + R/predict.regGAM.R | 1 + R/predict.regPCR.R | 3 +-- inst/shiny/app.R | 1 + 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/R/confirm.default.R b/R/confirm.default.R index 9ce3a8a..d713ee4 100644 --- a/R/confirm.default.R +++ b/R/confirm.default.R @@ -1,3 +1,4 @@ +# Copyright 2023 Battelle Energy Alliance ALL RIGHTS RESERVED #' @export confirm.default = function(x, ...) { x$observed == x$predicted diff --git a/R/holistic_model.R b/R/holistic_model.R index 498d1ad..bdf62a1 100644 --- a/R/holistic_model.R +++ b/R/holistic_model.R @@ -1,3 +1,4 @@ +# Copyright 2023 Battelle Energy Alliance ALL RIGHTS RESERVED #' @rdname holistic_model #' @export holistic_model.default = function(object, ...) { diff --git a/R/plot_violin_metric.R b/R/plot_violin_metric.R index 5a5a075..5f91ad9 100644 --- a/R/plot_violin_metric.R +++ b/R/plot_violin_metric.R @@ -6,6 +6,7 @@ #' determines if the metric was from the training or test set. #' #' Copyright 2023 Battelle Energy Alliance ALL RIGHTS RESERVED +#' #' @param df (data frame) The numeric values to be scaled. #' @return fig (plotly figure) The descaled values of x. #' diff --git a/R/predict.regGAM.R b/R/predict.regGAM.R index 4a5263b..418a732 100644 --- a/R/predict.regGAM.R +++ b/R/predict.regGAM.R @@ -3,6 +3,7 @@ #' Predict Generalized Linear Model. #' #' Copyright 2023 Battelle Energy Alliance ALL RIGHTS RESERVED +#' #' @inheritParams predict.regLM #' @return predicted (list of scalar vectors) The predicted values of train and #' test. diff --git a/R/predict.regPCR.R b/R/predict.regPCR.R index 535186f..2803ba0 100644 --- a/R/predict.regPCR.R +++ b/R/predict.regPCR.R @@ -1,8 +1,7 @@ #' Predict Principal Component Regression #' -#' Predict Principal Component Regression -#' #' Copyright 2023 Battelle Energy Alliance ALL RIGHTS RESERVED +#' #' @param object (object) A fit object. #' @param x (list) A list containing [x], the set of independent variables and #' [y], the response. diff --git a/inst/shiny/app.R b/inst/shiny/app.R index fd892d4..679e8a9 100644 --- a/inst/shiny/app.R +++ b/inst/shiny/app.R @@ -1,3 +1,4 @@ +# Copyright 2023 Battelle Energy Alliance ALL RIGHTS RESERVED library(shiny) library(search) library(plotly)