Loading [MathJax]/extensions/mml2jax.js
Skip to main content
LibreTexts - Ukrayinska

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Show Page TOC
    • Cover Page
    • License
    • Transcluded
    • License Version
  • Include attachments
Searching in
About 1 results
  • https://ukrayinska.libretexts.org/%D0%A1%D1%82%D0%B0%D1%82%D0%B8%D1%81%D1%82%D0%B8%D0%BA%D0%B0/%D0%92%D1%81%D1%82%D1%83%D0%BF%D0%BD%D0%B0_%D1%81%D1%82%D0%B0%D1%82%D0%B8%D1%81%D1%82%D0%B8%D0%BA%D0%B0/%D0%9A%D0%BD%D0%B8%D0%B3%D0%B0%3A_%D0%A1%D1%82%D0%B0%D1%82%D0%B8%D1%81%D1%82%D0%B8%D1%87%D0%BD%D0%B5_%D0%BC%D0%B8%D1%81%D0%BB%D0%B5%D0%BD%D0%BD%D1%8F_%D0%B4%D0%BB%D1%8F_21_%D1%81%D1%82%D0%BE%D0%BB%D1%96%D1%82%D1%82%D1%8F_(Poldrack)/13%3A_%D0%92%D0%B8%D0%B1%D1%96%D1%80%D0%BA%D0%B0_%D0%B2_R
    First we load the necessary libraries and set up the NHANES adult dataset library(tidyverse) library(ggplot2) library(knitr) library(cowplot) set.seed(123456) opts_chunk$set(tidy.opts=list(width.cutof...First we load the necessary libraries and set up the NHANES adult dataset library(tidyverse) library(ggplot2) library(knitr) library(cowplot) set.seed(123456) opts_chunk$set(tidy.opts=list(width.cutoff=80)) options(tibble.width = 60) # load the NHANES data library library(NHANES) # create a NHANES dataset without duplicated IDs NHANES <- NHANES %>% distinct(ID, .keep_all = TRUE) #create a dataset of only adults NHANES_adult <- NHANES %>% filter( Age >= 18 ) %>% drop_na(Height)