Question: - - - title: Project 1 author: Your Name Here format: html: self - contained: true echo: true message: false warning: false error: true
title: "Project
author: "Your Name Here"
format:
html:
selfcontained: true
echo: true
message: false
warning: false
error: true # IMPORTANT NOTE this makes the file render even if there is an error. it is imperative that you check your html document before submission to make sure that it has all results in it
editor: source
This week you will be analyzing data from the Jackson Heart Study JHS You can find the data on Canvas. For full credit, you must include all code chunks and R output backing up your responses.
Import the JHS data; you can download it from Canvas. You need to research how to read a SAS data file into R hint: look into the haven package
r
#install.packagestidyverse
libraryhaven
jhs readsasC:UsersPriya RajahDownloadsanalysissasbdat"
Insert your answer here :)
a Model systolic blood pressure sbp; mmHg as a function of age age; years education HSgrad; noyes and body mass index BMI; kgm Remember to report the resulting model.
r
m glmsbp ~ age HSgrad,
data jhs
family "gaussian"
summarym
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
