knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Then you can use the chunk option fig.cap = "Your figure caption." in knitr. Pamietac o dorobieniu podpisu do obrazkow Also a quote using >:

"He who gives up [code] safety for [code] speed deserves neither." (via)

# library(egalitaRian)
# library(lime)
# library(DALEX) # usunac pozniej
# library(gower)
# library(randomForest)
# data('HR')
# data('HRTest')
# 
# rf <- randomForest(status~., data = HR)
# 
# egalitarian_hr <- egalitarian(HR, HRTest, "status", rf)
# 
# model_type.randomForest <- function(x, ...) "classification"
# hr_local <- local_explanation(19, egalitarian_hr)
# plot_local_explanation(hr_local)
# # plot(hr_local, "age")
# lime_obj <- hr_local$local_explanation
# 
# hr_dists <- distances(19, egalitarian_hr)
# plot(hr_dists)
# 
# vars1 <- compare_distributions(egalitarian_hr, "hours")
# plot(vars1)
# 
# vars2 <- compare_distributions(egalitarian_hr, "gender")
# plot(vars2)
# 
# get_distributions_distance(egalitarian_hr)


mstaniak/egalitaRian documentation built on Aug. 26, 2019, 11:11 p.m.