R/compare_plots_function.R

Defines functions compare_plots

Documented in compare_plots

library(data.table)


#' comparer_plots
#' @description this function plot two different data to compare them with each other , it mostly used to compare observed data and simulated data
#' @param ob_data your observed data in form of data frame
#' @param sim_data your simulated data in a form of data frame
#'
#' @return
#' @export
#'
#' @examples
compare_plots <- function(ob_data,sim_data){


  first <- ob_data
  sec <- sim_data
  par(mfrow=c(1,2))
  plot(first,main="observed data")
  plot(sec,main="simulated data")
}
RonakRah/dap documentation built on Jan. 6, 2022, 5:50 a.m.