Posts

Showing posts from January, 2026

Module #2 Assignment

Image
Evaluating A Function  VaShay M. Carpenter Objectives Learn how to import data into RStudio. Review foundational R programming concepts and  GitHub workflows . Practice function debugging and evaluation in R. Evaluate  myMean  Function Use the vector: assignment2 <- c(16, 18, 14, 22, 27, 17, 19, 17, 17, 22, 20, 22) Consider this function: myMean <- function(assignment2) { return(sum(assignment) / length(someData)) } In RStudio, run  myMean(assignment2)  and record the output or error. On both your blog and GitHub repository, post: The result or error message from testing  myMean . An explanation of why the function fails or succeeds (hint: variable names). A good function should take an input x, process x, and return a result like a "black  box". If your function is looking for a specific name like assignment2 but that  variable name isn't defined inside the function's local scope, it will break or  produce unpredictable results....

LIS4370.001S26 - Assignment #1: Getting Started with R Programming Your first assignment - VaShayCarpenter

Image
  Objectives Set up your  GitHub Links to an external site.  and blog accounts. Install R and  RStudio Links to an external site. . Begin reading foundational chapters on R basics. Tasks Create a GitHub Repository ✅ Go to  github.com Links to an external site.  and sign up (or log in). Create a new  public  repository named  r‑programming-assignments . In your repository’s  README.md , include: ✅ Your name Course number (e.g., LIS4370) Brief description (“Repository for R Programming Assignments”) https://github.com/cryo-cell/r-programming-assignments  Set Up a Blog Choose one platform: Blogger Links to an external site. WordPress Links to an external site. Or any other blog services Create your blog and title it “R Programming Journal – <Your Name>”. On Canvas, post the URL of your blog in the “Assignment #1” submission area. https://rstue.blogspot.com/  Install R and RStudio Download R from  cran.r-project.org...