|
Showing 1 - 4 of
4 matches in All Departments
Learn how to write R code with fewer bugs. The problem with
programming is that you are always one typo away from writing
something silly. Likewise with data analysis, a small mistake in
your model can lead to a big mistake in your results. Combining the
two disciplines means that it is all too easy for a missed minus
sign to generate a false prediction that you don't spot until it's
too late. Testing is the only way to be sure that your code, and
your results, are correct. Testing R Code teaches you how to
perform development-time testing using the testthat package,
allowing you to ensure that your code works as intended. The book
also teaches run-time testing using the assertive package; enabling
your users to correctly run your code. After beginning with an
introduction to testing in R, the book explores more advanced cases
such as integrating tests into R packages; testing code that
accesses databases; testing C++ code with Rcpp; and testing
graphics. Each topic is explained with real-world examples, and has
accompanying exercises for readers to practise their skills - only
a small amount of experience with R is needed to get started!
|
Learning R (Paperback)
Richard Cotton
|
R1,371
R984
Discovery Miles 9 840
Save R387 (28%)
|
Ships in 12 - 19 working days
|
Learn how to perform data analysis with the R language and software
environment, even if you have little or no programming experience.
With the tutorials in this hands-on guide, you'll learn how to use
the essential R tools you need to know to analyze data, including
data types and programming concepts. The second half of Learning R
shows you real data analysis in action by covering everything from
importing data to publishing your results. Each chapter in the book
includes a quiz on what you've learned, and concludes with
exercises, most of which involve writing R code. Write a simple R
program, and discover what the language can do Use data types such
as vectors, arrays, lists, data frames, and strings Execute code
conditionally or repeatedly with branches and loops Apply R add-on
packages, and package your own work for others Learn how to clean
data you import from a variety of sources Understand data through
visualization and summary statistics Use statistical models to pass
quantitative judgments about data and make predictions Learn what
to do when things go wrong while writing data analysis code
Learn how to write R code with fewer bugs. The problem with
programming is that you are always one typo away from writing
something silly. Likewise with data analysis, a small mistake in
your model can lead to a big mistake in your results. Combining the
two disciplines means that it is all too easy for a missed minus
sign to generate a false prediction that you don't spot until it's
too late. Testing is the only way to be sure that your code, and
your results, are correct. Testing R Code teaches you how to
perform development-time testing using the testthat package,
allowing you to ensure that your code works as intended. The book
also teaches run-time testing using the assertive package; enabling
your users to correctly run your code. After beginning with an
introduction to testing in R, the book explores more advanced cases
such as integrating tests into R packages; testing code that
accesses databases; testing C++ code with Rcpp; and testing
graphics. Each topic is explained with real-world examples, and has
accompanying exercises for readers to practise their skills - only
a small amount of experience with R is needed to get started!
The first issue of "Writer's Muse" Magazine It is a compilation of
the works of the Writer's Muse Page, an online writer's group
started by Richard Cotton. *** The stories and poetry included in
the first Writer's Muse Magazine issue, our Christmas 2012 issue,
are participants in a contest on the page. The contest was to see
who created the most beloved Christmas story, as determined by
votes on the page. It was a hard decision to make, figuring out
which story was the winner, with so many truly inspired
submissions. Congratulations to Victoria Tomlinson, who won the
contest with her heartwarming tale of the innocence of children and
the true spirit of the season, "A Christmas Gift."
|
You may like...
Jurassic Park
Michael Crichton
Paperback
(2)
R315
R289
Discovery Miles 2 890
|