Machine Learning with R Cookbook 2nd Edition Bhatia - The complete ebook set is ready for download today
Machine Learning with R Cookbook 2nd Edition Bhatia - The complete ebook set is ready for download today
https://ebookultra.com/download/mastering-machine-learning-with-
scikit-learn-2nd-edition-gavin-hackeling/
https://ebookultra.com/download/scala-for-machine-learning-second-
edition-patrick-r-nicolas/
https://ebookultra.com/download/machine-learning-for-time-series-
forecasting-with-python-1st-edition-francesca-lazzeri/
https://ebookultra.com/download/python-machine-learning-by-example-
the-easiest-way-to-get-into-machine-learning-1st-edition-yuxi-hayden-
liu/
https://ebookultra.com/download/bayesian-reasoning-and-machine-
learning-barber-d/
https://ebookultra.com/download/data-mining-practical-machine-
learning-tools-and-techniques-2nd-edition-ian-h-witten/
https://ebookultra.com/download/python-machine-learning-1st-edition-
wei-meng-lee/
Machine Learning with R Cookbook 2nd Edition Bhatia
Digital Instant Download
Author(s): Bhatia, AshishSingh; Chiu, Yu-Wei (David)
ISBN(s): 9781787287808, 1787287807
Edition: 2nd
File Details: PDF, 17.02 MB
Year: 2017
Language: english
Machine Learning with R Cookbook
Second Edition
BIRMINGHAM - MUMBAI
Machine Learning
with R Cookbook
Second Edition
Copyright © 2017 Packt Publishing
Every effort has been made in the preparation of this book to ensure
the accuracy of the information presented. However, the information
contained in this book is sold without warranty, either express or
implied. Neither the authors, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged
to be caused directly or indirectly by this book.
ISBN 978-1-78728-439-5
www.packtpub.com
Credits
Authors
Copy Editor
AshishSingh Bhatia
Safis Editing
Yu-Wei, Chiu (David Chiu)
Reviewers
Project Coordinator
Ratanlal Mahanta
First and foremost, I would like to thank God almighty. I would like
to thank my father, mother, brother and friends. I am also thankful to
whole team at PacktPub especially Divya and Trusha. My special
thanks go to my mother Smt. Ravindrakaur Bhatia for guiding and
motivating me when its required most. I also want to take this
opportunity to show my gratitude for Mitesh Soni, he is the one who
introduced me to Packt and started the ball rolling.
https://www.packtpub.com/mapt
Get the most in-demand software skills with Mapt. Mapt gives you
full access to all Packt books and video courses, as well as industry-
leading tools to help you plan your personal development and
advance your career.
Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Customer Feedback
Thanks for purchasing this Packt book. At Packt, quality is at the
heart of our editorial process. To help us improve, please leave us an
honest review on this book's Amazon page at https://www.amazon.com/d
p/1787284395.
If you'd like to join our team of regular reviewers, you can email us
at customerreviews@packtpub.com. We award our regular reviewers with
free eBooks and videos in exchange for their valuable feedback.
Help us be relentless in improving our products!
Table of Contents
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Practical Machine Learning with R
Introduction
Downloading and installing R
Getting ready
How to do it...
How it works...
See also
Downloading and installing RStudio
Getting ready
How to do it...
How it works...
See also
Installing and loading packages
Getting ready
How to do it...
How it works...
See also
Understanding of basic data structures
Data types
Data structures
Vectors
How to do it...
How it works...
Lists
How to do it...
How it works...
Array
How to do it...
How it works...
Matrix
How to do it...
DataFrame
How to do it...
Basic commands for subsetting
How to do it...
Data input
Reading and writing data
Getting ready
How to do it...
How it works...
There's more...
Manipulating data
Getting ready
How to do it...
How it works...
There's more...
Applying basic statistics
Getting ready
How to do it...
How it works...
There's more...
Visualizing data
Getting ready
How to do it...
How it works...
See also
Getting a dataset for machine learning
Getting ready
How to do it...
How it works...
See also
2. Data Exploration with Air Quality Datasets
Introduction
Using air quality dataset
Getting ready
How to do it...
How it works...
There's more...
Converting attributes to factor
Getting ready
How to do it...
How it works...
There's more...
Detecting missing values
Getting ready
How to do it...
How it works...
There's more...
Imputing missing values
Getting ready
How to do it...
How it works...
Exploring and visualizing data
Getting ready
How to do it...
Predicting values from datasets
Getting ready
How to do it...
How it works...
3. Analyzing Time Series Data
Introduction
Looking at time series data
Getting ready
How to do it...
How it works...
See also
Plotting and forecasting time series data
Getting ready
How to do it...
How it works...
See also
Extracting, subsetting, merging, filling, and padding
Getting ready
How to do it...
How it works...
See also
Successive differences and moving averages
Getting ready
How to do it...
How it works...
See also
Exponential smoothing
Getting ready
How to do it...
How it works...
See also
Plotting the autocorrelation function
Getting ready
How to do it...
How it works...
See also
4. R and Statistics
Introduction
Understanding data sampling in R
Getting ready
How to do it...
How it works...
See also
Operating a probability distribution in R
Getting ready
How to do it...
How it works...
There's more...
Working with univariate descriptive statistics in R
Getting ready
How to do it...
How it works...
There's more...
Performing correlations and multivariate analysis
Getting ready
How to do it...
How it works...
See also
Conducting an exact binomial test
Getting ready
How to do it...
How it works...
See also
Performing a student's t-test
Getting ready
How to do it...
How it works...
See also
Performing the Kolmogorov-Smirnov test
Getting ready
How to do it...
How it works...
See also
Understanding the Wilcoxon Rank Sum and Signed Rank test
Getting ready
How to do it...
How it works...
See also
Working with Pearson's Chi-squared test
Getting ready
How to do it...
How it works...
There's more...
Conducting a one-way ANOVA
Getting ready
How to do it...
How it works...
There's more...
Performing a two-way ANOVA
Getting ready
How to do it...
How it works...
See also
5. Understanding Regression Analysis
Introduction
Different types of regression
Fitting a linear regression model with lm
Getting ready
How to do it...
How it works...
There's more...
Summarizing linear model fits
Getting ready
How to do it...
How it works...
See also
Using linear regression to predict unknown values
Getting ready
How to do it...
How it works...
See also
Generating a diagnostic plot of a fitted model
Getting ready
How to do it...
How it works...
There's more...
Fitting multiple regression
Getting ready
How to do it...
How it works...
Summarizing multiple regression
Getting ready
How to do it...
How it works...
See also
Using multiple regression to predict unknown values
Getting ready
How to do it...
How it works...
See also
Fitting a polynomial regression model with lm
Getting ready
How to do it...
How it works...
There's more...
Fitting a robust linear regression model with rlm
Getting ready
How to do it...
How it works...
There's more...
Studying a case of linear regression on SLID data
Getting ready
How to do it...
How it works...
See also
Applying the Gaussian model for generalized linear regression
Getting ready
How to do it...
How it works...
See also
Applying the Poisson model for generalized linear regression
Getting ready
How to do it...
How it works...
See also
Applying the Binomial model for generalized linear regression
Getting ready
How to do it...
How it works...
See also
Fitting a generalized additive model to data
Getting ready
How to do it...
How it works...
See also
Visualizing a generalized additive model
Getting ready
How to do it...
How it works...
There's more...
Diagnosing a generalized additive model
Getting ready
How to do it...
How it works...
There's more...
6. Survival Analysis
Introduction
Loading and observing data
Getting ready
How to do it...
How it works...
There's more...
Viewing the summary of survival analysis
Getting ready
How to do it...
How it works...
Visualizing the Survival Curve
Getting ready
How to do it...
How it works...
Using the log-rank test
Getting ready
How to do it...
How it works...
Using the COX proportional hazard model
Getting ready
How to do it...
How it works...
Nelson-Aalen Estimator of cumulative hazard
Getting ready
How to do it...
How it works...
See also
7. Classification 1 - Tree, Lazy, and Probabilistic
Introduction
Preparing the training and testing datasets
Getting ready
How to do it...
How it works...
There's more...
Building a classification model with recursive partitioning trees
Getting ready
How to do it...
How it works...
See also
Visualizing a recursive partitioning tree
Getting ready
How to do it...
How it works...
See also
Measuring the prediction performance of a recursive partitioning tree
Getting ready
How to do it...
How it works...
See also
Pruning a recursive partitioning tree
Getting ready
How to do it...
How it works...
See also
Handling missing data and split and surrogate variables
Getting ready
How to do it...
How it works...
See also
Building a classification model with a conditional inference tree
Getting ready
How to do it...
How it works...
See also
Control parameters in conditional inference trees
Getting ready
How to do it...
How it works...
See also
Visualizing a conditional inference tree
Getting ready
How to do it...
How it works...
See also
Measuring the prediction performance of a conditional inference tree
Getting ready
How to do it...
How it works...
See also
Classifying data with the k-nearest neighbor classifier
Getting ready
How to do it...
How it works...
See also
Classifying data with logistic regression
Getting ready
How to do it...
How it works...
See also
Classifying data with the Naïve Bayes classifier
Getting ready
How to do it...
How it works...
See also
8. Classification 2 - Neural Network and SVM
Introduction
Classifying data with a support vector machine
Getting ready
How to do it...
How it works...
See also
Choosing the cost of a support vector machine
Getting ready
How to do it...
How it works...
See also
Visualizing an SVM fit
Getting ready
How to do it...
How it works...
See also
Predicting labels based on a model trained by a support vector machi
ne
Getting ready
How to do it...
How it works...
There's more...
Tuning a support vector machine
Getting ready
How to do it...
How it works...
See also
The basics of neural network
Getting ready
How to do it...
Training a neural network with neuralnet
Getting ready
How to do it...
How it works...
See also
Visualizing a neural network trained by neuralnet
Getting ready
How to do it...
How it works...
See also
Predicting labels based on a model trained by neuralnet
Getting ready
How to do it...
How it works...
See also
Training a neural network with nnet
Getting ready
How to do it...
How it works...
See also
Predicting labels based on a model trained by nnet
Getting ready
How to do it...
How it works...
See also
9. Model Evaluation
Introduction
Why do models need to be evaluated?
Different methods of model evaluation
Estimating model performance with k-fold cross-validation
Getting ready
How to do it...
How it works...
There's more...
Estimating model performance with Leave One Out Cross Validation
Getting ready
How to do it...
How it works...
See also
Performing cross-validation with the e1071 package
Getting ready
How to do it...
How it works...
See also
Performing cross-validation with the caret package
Getting ready
How to do it...
How it works...
See also
Ranking the variable importance with the caret package
Getting ready
How to do it...
How it works...
There's more...
Ranking the variable importance with the rminer package
Getting ready
How to do it...
How it works...
See also
Finding highly correlated features with the caret package
Getting ready
How to do it...
How it works...
See also
Selecting features using the caret package
Getting ready
How to do it...
How it works...
See also
Measuring the performance of the regression model
Getting ready
How to do it...
How it works...
There's more...
Measuring prediction performance with a confusion matrix
Getting ready
How to do it...
How it works...
See also
Measuring prediction performance using ROCR
Getting ready
How to do it...
How it works...
See also
Comparing an ROC curve using the caret package
Getting ready
How to do it...
How it works...
See also
Measuring performance differences between models with the caret pa
ckage
Getting ready
How to do it...
How it works...
See also
10. Ensemble Learning
Introduction
Using the Super Learner algorithm
Getting ready
How to do it...
How it works...
Using ensemble to train and test
Getting ready
How to do it...
How it works...
Classifying data with the bagging method
Getting ready
How to do it...
How it works...
There's more...
Performing cross-validation with the bagging method
Getting ready
How to do it...
How it works...
See also
Classifying data with the boosting method
Getting ready
How to do it...
How it works...
There's more...
Performing cross-validation with the boosting method
Getting ready
How to do it...
How it works...
See also
Classifying data with gradient boosting
Getting ready
How to do it...
How it works...
There's more...
Calculating the margins of a classifier
Getting ready
How to do it...
How it works...
See also
Calculating the error evolution of the ensemble method
Getting ready
How to do it...
How it works...
See also
Classifying data with random forest
Getting ready
How to do it...
How it works...
There's more...
Estimating the prediction errors of different classifiers
Getting ready
How to do it...
How it works...
See also
11. Clustering
Introduction
Clustering data with hierarchical clustering
Getting ready
How to do it...
How it works...
There's more...
Cutting trees into clusters
Getting ready
How to do it...
How it works...
There's more...
Clustering data with the k-means method
Getting ready
How to do it...
How it works...
See also
Drawing a bivariate cluster plot
Getting ready
How to do it...
How it works...
There's more...
Comparing clustering methods
Getting ready
How to do it...
How it works...
See also
Extracting silhouette information from clustering
Getting ready
How to do it...
How it works...
See also
Obtaining the optimum number of clusters for k-means
Getting ready
How to do it...
How it works...
See also
Clustering data with the density-based method
Getting ready
How to do it...
How it works...
See also
Clustering data with the model-based method
Getting ready
How to do it...
How it works...
See also
Visualizing a dissimilarity matrix
Getting ready
How to do it...
How it works...
There's more...
Validating clusters externally
Getting ready
How to do it...
How it works...
See also
12. Association Analysis and Sequence Mining
Introduction
Transforming data into transactions
Getting ready
How to do it...
How it works...
See also
Displaying transactions and associations
Getting ready
How to do it...
How it works...
See also
Mining associations with the Apriori rule
Getting ready
How to do it...
How it works...
See also
Pruning redundant rules
Getting ready
How to do it...
How it works...
See also
Visualizing association rules
Getting ready
How to do it...
How it works...
See also
Mining frequent itemsets with Eclat
Getting ready
How to do it...
How it works...
See also
Creating transactions with temporal information
Getting ready
How to do it...
How it works...
See also
Mining frequent sequential patterns with cSPADE
Getting ready
How to do it...
How it works...
See also
Using the TraMineR package for sequence analysis
Getting ready
How to do it...
How it works...
Visualizing sequence, Chronogram, and Traversal Statistics
Getting ready
How to do it...
How it works...
See also
13. Dimension Reduction
Introduction
Why to reduce the dimension?
Performing feature selection with FSelector
Getting ready
How to do it...
How it works...
See also
Performing dimension reduction with PCA
Getting ready
How to do it...
How it works...
There's more...
Determining the number of principal components using the scree test
Getting ready
How to do it...
How it works...
There's more...
Determining the number of principal components using the Kaiser m
ethod
Getting ready
How to do it...
How it works...
See also
Visualizing multivariate data using biplot
Getting ready
How to do it...
How it works...
There's more...
Performing dimension reduction with MDS
Getting ready
How to do it...
How it works...
There's more...
Reducing dimensions with SVD
Getting ready
How to do it...
How it works...
See also
Compressing images with SVD
Getting ready
How to do it...
How it works...
See also
Performing nonlinear dimension reduction with ISOMAP
Getting ready
How to do it...
How it works...
There's more...
Performing nonlinear dimension reduction with Local Linear Embed
ding
Getting ready
How to do it...
How it works...
See also
14. Big Data Analysis (R and Hadoop)
Introduction
Preparing the RHadoop environment
Getting ready
How to do it...
How it works...
See also
Installing rmr2
Getting ready
How to do it...
How it works...
See also
Installing rhdfs
Getting ready
How to do it...
How it works...
See also
Operating HDFS with rhdfs
Getting ready
How to do it...
How it works...
See also
Implementing a word count problem with RHadoop
Getting ready
How to do it...
How it works...
See also
Comparing the performance between an R MapReduce program and
a standard R program
Getting ready
How to do it...
How it works...
See also
Testing and debugging the rmr2 program
Getting ready
How to do it...
How it works...
See also
Installing plyrmr
Getting ready
How to do it...
How it works...
See also
Manipulating data with plyrmr
Getting ready
How to do it...
How it works...
See also
Conducting machine learning with RHadoop
Getting ready
How to do it...
How it works...
See also
Configuring RHadoop clusters on Amazon EMR
Getting ready
How to do it...
How it works...
See also
Preface
Big data has become a popular buzzword across many industries. An
increasing number of people have been exposed to the term and are
looking at how to leverage big data in their own businesses, to
improve sales and profitability. However, collecting, aggregating,
and visualizing data is just one part of the equation. Being able to
extract useful information from data is another task, and much more
challenging.
The most widely used tool for machine learning and data analysis is
the R language. In addition to being the most popular language used
by data scientists, R is open source and is free for use for all users.
The R programming language offers a variety of learning packages
and visualization functions, which enable users to analyze data on
the fly. Any user can easily perform machine learning with R on
their dataset without knowing every detail of the mathematical
models behind the analysis.
Chapter 6, Survival Analysis, shows how to analyze the data where the
outcome variable is time for occurrence of an event, widely used in
clinical trials.
Chapter 14, Big Data Analysis ( R and Hadoop ), shows how R can be
used with big data. It covers preparing of Hadoop environment,
performing MapReduce from R, operate a HDFS, performing
common data operation.
What you need for this
book
All the examples cover in this book have been tested on R version
3.4.1 and R studio version 1.0.153. Chapter 1, Practical Machine
Learning with R, covers how to download and install them.
Who this book is for
This book is for data science professionals, data analysts, or anyone
who has used R for data analysis and machine learning, and now
wishes to become the go-to person for machine learning with R.
Those who wish to improve the efficiency of their machine learning
models and need to work with different kids of datasets will find this
book quite insightful.
Sections
In this book, you will find several headings that appear frequently
(Getting ready, How to do it..., How it works..., There's more..., and
See also).
Punctually the next day, Mr. Bridge drove to the door, and at the
same moment Mr. Morgan entered the house. Emma was in the
parlour quite ready for her journey, and her eye sparkled with
pleasure as she told him that she should not trouble him to call on
her again, for she was leaving Croydon for a long time. He looked
aghast.—
"Going away," was his exclamation, as he cast an enquiring eye at
the trunk which Mr. Bridge's man was preparing to place on the
carriage. "This is quite unexpected—may I ask where you are
going?"
"It is Mr. Bridge who is taking me away," replied Emma, "and
really I can hardly answer as to where we are going. I am wishing to
try a change of air, as I do not find Croydon agree with me."
"This is Mr. Bridge's doing then," said he, his face turning pale
with an emotion which she did not understand. He felt convinced
that his plans had been seen through and counteracted, and
entertained, in consequence, anything but a feeling of gratitude
towards the agent of his disappointment. At this moment the
clergyman entered, and claimed Emma's company, and after an
affectionate farewell from Miss Watson, and a formal bow from the
doctor, she was hurried away. The other two ladies were out
walking, as Jane was determined not to countenance Emma's
departure by her presence on the occasion. Emma felt so very much
relieved as she lost sight of Croydon, and entered on a country quite
new to her, that she fancied she was deriving fresh health and
strength from every breath she inhaled. She was, however too weak
to bear much conversation, and was content to lie back in peace and
silence in a corner of the carriage, quietly reposing on the cushions
with which she had been carefully propped, and enjoying the luxury
of seeing the varying landscape pass before her eyes, without
making any exertion. Mr. Bridge was reading; and in this way the
fourteen miles were pleasantly and quickly passed, and in about two
hours from leaving Croydon, they stopped at the door of Miss
Bridge's residence.
It was a small, old-fashioned house, with a thick screen of shrubs
surrounding it, and a few picturesque old Scotch firs standing on the
little grass plat which divided the front from the road. The walls were
covered with creeping shrubs, and it was evident that the owner
loved flowers, for early as it was in the year, the little porch was
crowded with showy plants, and odoriferous with the scent of the
hyacinth, narcissus and other sweet bulbs. The old lady came out to
receive them, and the warmth of her welcome, with the kindness of
her manner, quite won Emma's heart at once. She saw that her
guest was fatigued, and would not allow her to exert herself in any
way; but leading her upstairs, made her rest on the bed, and left her
promising to return in a short time. The air of comfort which now
surrounded Emma, was truly grateful to her feelings; the airy and
well-furnished bed-room, the snowy curtains and drapery round the
bed, the comfortable furniture, all seemed to bespeak an attention
to her wants, to which she had long been a stranger; and as she lay
there thinking over all that was past, and wondering what was to
come next, a deep feeling of gratitude stole over her heart for
finding herself at last in so peaceful and apparently comfortable a
home.
Faithful to her promise, Miss Bridge returned speedily, bringing
with her some refreshment, of which she insisted on Emma's
partaking; and then desiring her to remain quiet for a couple of
hours at least, she returned to her brother, and spent the interval in
learning every particular that he could detail relative to her
interesting young visitor.
When Emma woke from a refreshing slumber of several hours
duration, the first object which met her eyes was the countenance of
Miss Bridge bending over her. There was such a look of benevolent
interest in that good-tempered face, as would have sufficed to
redeem a very plain set of features from the charge of insipidity. But
Miss Bridge was very far from plain, and it was evident she must
have been eminently handsome. She was extremely thin, and her
high features, and dark complexion made her look, perhaps, rather
older than she really was, but her eyes which were dark hazel were
still bright and lively. Her dress was that of an old woman, the
colours grave, and the materials rich, and though not exactly in the
reigning fashion of the day, yet sufficiently like it to prevent any
appearance of singularity, whilst it was perfectly becoming her age
and station. Emma felt sure that she should like her exceedingly, and
quite longed to be strong enough to converse with her. She was
found so much better as to be permitted to leave her room, and lie
for a time on the sofa in the drawing-room, though Miss Bridge still
proscribed conversation, and recommended quiet and rest.
Everything that she saw gave her an idea of the comfort of her
new home; the well-filled book-shelves especially delighted her; she
had enjoyed so little time for reading lately that the sight of such a
collection of books was a most welcome prospect, and she
anticipated with satisfaction the time when she should be able to
exert herself again, and commence the acquisition of the Italian
language; as she was extremely anxious to increase her information
and accomplishments to the utmost.
The next day the old clergyman took his leave, and telling Emma
not to fret about her friends at Croydon, and hoping when he came
over next month, he should find her with rosy cheeks and smiles to
welcome him, he went off quite satisfied that he had secured a
comfortable home for his young friend, and a desirable companion
for his old sister.
Nothing could be more peaceful and pleasant to a contented mind
than the course of life in which Emma now engaged. She speedily
recovered her strength, and was able by early rising to enjoy several
hours alone in the morning, which she devoted to study; by this
means she was always at liberty to give her whole attention to Miss
Bridge so soon as they met in the drawing-room. Their fore-noons
were employed in reading and needlework, unless when Miss Bridge
was writing letters or settling her household matters. Walking out, or
working in the garden occupied the afternoon, and in both these
occupations, as soon as Emma was strong enough, she took great
delight. The garden was cultivated with uncommon care; Miss Bridge
having quite a passion for floriculture, and Emma thought nothing
could exceed the beauty of her tulips, anemones and hyacinths, as
they gradually unfolded their blossoms. She became extremely
interested in the pursuit, and Miss Bridge more than once had to
interfere to prevent her over tiring herself by her zealous labours.
The country round their residence was extremely pretty; tracts of
old forest land with the huge old trees, survivors of many centuries,
formed an agreeable contrast to the agricultural districts
interspersed in places; and the steep sides of some of the chalky
hills were clothed with hanging beech woods equally picturesque
with the green forest glades beneath. To wander over this scenery,
botanising amongst the lanes and hedgerows, or visiting the various
cottages in the neighbourhood, formed a delightful variety to their
labours in the garden. Emma found that next to the clergyman, Miss
Bridge was looked up to as the guardian and friend of the poor.
Every wounded limb, or distressing domestic affliction was
detailed to her. Her advice was sought equally when the pig died,
the baby was born, or the husband was sick. Her medicine-chest
was in frequent requisition, but her kitchen and dairy still more so.
For one dose of rhubarb which she dispensed, she gave away at
least two dinners, and those well acquainted with the poor may
judge whether by so doing she was not likely to prevent as much
illness as she cured; for by far the greater part of the diseases
amongst the labouring classes arise from scanty food and too thin
clothing. Of course she was the idol, the oracle of all the villagers,
and the more so because there was no squire nor squire's family in
the parish to diminish her importance or dim the lustre of her
position. In fact she was the sister of the last squire, and since his
death, as his eldest son resided on another property, the manor-
house had stood empty and deserted. It quite grieved Emma to see
it, for the house with its gable-ends and old-fashioned porch was
very picturesque; but they derived one advantage from the desolate
condition in which it was left, as they had the uncontrolled range of
the gardens and pleasure-grounds, which were very extensive. The
little church stood within these grounds, and by its situation
somewhat reminded her of Osborne Castle. But how different was
the Rector. He was an old, formal bachelor, living with an unmarried
sister, extremely nervous and shy, and more remarkable for his total
disregard to punctuality than any other point. This was peculiarly
evident on the Sunday, when the whole congregation were always
assembled at least a quarter of an hour before his appearance
amongst them. If the day was fine, they did not enter the church
but remained strolling up and down the pasture in which it stood,
until the minister appeared and led the way into the sacred building.
The congregation, which was almost entirely composed of the rural
population, presented a very different aspect from that at Croydon;
there were few smart bonnets, and the gayest articles of apparel in
the church were the scarlet cloaks of the women. The dark and old-
fashioned building itself had no ornaments but the hatchments
belonging to the Bridge family, and one or two ugly and cumbrous
monuments upon the walls, which seemed intended to record that
certain individuals had been born and died, though what they did
when living was now totally forgotten.
When the service was concluded, the clergyman quitted the pulpit
and walked out before all his congregation, who stood up
respectfully to let him pass, and then Miss Bridge and Emma, who
had their seat in the squire's pew, followed before any one else
presumed to stir from their places: there was then a friendly
greeting between the Rector and his principal parishioners, after
which they took their quiet way homewards, to partake of their early
dinner, and return to the afternoon service.
Such was the tenor of Emma's life, whilst she remained with Miss
Bridge—the only incident that varied the scene, was a drive over to
Croydon one day, in order to attend Margaret's wedding. Emma had
recovered her strength so rapidly, that she was perfectly equal to the
exertion, and Margaret had sent a pressing invitation not only to her,
but to Miss Bridge likewise. It was, therefore, settled that they
should go and spend the night at the vicarage, as Robert Watson's
house was quite full—with the addition of some cousins of his wife,
who were paying a visit. In consequence of this arrangement, she
did not see her future brother-in-law that day; but Elizabeth spent
the afternoon with them. She saw, with sincere pleasure, how much
Emma was improved in looks—she was plumper and fresher—more
blooming and bewitching than ever; and so thought Mr. Morgan too
—for he likewise, called to see her—and was quite startled with the
alteration in her appearance.
"I need not ask you how you are," said he, fixing on her eyes
which spoke his admiration as plainly as if he had put it into words;
"you are looking so well."
Emma was forced to turn away, for the expression of his face was
too openly admiring to be pleasant.
Elizabeth had a long chat with her in private: there was so much
to learn about her new way of life, and so much to tell in return, that
it seemed as if four and twenty hours instead of two, might have
been talked away with ease. There was much to discuss about
Margaret's prospects; Elizabeth was very little satisfied with Tom
Musgrove, and only wondered that her sister appeared so well
pleased as she did. He was careless and cold—almost to insolence—
and had, evidently, tried to annoy her in every way he could; flirting
with every girl who came in his way, and only shewing that he was
not careless to her feelings, by his repeated attempts to wound
them. To all this she seemed perfectly indifferent—whether from
vanity, she really did not see, or from wilful blindness she would not
perceive his meaning, Elizabeth could not tell; but she always
continued to preserve a most satisfied air; and when slighted by
Tom, sought peace and contentment in the contemplation of her
wedding presents and bridal finery; constantly talking as if she
enjoyed the unlimited affection of the most amiable and agreeable
man in the world.
"And who do you think appeared amongst us last week?"
continued Elizabeth, "actually Lord Osborne! Ah! you color and look
pleased—and well you may—for I have no doubt Croydon would
never have seen his countenance, if he had not thought you still
living here!"
"Lord Osborne!" said Emma astonished, "what brought his lordship
here—do you know?"
"The ostensible reason, was to bring a present to Margaret from
his sister—a very pretty necklace as a wedding present; but the real
reason, I have not the smallest doubt was, to see you—and had he
not supposed you were still here, the parcel might have come by the
coach, for any trouble he would have given himself about it."
"It was very good-natured of Miss Osborne, to remember
Margaret in that way," said Emma, "how pleased she must have
been."
"Yes, I think she was—it seemed even to put Tom in a better
humour with her and every thing—it gave her a sort of
consequence."
"What did Lord Osborne say?" enquired Emma, hoping to hear
something relative to Mr. Howard.
"Oh! we had a long talk together, and he enquired particularly
about you, and where and how you were; and he said he hoped
very soon to see you. He talked about expecting you to visit his
sister; in short, he seemed to have a great deal to say for himself—
and really for him, was quite agreeable. To be sure, I do not think
him quite so pleasant as George Millar, but every body need not
have my taste of course."
"Well, I should like to have seen him—did he say nothing about
our friends, Mrs. Willis and her brother—how are they?"
"He said, what I was sorry to hear, that Mr. Howard appeared ill
and out of spirits. I wonder what can be the matter with him—do
you think he can be in love?"
"I am not in his confidence," said Emma, coloring deeply.
"You will see him, of course," said Elizabeth, "if you go to Osborne
Castle—be sure and let me know what you think of him, then; do
ascertain if he is in love."
"You had better make observations for yourself, Elizabeth," replied
her sister, "how can I judge of a sentiment with which I am
unacquainted; wait till you visit Margaret, and you will be able to
form your own opinions."
"I do not think I shall ever visit Margaret," replied Elizabeth; "so if
I do not see Mr. Howard under any other circumstances, our chance
of meeting is but small."
The wedding-day was as bright and sunshiny as any bride could
desire. Emma's thoughts wandered from Margaret and her
companions to the bridal party in London, who she imagined would
be engaged in the same ceremony about the same hour. She knew
Mr. Howard was to officiate for her friend, and she tried to picture
the scene to herself; then she imagined another group, where Mr.
Howard himself should perform the part of bridegroom; and
wondered what her own feelings would be if she were the witness of
such a spectacle.
She was ashamed of herself when she recalled her mind from this
vision, and she tried to think of something more appropriate to the
occasion. She joined in the prayers for her sister's happiness, but her
heart trembled as she thought of her prospects; however, it was no
use foreboding evil—she tried to hope for the best.
Margaret was not satisfied with her two sisters as bridesmaids, but
both she and Tom had insisted on having four more from amongst
her intimate friends. One of these was the younger Miss Morgan,
and as a compliment to her, her brother was invited to be of the
party to church. He stood by Emma; but she was unconscious of it,
until, when the ceremony was concluded, and there was a general
congratulation, and kissing going on, she felt her hand clasped by
some one, and on her turning round, he whispered in her ear,
—"When shall you stand in your sister's place?"
Before she had time to answer, or even to understand exactly
what he had said, her new-made brother came up and claimed the
right of kissing her—the double right in fact, both as bridegroom and
brother—and when she had submitted to the infliction, she again
heard it whispered into her ear:
"That is the only part which I envy Mr. Musgrove."
Emma moved away without looking round again, and took her
station by the side of her friend, Miss Bridge, where she felt
convinced that Mr. Morgan would not dare to intrude on her. There
was something in the change of manner which he had lately
assumed to her, most particularly offensive and grating to her
feelings.
Another thing she could not avoid remarking was, that some of
the young ladies affected to shun her, shrinking away when she
approached, and abruptly changing the conversation, as if some
mystery were going on between them. This was more particularly
evident during the party which succeeded the wedding; when she
found herself rather a conspicuous person two or three times, being
left alone by those she approached—and on more than one
occasion, seeing a group suddenly disperse on her drawing near;
she did not comprehend the reason of this, but she felt it particularly
disagreeable; and it induced her as soon as she noticed it, to keep
close to Miss Bridge, in order to avoid the feeling of solitude in a
crowd which was so distressing to her.
The meeting after the wedding was as dull as such affairs usually
are, and right glad was Emma when the time for retiring came, and
she was able to return to the peaceful vicarage. The next day she
again left Croydon, and once more found repose and tranquillity
beneath Miss Bridge's hospitable roof.
CHAPTER V.
"I believe it is not usual," replied she trying to speak playfully, "to
attach much value to an old song—we may consider that as a
poetical fiction."
He looked very earnestly at her and said:
"You fancy friends have deserted you, owing to a change in your
prospects—do not—allow me to advise you—do not give way to such
feelings—they will not make you happy."
"They do not make me unhappy, I assure you," said she with
spirit; "the value I place on such fluctuating friendships is low
indeed."
"In one single instance, perhaps, it may be so—but you had better
not dwell on such ideas; they will create eventually a habit of mind
which must tend to produce secret irritation and uneasiness. The
allowing yourself to think it—much more expressing that thought can
do you no good, and each repetition deepens the impression!"
He spoke so gently, with such a low, earnest tone, she could not
resist or for a moment longer indulge her half-formed suspicions
relative to him and his sister. Whether he had guessed her feelings
she could not tell; his eyes were fixed on her with too much of
interest to allow her to attempt reading the whole of their meaning.
She never liked him so well as when thus, and with justice,
reproving her.
"I dare say you are right," said she meekly, "I will try to repress
such feelings—indeed I am ashamed I ever gave them utterance—
and here too, where I have been so very kindly welcomed!"
"And I am to imagine then," continued he, "that Croydon offers
few attractions to you—a country town is not usually agreeable
except to those who love gossip, of which I do not suspect you; but
you must have found some compensations."
"It was a great pleasure to look forward to Elizabeth being so
comfortably settled," replied Emma, "I like my future brother very
much, and am pleased with his family. I have no doubt of her
happiness—and the style of life will not be irksome to her—but I love
the country, and country pursuits, and was right glad to exchange
the noisy streets of Croydon for the delightful groves of Burton—its
meadows and green-lanes."
"You have not then been the whole time at Croydon?"
She explained—he had certainly been in a state of complete
darkness as to her movements lately; and she really felt a
momentary mortification that he should have been contented to
remain in such profound ignorance. Yet she also rejoiced that he had
never heard anything relative to the course of events which had
occasioned her so much pain at Croydon, and driven her from the
place. He knew nothing of Mr. Morgan.
How much longer they would have been content to loiter in that
pleasant flower-garden cannot now be known, but they were only
induced to leave it by the sound of the gong, which summoned them
to the Castle to prepare for dinner. The hour which they had thus
enjoyed had been one of the pleasantest to Emma which she could
recollect, and the witchery of it to Howard himself would have been
quite unrivalled, had his conscience been easy on reflection, with
regard to Lord Osborne's plans and hopes. He tormented himself
with the idea that it was unjust to his friend to take advantage of his
absence; yet a flattering hope dwelt in his heart, that she had shown
no reluctance to the interview; nay, if his wishes did not deceive and
mislead him, there was a glance in her averted eye, and a rich
mantling of colour over her cheek once or twice, which spoke
anything but aversion.
And if so—if he really had been so fortunate as to inspire her with
a partiality so delightful, was he not privileged—more than privileged
—bound in honour to her to prove himself deserving of such
feelings, and capable of appreciating them. This conviction gave him
a degree of confidence and animation quite different from the
manners he had exhibited when they had previously met at Osborne
Castle, and Emma found him as pleasant as in the earlier stage of
their acquaintance.
"Are you still partial to early walks, Miss Watson," enquired Sir
William in the course of the evening, "or is it only in frosty winter
mornings that you indulge in such a recreation."
"Ah, I had a very pleasant ramble that morning," said Emma, "at
least till the rain came and spoilt it all."
"A very mortifying way of concluding," said Sir William, laughing,
"for I came with the rain. I wish you had not put in that reservation."
"I am not so ungrateful as to include you and the rain in the same
condemnation," replied she, "you were of great assistance in my
distresses."
"But if you wish to indulge in the same amusement now, you will
have abundance of time, as Lady Gordon is by no means so
precipitate in her habits of rising and performing her morning
toilette, as to compel her guests to abridge their walks before
breakfast. Perhaps as a compliment to you, and by making very
great speed she may contrive to complete her labours in that way by
ten or eleven o'clock."
"Well, I do not pretend to deny it," said Lady Gordon, "I am
excessively indolent, and dearly love the pleasure of doing nothing.
But Sir William is always anxious to make me out much worse than I
am."
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookultra.com