Index
A
- acf function / There's more…
- add_tooltip function / There's more…
- aesthetics
- adding, to plot / How to do it…, How it works…
- aesthetics mapping
- modifying / Changing aesthetics mapping, How to do it…, How it works…
- agglomerative hierarchical clustering / How it works…
- Akaike Information Criterion (AIC) / How it works…
- AmeliaView / There's more…
- ANOVA
- about / Conducting one-way ANOVA
- reference / There's more…
- Apriori rule
- associations, mining with / Mining associations with the Apriori rule, How to do it…, How it works…
- area under curve (AUC) / Measuring prediction performance using ROCR
- argument binding mechanism / How it works...
- arguments
- matching / Matching arguments, Getting ready, How to do it..., How it works...
- ARIMA model
- selecting / Selecting an ARIMA model, Getting ready, How to do it…, How it works…
- creating / Creating an ARIMA model, How to do it…, How it works…
- forecasting with / Forecasting with an ARIMA model, How to do it…, How it works…
- stock prices, predicting with / Predicting stock prices with an ARIMA model, How to do it…, How it works…
- arrange function / There's more…
- arules package / Displaying transactions and associations
- association rules
- visualizing / Visualizing association rules, How to do it…, How it works…
- associations
- displaying / Displaying transactions and associations, How to do it…, How it works…
- mining, with Apriori rule / Mining associations with the Apriori rule, How to do it…, How it works…
- axes
- controlling / How to do it…, How it works…
B
- basic plots
- creating, with ggplot2 / Creating basic plots with ggplot2, How to do it…, How it works…
- basic syntax
- Bayesian Information Criterion (BIC) / How it works…
- best-fitted regression model
- selecting, with stepwise regression / Selecting the best-fitted regression model with stepwise regression, How it works…
- binomial random variates
- generating / Generating binomial random variates, How to do it…, How it works…, There's more…
- biplot
- used, for visualizing multivariate data / Visualizing multivariate data using a biplot, How to do it…, How it works…
- boot.ci function / There's more…
- box.test function / There's more…
- Brownian motion / There's more…
- BSDA package
- z.test function, finding in / There's more…
C
- chi-squared distribution
- sample, generating from / How to do it…, How it works…
- classification model
- building, with recursive partitioning trees / Building a classification model with recursive partitioning trees, Getting ready, How to do it…, How it works…
- closure
- about / Understanding closure
- creating, in function / How to do it..., How it works...
- passing, to other function / There's more...
- clustering
- about / Introduction
- silhouette information, extracting from / How to do it…, How it works…
- clustering methods
- comparing / Comparing clustering methods, How to do it…, How it works…
- clusters
- tree, cutting into / Cutting tree into clusters, How to do it…, How it works…
- code chunk
- global option, controlling of / There's more…
- columns
- selecting, with dplyr / Selecting columns with dplyr, How to do it…, How it works…
- complexity parameter (CP) / How it works…
- confidence intervals
- obtaining / Getting confidence intervals, How to do it…, How it works…, There's more…
- confusion matrix
- model performance, measuring with / Measuring model performance with a confusion matrix, How it works…
- cont command / How it works...
- coord_polar function / There's more…
- copy function
- about / There's more…
- CRAN (Comprehensive R Archive Network) / Introduction
- cSPADE
- frequent sequential patterns, mining with / Getting ready
- CSV file
- text data, reading from / How to do it…, How it works…
- data, scanning from / How to do it…, How it works…
- CSV files
- reading / Reading and writing CSV files, How it works…
- writing / Reading and writing CSV files, How it works…
- cutree function
- about / Getting ready
D
- data
- scanning, from CSV file / How to do it…, How it works…
- reading, from databases / Reading data from databases, How to do it…, How it works…, There's more…
- accessing, from Facebook / How to do it…, How it works…
- reading, from Twitter / How to do it…, How it works…
- filtering / Filtering data, How to do it…, How it works…
- dropping / Dropping data, How it works…
- merging / Merging data, How it works…
- sorting / Sorting data, How to do it…, How it works…
- reshaping / Reshaping data, How to do it…, How it works…
- missing data, detecting / Detecting missing data, How to do it…, How it works…
- missing data, imputing / Imputing missing data, How it works…
- managing, with data.table / Managing data with a data.table, How to do it…, How it works…
- subsetting, with dplyr / Subsetting and slicing data with dplyr, How to do it…, How it works…
- slicing, with dplyr / Subsetting and slicing data with dplyr, How to do it…, How it works…
- sampling, with dplyr / Sampling data with dplyr, How it works…
- summarizing, with dplyr / Summarizing data with dplyr, How to do it…, How it works…
- merging, with dplyr / Merging data with dplyr, How to do it…, How it works…
- transforming, into transactions / Transforming data into transactions, There's more…
- clustering, with hierarchical clustering / Clustering data with hierarchical clustering, How to do it…, How it works…
- clustering, with k-means method / Clustering data with the k-means method, How to do it…, How it works…
- clustering, with density-based method / Clustering data with the density-based method, How to do it…, How it works…
- data.frame
- enhancing, with data.table / Enhancing a data.frame with a data.table, How to do it…, How it works…
- data.table
- about / Introduction
- data.frame, enhancing with / Enhancing a data.frame with a data.table, How to do it…, How it works…
- data, managing with / Managing data with a data.table, How to do it…, How it works…
- fast aggregation, performing with / Performing fast aggregation with a data.table, How to do it…, How it works…
- large datasets, merging with / Merging large datasets with a data.table, How to do it…, How it works…
- databases
- data, reading from / Reading data from databases, How to do it…, How it works…, There's more…
- dataset
- sampling from / Sampling from a dataset, How to do it…, How it works…
- data types
- converting / Converting data types, Getting ready, How it works…, There's more…
- data variable
- renaming / Renaming the data variable, How to do it…
- date format
- working with / Working with the date format, How to do it…, How it works…
- dbscan package / See also
- debugging function
- about / Getting ready
- density-based clustering method
- used, for recognizing digits / Recognizing digits using the density-based clustering method, How to do it…, How it works…
- density-based method
- data, clustering with / Clustering data with the density-based method, How to do it…, How it works…
- desc function / There's more…
- descriptive statistics
- about / Introduction
- diagnostic plot
- used, for diagnosing regression model / There's more…
- digits
- recognizing, density-based clustering method used / Recognizing digits using the density-based clustering method, How to do it…, How it works…
- dimension reduction
- about / Introduction
- performing, with Principal Component Analysis (PCA) / Performing dimension reduction with Principal Component Analysis (PCA), How it works…
- dimnames function / There's more…
- distance functions, for similarity measurement
- single-linkage / How it works…
- complete-linkage / How it works…
- average-linkage / How it works…
- ward-method / How it works…
- divisive hierarchical clustering / How it works…
- document options
- editing / There's more…
- download.file function / Downloading open data
- dplyr
- about / Introduction
- data, subsetting with / Subsetting and slicing data with dplyr, How to do it…, How it works…
- data, slicing with / Subsetting and slicing data with dplyr, How to do it…, How it works…
- data, sampling with / Sampling data with dplyr, How it works…
- columns, selecting with / Selecting columns with dplyr, How to do it…, How it works…
- operations, chaining in / Chaining operations in dplyr, How it works…
- rows, arranging with / Arranging rows with dplyr, How it works…
- duplicated rows, eliminating with / Eliminating duplicated rows with dplyr, How it works…
- new columns, adding with / Adding new columns with dplyr, How it works…
- data, summarizing with / Summarizing data with dplyr, How to do it…, How it works…
- data, merging with / Merging data with dplyr, How to do it…, How it works…
- duplicated rows
- eliminating, with dplyr / Eliminating duplicated rows with dplyr, How it works…
E
- Eclat
- frequent itemsets, mining with / Mining frequent itemsets with Eclat, How to do it…, How it works…
- empirical cumulative distribution function (ECDF) / How it works…
- environments
- working with / Understanding environments, How to do it..., How it works...
- Eps parameter / How it works…
- error message
- catching / There's more...
- errors
- handling, in function / Handling errors in a function, How to do it..., How it works...
- exact binomial tests
- conducting / Conducting exact binomial tests, How it works…
- Excel
- about / Working with Excel files
- Excel files
- working with / How to do it…, How it works…
F
- f (finish) command / How it works...
- Facebook
- reference / How to do it…
- data, accessing from / How to do it…, How it works…
- facet function / Faceting
- faceting / Getting ready, How to do it…, How it works…
- fast aggregation
- performing, with data.table / Performing fast aggregation with a data.table, How to do it…, How it works…
- feature extraction
- about / Introduction
- feature selection
- about / Introduction
- force function / There's more...
- fpp package / There's more…, There's more…
- fread function
- about / There's more…
- frequent itemsets
- mining, with Eclat / Mining frequent itemsets with Eclat, How to do it…, How it works…
- frequent sequential patterns
- mining, with cSPADE / Getting ready
- function
- closure, creating in / How to do it..., How it works...
- errors, handling in / Handling errors in a function, How to do it..., How it works...
G
- Gaussian distribution / How it works…
- Gaussian model
- applying, for generalized linear regression / Applying the Gaussian model for generalized linear regression, How it works…
- generalized linear model (GLM) / Applying the Gaussian model for generalized linear regression
- generalized linear regression
- Gaussian model, applying for / Applying the Gaussian model for generalized linear regression, How it works…
- geometric objects
- about / Introducing geometric objects
- creating, in ggplot2 / How to do it…, How it works…
- Geospatial Data Abstraction Library (GDAL)
- about / There's more…
- reference / There's more…
- ggplot2
- basic plots, creating with / Creating basic plots with ggplot2, How to do it…, How it works…
- geometric objects, creating in / How to do it…, How it works…
- ggtsdisplay function / There's more…
- ggvis
- interactive graphics, creating with / Creating interactive graphics with ggvis, How to do it…, How it works…
- plots, creating with / How to do it…, How it works…
- ggvis plot
- interactivity, adding into / Adding interactivity to a ggvis plot, How to do it…, How it works…
- global option
- controlling, of code chunk / There's more…
- grammar
- about / Getting ready
- graphics package / There's more…
- grid.arrange function / There's more…
- gridExtra package / There's more…
H
- H0(null hypothesis) / How it works…
- H1(alternative hypothesis) / How it works…
- hclust / There's more…
- help command / How it works...
- help function / There's more...
- hierarchical clustering
- data, clustering with / Clustering data with hierarchical clustering, How to do it…, How it works…
- Hmisc package, within stat_summary
- mean_cl_normal() / There's more…
- mean_sdl() / There's more…
- mean_cl_boot() / There's more…
- median_hilow() / There's more…
- HTML (Hypertext Markup Language) / How it works…
- Hypertext Transfer Protocol (HTTP) / How it works…
I
- inferential statistics
- about / Introduction
- infix operators
- creating / Creating infix operators, How it works...
- interactive graphics
- creating, with ggvis / Creating interactive graphics with ggvis, How to do it…, How it works…
- interactivity
- adding, into ggvis plot / Adding interactivity to a ggvis plot, How to do it…, How it works…
J
- Java Database Connectivity (JDBC)
- about / How it works…
- JDBC driver, for MySQL
- reference / How to do it…
K
- k-means clustering methods
- similar text documents, grouping with / Grouping similar text documents with k-means clustering methods, How to do it…, How it works…
- k-means method
- data, clustering with / Clustering data with the k-means method, How to do it…, How it works…
- Kaiser method
- used, for determining number of principal components / Determining the number of principal components using the Kaiser method, How to do it…, How it works…
- knitr package / How it works…
- Kolmogorov-Smirnov tests (K-S tests)
- performing / Getting ready, How to do it…, How it works…
L
- lapply function / There's more...
- large datasets
- merging, with data.table / Merging large datasets with a data.table, How to do it…, How it works…
- LaTeX syntax
- using / There's more…
- lattice package / There's more…
- lazy evaluation
- performing / Performing lazy evaluation, How it works...
- legend
- controlling / How to do it…, How it works…
- visual properties, modifying / There's more…
- lexical scope
- working with / Getting ready, How to do it..., How it works...
- lexical scoping / Working with lexical scoping
- linear model fits
- summarizing / Getting ready, How it works…
- linear regression
- used, for predicting unknown values / Using linear regression to predict unknown values, How to do it…, How it works…
- linear regression model
- fitting, with lm / Fitting a linear regression model with lm, How it works…
- lm
- linear regression model, fitting with / Fitting a linear regression model with lm, How it works…
- polynomial regression model, fitting with / There's more…
- lm function / There's more…
- LOESS (Locally Weighted Smoothing) / There's more…
- logistic regression analysis
- performing / Performing a logistic regression analysis, How to do it…, How it works…
- LOWESS (locally weighted scatterplot smoothing) / How it works…
- LOWESS (Locally Weighted Scatterplot Smoothing) / There's more…
- lubridate package / There's more…
M
- manova function
- about / There's more…
- maps
- creating / Creating maps, How to do it…, How it works…
- mark
- tooltip, adding to / There's more…
- markdown syntax
- writing / Getting ready, How to do it…, How it works…
- mice package / There's more…
- MinPts parameter / How it works…
- model performance
- measuring, with confusion matrix / Measuring model performance with a confusion matrix, How it works…
- multiple regression analysis
- performing / Performing a multiple regression analysis, How to do it…, How it works…
- multivariate data
- visualizing, biplot used / Visualizing multivariate data using a biplot, How to do it…, How it works…
N
- n (next) command / How it works...
- names<- function / There's more...
- new columns
- adding, with dplyr / Adding new columns with dplyr, How it works…
- normal distribution
- sample, generating from / How to do it…, How it works…
- nth order polynomial / There's more…
- number of principal components
- determining, screenplot used / Determining the number of principal components using a scree plot, How to do it…, How it works…
- determining, Kaiser method used / Determining the number of principal components using the Kaiser method, How to do it…, How it works…
O
- objects command / How it works...
- one-way ANOVA
- conducting / Getting ready, How to do it…, How it works…
- open data
- downloading / Downloading open data, How to do it…, How it works…
- Open Database Connectivity (ODBC)
- about / How it works…
- operations
- chaining, in dplyr / Chaining operations in dplyr, How it works…
P
- parent.env function / There's more...
- parent environment
- obtaining / There's more...
- Pearson's Chi-squared tests
- working with / How to do it…, How it works…
- performance
- measuring, of regression model / Measuring the performance of the regression model, How it works…
- plot
- aesthetics, adding to / How to do it…, How it works…
- plot.xts function
- using / There's more…
- plots
- combining / Combining plots, How it works…
- creating, with ggvis / How to do it…, How it works…
- Poisson distribution
- Poisson random variates
- generating / Generating Poisson random variates, How to do it…, How it works…
- polynomial regression model
- fitting, with lm / There's more…
- prediction intervals, versus confidence intervals
- reference / There's more…
- prediction performance
- measuring, ROCR used / Measuring prediction performance using ROCR, How to do it…
- Principal Component Analysis (PCA)
- about / Performing dimension reduction with Principal Component Analysis (PCA)
- dimension reduction, performing with / Performing dimension reduction with Principal Component Analysis (PCA), How it works…
- princomp function / There's more…
Q
- Q (quit) command / How it works...
- qpois / There's more…
R
- R
- about / Introduction
- advantages / Introduction
- reference / Getting ready
- random samples
- generating / Generating random samples, How to do it…
- random seed sequence / There's more…
- R code chunk
- embedding / Getting ready, How to do it…, How it works…
- RCurl
- used, for downloading file / There's more…
- Receiver Operating Characteristic (ROC) curve / Measuring prediction performance using ROCR
- reference / See also…
- records
- adding / Adding new records, How it works…
- recursive partitioning tree
- visualizing / Visualizing a recursive partitioning tree, How it works…
- recursive partitioning trees
- classification model, building with / Building a classification model with recursive partitioning trees, How to do it…, How it works…
- redundant rules
- pruning / Pruning redundant rules, How to do it…, How it works…
- regression model
- performance, measuring of / Measuring the performance of the regression model, How it works…
- diagnosing, diagnostic plot used / There's more…
- relative squared error loss (RSE) / There's more…
- relative square error (RSE) / Measuring the performance of the regression model
- replacement function
- R function
- debugging / How to do it..., How it works..., There's more...
- R functions
- creating / How to do it..., How it works...
- R language
- about / Creating R functions
- R Markdown reports
- creating / Creating R Markdown reports, How to do it…, How it works…
- rm function / There's more…
- ROCR
- used, for measuring prediction performance / Measuring prediction performance using ROCR, How to do it…
- root mean square error (RMSE) / Measuring the performance of the regression model
- root mean square error loss (RMSE) / There's more…
- root relative squared error loss (RRSE) / There's more…
- rows
- arranging, with dplyr / Arranging rows with dplyr, How it works…
- R program
- about / Introduction
- R Shiny document
- creating / Creating an R Shiny document, How to do it…, How it works…
- R Shiny report
- publishing / Publishing an R Shiny report, How to do it…, How it works…
- R user
- about / Introduction
S
- s (step into) command / How it works...
- sample
- generating, from uniform distribution / How to do it…, How it works…
- generating, from normal distribution / How to do it…, How it works…
- generating, from chi-squared distribution / How to do it…, How it works…
- generating, from t-distribution / Getting ready, How to do it…, How it works…
- sampling package / There's more…
- sapply function / There's more...
- scales
- adjusting / Getting ready, How to do it…, How it works…
- using / Using scales, How it works…
- scale_datetime function / There's more …
- scale_logical function / There's more …
- scale_ordinal function / There's more …
- scale_singular function / There's more …
- scheme functional programming language / Working with lexical scoping
- screeplot
- used, for determining number of principal components / Determining the number of principal components using a scree plot, How to do it…, How it works…
- search list
- examining / There's more...
- SelectorGadget
- about / There's more…
- reference / There's more…
- setkey function / There's more…
- Shiny widget
- adding, to control rendering / There's more…
- silhouette information
- about / Extracting silhouette information from clustering
- extracting, from clustering / How to do it…, How it works…
- silhouette value
- reference / See also
- similar text documents
- grouping, with k-means clustering methods / Grouping similar text documents with k-means clustering methods, How to do it…, How it works…
- social network data
- about / Accessing Facebook data
- SQL operations
- performing / There's more…
- stack function / There's more…
- static binding / Working with lexical scoping
- stat package / There's more…
- stepwise regression
- best-fitted regression model, selecting with / Selecting the best-fitted regression model with stepwise regression, How it works…
- stochastic process
- about / Simulating the stochastic process
- simulating / How to do it…, How it works…
- stock prices
- predicting, with ARIMA model / Predicting stock prices with an ARIMA model, How to do it…, How it works…
- student's t-tests
- performing / Getting ready, How to do it…, How it works…
- subset function / There's more…
- sum of square error (SSE) / There's more…
- Sweave package / There's more…
T
- t-distribution
- about / Understanding Student's t-distribution
- sample, generating from / Getting ready, How to do it…, How it works…
- temporal information
- transactions, creating with / Creating transactions with temporal information
- text data
- reading, from CSV file / How to do it…, How it works…
- text files
- scanning / Scanning text files, How it works…
- text mining package
- reference / See also
- themes
- adjusting / Adjusting themes, How to do it…, How it works…
- time series
- decomposing / Decomposing time series, How to do it…, How it works…
- smoothing / Smoothing time series, How to do it…, How it works…
- forecasting / Forecasting time series, How to do it…, How it works…
- time series data
- creating / Creating time series data, How to do it…, How it works…
- time series object
- plotting / Plotting a time series object, How to do it…
- tooltip
- adding, to mark / There's more…
- traceback function / How it works...
- transactions
- data, transforming into / Transforming data into transactions, There's more…
- displaying / Displaying transactions and associations, How to do it…, How it works…
- creating, with temporal information / Creating transactions with temporal information
- transformations
- performing / Getting ready, How to do it…, How it works…
- tree
- cutting, into clusters / Cutting tree into clusters, How to do it…, How it works…
- tryCatch function / There's more...
- tsdisplay function / There's more…
- Twitter
- working with / Working with twitteR
- data, reading from / How to do it…, How it works…
- reference / How to do it…
- two-way ANOVA
- conducting / Performing two-way ANOVA, How to do it…, How it works…
U
- ungroup function / There's more…
- uniform distribution
- sample, generating from / How to do it…, How it works…
- uniform distributions
- unique function / There's more…
- unknown values
- predicting, linear regression used / Using linear regression to predict unknown values, How to do it…, How it works…
- unstack function / There's more…
- unsupervised machine learning method
- about / Introduction
V
- vega, GitHub page
- reference / There's more…
W
- web data
- scraping / Scraping web data, How to do it…, How it works…
- where command / How it works...
- Wilcoxon Rank Sum and Signed Rank test (Mann-Whitney-Wilcoxon)
- with function / There's more…
- within-cluster sum of squares (WCSS) / How it works…
- within function / There's more…
X
- xts package
- using / There's more…
Z
- Z-tests
- performing / Performing Z-tests, How to do it…, How it works…
- z.test function
- finding, in BSDA package / There's more…