Posts

Showing posts from February, 2023

Module # 7 R Object: S3 vs. S4 assignment

  In your blog, discuss the following questions: How do you tell what OO system (S3 vs. S4) an object is associated with? In r, you can use the isS4 function, which returns true or false. How do you determine the base type (like integer or list) of an object? typeof() function What is a generic function? A function that dispatches methods to objects What are the main differences between S3 and S4? S3 is a less structured, older version.

Module # 6 Doing math in R part 2

Image
 

Module # 5 Doing Math

Image
 

Module # 4 Programming structure in R

Image
    code: boxplot(df) Code: hist(df$)