添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
俊秀的乌冬面  ·  [python] ...·  3 年前    · 
气宇轩昂的毛巾  ·  Python cv2 播Video - ...·  3 年前    · 
耍酷的毛豆  ·  pytorch - What does ...·  3 年前    · 
  • 1.2 Prerequisites
  • 1.3 The (Upward) Spiral of Success Structure
  • 1.4 Motivation for this Book
  • 1.5 The Scientific Reproducibility Crisis
  • 1.6 Features of a Bookdown electronic book
  • 1.7 What this Book is Not
  • 1.7.1 This Book is Not A Statistics Text
  • 1.7.2 This Book Does Not Provide Comprehensive Coverage of the R Universe
  • 1.8 Some Guideposts
  • 1.9 Helpful Tools
  • 1.9.1 Demonstrations in Flipbooks
  • 1.9.2 Learnr Coding Exercises
  • 1.9.3 Coding
  • 2 Getting Started and Installing Your Tools
  • 2.1 Goals for this Chapter
  • 2.2 Website links needed for this Chapter
  • 2.3 Pathway for this Chapter
  • 2.4 Installing R on your Computer
  • 2.5 Windows-Specific Steps for Installing R
  • 2.5.1 Testing R on Windows
  • 2.6 Mac-specific Installation of R
  • 2.6.1 Testing R on the Mac
  • 2.6.2 Successful testing!
  • 2.7 Installing RStudio on your Computer
  • 2.7.1 Windows Install of RStudio
  • 2.7.2 Testing Windows RStudio
  • 2.7.3 Installing RStudio on the Mac
  • 2.7.4 Testing the Mac Installation of RStudio
  • 2.7.5 Critical Setup - Tuning Up Your RStudio Installation
  • 2.8 Installing Git on your Computer
  • 2.8.1 Installing Git on macOS
  • 2.8.2 Installing Git on Windows
  • 2.8.3 Installing Git on Linux
  • 2.9 Getting Acquainted with the RStudio IDE
  • 3 A Tasting Menu of R
  • 3.1 Setting the Table
  • 3.2 Goals for this Chapter
  • 3.3 Packages needed for this Chapter
  • 3.4 Website links needed for this Chapter
  • 3.5 Setting up RPubs
  • 3.6 Open a New Rmarkdown document
  • 3.7 Knitting your Rmarkdown document
  • 3.7.1 Installing Packages
  • 3.7.2 Loading Packages with library()
  • 3.8 Your Turn to Write Text
  • 3.9 Wrangle Your Data
  • 3.10 Summarize Your Data
  • 3.11 Visualize Your Data
  • 3.12 Statistical Testing of Differences
  • 3.13 Publish your work to RPubs
  • 3.14 The Dessert Cart
  • 3.14.1 Interactive Plots
  • 3.14.2 Animated Graphics
  • 3.14.3 A Clinical Trial Dashboard
  • 3.14.4 A Shiny App
  • 3.14.5 An Example of Synergy in the R Community
  • 4 Introduction to Reproducibility
  • 4.1 First Steps to Research Reproducibility
  • 4.1.1 Have a Plan
  • 4.1.2 Treat Your Raw Data Like Gold
  • 4.1.3 Cleaning and Analyzing Your Data
  • 4.1.4 The First Level of Reproducibility
  • 4.1.5 The Second Level of Reproducibility
  • 5 Importing Your Data into R
  • 5.1 Reading data with the {readr} package
  • 5.1.1 Test yourself on scurvy
  • 5.1.2 What is a path?
  • 5.1.3 Try it Yourself
  • 5.2 Reading Excel Files with readxl
  • 5.2.1 Test yourself on read_excel()
  • 5.3 Bringing in data from other Statistical Programs (SAS, Stata, SPSS) with the {haven} package
  • 5.4 Other strange file types with rio
  • 5.5 Data exploration with glimpse, str, and head/tail
  • 5.5.1 Taking a glimpse with glimpse()
  • 5.5.2 Try this out yourself.
  • 5.5.3 Test yourself on strep_tb
  • 5.5.4 Examining Structure with str()
  • 5.5.5 Test yourself on the scurvy dataset
  • 5.5.6 Examining a bit of data with head() and tail()
  • 5.5.7 Test yourself on the printing tibbles
  • 5.6 More exploration with skimr and DataExplorer
  • 5.6.1 Test yourself on the skim() results
  • 5.6.2 Test yourself on the create_report() results
  • 5.7 Practice loading data from multiple file types
  • 5.8 Practice saving (writing to disk) data objects in formats including csv, rds, xls, xlsx and statistical program formats
  • 5.9 How do readr and readxl parse columns?
  • 5.10 What are the variable types?
  • 5.11 Controlling Parsing
  • 5.12 Chapter Challenges
  • 5.13 Future forms of data ingestion
  • 6 Wrangling Rows in R with Filter
  • 6.1 Goals for this Chapter
  • 6.2 Packages needed for this Chapter
  • 6.3 Pathway for this Chapter
  • 6.4 Logical Statements in R
  • 6.5 Filtering on Numbers - Starting with A Flipbook
  • 6.5.1 Your Turn - learnr exercises
  • 6.6 Filtering on Multiple Criteria with Boolean Logic
  • 6.6.1 Your Turn - learnr exercises
  • 6.7 Filtering Strings
  • 6.7.1 Your Turn - learnr exercises
  • 6.8 Filtering Dates
  • 6.8.1 Your Turn - learnr exercises
  • 6.9 Filtering Out or Identifying Missing Data
  • 6.9.1 Working with Missing data
  • 6.9.2 Your Turn - learnr exercises
  • 6.10 Filtering Out Duplicate observations
  • 6.11 Slicing Data by Row
  • 6.12 Randomly Sampling Your Rows
  • 6.12.1 Your Turn - learnr exercises
  • 6.13 Further Challenges
  • 6.14 Explore More about Filtering
  • 7 Wrangling Columns in R with Select, Rename, and Relocate
  • 7.1 Goals for this Chapter
  • 7.2 Packages needed for this Chapter
  • 7.3 Pathway for this Chapter
  • 7.4 Tidyselect Helpers in R
  • 7.5 Selecting a Column Variables
  • 7.5.1 Try this out
  • 7.6 Selecting Columns that are Not Contiguous
  • 7.7 Selecting Columns With Logical Operators
  • 7.8 Further Challenges
  • 7.9 Explore More about Filtering
  • 8 Using Mutate to Make New Variables (Columns)
  • 8.1 Calculating BMI
  • 8.2 Recoding categorical or ordinal data
  • 8.3 Calculating Glomerular Filtration Rate
  • 9 Mutating Joins to Combine Data Sources
  • 9.1 What are Joins?
  • 9.2 What are Mutating Joins?
  • 9.3 Let’s Start with Left Joins
  • 9.4 Left Join in Action
  • 9.5 Left Join in Practice
  • 9.6 Quick Quiz
  • 9.7 Problem variable names
  • 9.8 Right Join in Action
  • 9.9 Right Join in Practice
  • 9.10 Inner Joins
  • 9.11 Quick Quiz
  • 9.12 Now Let’s take a Look at the result
  • 9.13 Full Joins
  • 9.14 Quick Quiz
  • 9.15 Now Let’s take a Look at the result
  • 10 Interpreting Error Messages
  • 10.1 The Common Errors Table
  • 10.2 Examples of Common Errors and How to fix them
  • 10.2.1 Missing Parenthesis
  • 10.2.2 An Extra Parenthesis
  • 10.2.3 Missing pipe %>% in a data wrangling pipeline
  • 10.2.4 Missing + in a ggplot pipeline
  • 10.2.5 Pipe %>% in Place of a +
  • 10.2.6 Missing Comma Within a Function()
  • 10.2.7 A Missing Object
  • 10.2.8 One Equals Sign When you Need Two
  • 10.2.9 Non-numeric argument to a binary operator
  • 10.3 Errors Beyond This List
  • 10.4 When Things Get Weird
  • 10.4.1 Restart your R Session (Shift-Cmd-F10)
  • 10.5 References:
  • 11 The Building Blocks of R: data types, data structures, functions, and packages.
  • 11.1 Data Types
  • 11.2 Data Structures
  • 11.3 Examining Data Types and Data Structures
  • 11.4 Functions
  • 11.5 Packages
  • 11.6 The Building Blocks of R
  • 12 Tips for Hashtag Debugging your Pipes and GGPlots
  • 12.1 Debugging
  • 12.2 The Quick Screen
  • 12.3 Systematic Hunting For Bugs in Pipes
  • 12.4 Systematic Hunting For Bugs in Plots
  • 12.5 Hashtag Debugging
  • 12.6 Pipe 2
  • 12.7 Plot 2
  • 12.8 Plot3
  • 12.9 Pipe 3
  • 13 Finding Help in R
  • 13.1 Programming in R
  • 13.2 Starting with Help!
  • 13.3 The Magic of Vignettes
  • 13.4 Googling the Error Message
  • 13.5 You Know What You Want to Do, but Don’t Know What Package or Function to Use
  • 13.5.1 CRAN Task Views
  • 13.5.2 Google is Your Friend
  • 13.6 Seeking Advanced Help with a Minimal REPREX
  • 14 The Basics of Base R
  • 14.1 Dimensions of Data Rectangles
  • 14.2 Naming columns
  • 14.3 Concatenation
  • 14.4 Sequences
  • 14.5 Constants
  • 14.6 Fancier Sequences
  • 14.7 Mathematical functions
  • 14.8 Handling missing data (NAs)
  • 14.9 Cutting Continuous data into Levels
  • 15 Updating R, RStudio, and Your Packages
  • 15.1 Installing Packages
  • 15.1.1 Installing Packages from Github
  • 15.1.2 Problems with Installing Packages
  • 15.2 Loading Packages with Library
  • 15.3 Updating R
  • 15.4 Updating RStudio
  • 15.5 Updating Your Packages
  • 16 Major R Updates (Where Are My Packages?)
  • 16.1 Preparing for a Minor or Major R Upgrade
  • 16.2 Saving a List of Your Packages
  • 16.3 Upgrading R (and RStudio)
  • 16.3.1 Reinstalling your list of Packages
  • 16.4 Now Check your list of Packages
  • 16.5 Updating Packages
  • 17 Intermediate Steps Toward Reproducibility
  • 17.1 Level 3 Reproducibility
  • 17.1.1 Creating a New Project in RStudio
  • 17.1.2 File paths and the {here} package
  • 17.2 Code Review with a Coding Partner
  • 17.2.1 Checklist for Code Review
  • 17.3 Sharing code on GitHub
  • 18 Comparing Two Measures of Centrality
  • 18.1 Common Problem
  • 18.1.1 How Skewed is Too Skewed?
  • 18.1.2 Visualize the Distribution of data variables in ggplot
  • 18.1.3 Visualize the Distribution of data$len in ggplot
  • 18.1.4 Results of Shapiro-Wilk
  • 18.1.5 Try it yourself
  • 18.1.6 Mammal sleep hours
  • 18.2 One Sample T test
  • 18.2.1 How to do One Sample T test
  • 18.2.2 Interpreting the One Sample T test
  • 18.2.3 What are the arguments of the t.test function?
  • 18.3 Insert flipbook for ttest here
  • 18.3.1 Flipbook Time!
  • 18.4 Fine, but what about 2 groups?
  • 18.4.1 Setting up 2 group t test
  • 18.4.2 Results of the 2 group t test
  • 18.4.3 Interpreting the 2 group t test
  • 18.4.4 2 group t test with wide data
  • 18.4.5 Results of 2 group t test with wide data
  • 18.5 3 Assumptions of Student’s t test
  • 18.5.1 Testing Assumptions of Student’s t test
  • 18.6 Getting results out of t.test
  • 18.6.1 Getting results out of t.test
  • 18.7 Reporting the results from t.test using inline code
  • 18.7.1 For Next Time
  • 19 Sample Size Calculations with {pwr}
  • 19.1 Sample Size for a Continuous Endpoint (t-test)
  • 19.2 One Sample t-test for Lowering Creatinine
  • 19.3 Paired t-tests (before vs after, or truly paired)
  • 19.4 2 Sample t tests with Unequal Study Arm Sizes
  • 19.5 Testing Multiple Options and Plotting Results
  • 19.6 Your Turn
  • 19.6.1 Scenario 1: FEV1 in COPD
  • 19.6.2 Scenario 2: BNP in CHF
  •