tdmEnvTReport: Make a report plot based on 'envT'

Description Usage Arguments Value See Also Examples

View source: R/tdmEnvTMakeNew.r

Description

Given the results from a prior tuning run in envT, make a sensitivity plot for this run.
If envT$tdm$nrun > 0 then make additionally with the best-performing parameters from the tuning run a new unbiased run on the test data.

Usage

1
tdmEnvTReport(envT, ind)

Arguments

envT

results from a prior tuning run.

ind

an integer from 1:length(envT$bstGrid): Take the tuning run with index ind.

Value

envT, with data frame finals added, if envT$tdm$nrun > 0.

See Also

tdmEnvTReportSens

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
           
   ## The best results are read from demo02sonar/demoSonar.RData relative to the TDMR 
   ## package directory.
   path = paste(find.package("TDMR"), "demo02sonar",sep="/");
   envT = tdmEnvTLoad("demoSonar.RData",path);    # loads envT
   source(paste(path,"main_sonar.r",sep="/"));
   envT$tdm$nrun=0;       # =0: don't, >0: do unbiasedRun with opts$NRUN=envT$tdm$nrun
   envT$sCList[[1]]$opts$VERBOSE=1;
   envT <- tdmEnvTReport(envT,1);
   if (!is.null(envT$theFinals)) print(envT$theFinals);

TDMR documentation built on March 3, 2020, 1:06 a.m.