tb_predic

0th

Percentile

tb_predic

creates comparison table between prediction and real data (test data).

Usage
tb_predic(real, predic.var)
Arguments
real

a data.frame with the real values.

predic.var

a vector with the prediction value.

Aliases
  • tb_predic
Examples
# NOT RUN {
if(interactive()) {
  library(shiny)
  library(DT)
  shinyApp( 
    ui = fluidPage(fluidRow(column(12, DTOutput('tbl')))),
   server = function(input, output) {
     real <- iris[,'Petal.Width',drop = F]
     pred <- sample(iris$Petal.Width, nrow(iris), replace =  T)
     output$tbl = DT::renderDT(tb_predic(real, pred))
   })
}

# }
Documentation reproduced from package regressoR, version 1.1.7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.