From 863fc71140ca2aaf9b6f08e8152e8876254b1cf3 Mon Sep 17 00:00:00 2001 From: Mohammed Hamdy <62081584+mmhamdy@users.noreply.github.com> Date: Fri, 15 Jan 2021 22:02:08 +0200 Subject: [PATCH] Typo fix in "s3.rmd" Corrected typo on line 59 --- s3.rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3.rmd b/s3.rmd index b6feaf9..e57c98c 100644 --- a/s3.rmd +++ b/s3.rmd @@ -56,7 +56,7 @@ R's S3 system is built around three components: attributes (especially the `clas In [Attributes](#attributes), you learned that many R objects come with attributes, pieces of extra information that are given a name and appended to the object. Attributes do not affect the values of the object, but stick to the object as a type of metadata that R can use to handle the object. For example, a data frame stores its row and column names as attributes. Data frames also store their class, `"data.frame"`, as an attribute. -You can see an object's attributes with `attribute`. If you run `attribute` on the `deck` data frame that you created in [Project 2: Playing Cards], you will see: +You can see an object's attributes with `attributes`. If you run `attributes` on the `deck` data frame that you created in [Project 2: Playing Cards], you will see: ```r attributes(deck)