Skip to Content
Modern R Programming Cookbook
book

Modern R Programming Cookbook

by Jaynal Abedin
October 2017
Beginner to intermediate
236 pages
7h 38m
English
Packt Publishing
Content preview from Modern R Programming Cookbook

See also

To get details on the S4 class, go to https://cran.r-project.org/doc/contrib/Genolini-S4tutorialV0-5en.pdf.

You can access elements of S3 objects using the $ sign. This is very similar to accessing columns from a data frame. However, to get access to individual items from an S4 class object, you must use the @ sign, for example, object@slot1.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

R Cookbook, 2nd Edition

R Cookbook, 2nd Edition

JD Long, Paul Teetor

Publisher Resources

ISBN: 9781787129054Supplemental Content