April 2020
Intermediate to advanced
330 pages
7h 44m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The linear_fits function is then used again to draw one more line."
A block of code is set as follows:
linear_fits <- function(w, to_add = TRUE, line_type = 1) {curve(-w[1] / w[2] * x - w[3] / w[2], xlim = c(-1, 2), ylim = c(-1, 2), col = "black",lty = line_type, lwd = 2, xlab = "Input Value A", ylab = "Input Value B", add = to_add)}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
results <- softmax(c(2,3,6,9)) ...
Read now
Unlock full access