Commit a6a32025 authored by Hugo Carlos's avatar Hugo Carlos
Browse files

Replace R_Datasets.md

parent c575961e
......@@ -62,11 +62,11 @@ mean(bodyfat$age)
# How many are younger than 31 years old?
younger_than_31 <- bodyfat[ (bodyfat$age < 31), ]
length(younger_than_31)
dim(younger_than_31)[2]
# Another way
not_older_than_30 <- bodyfat[ !(bodyfat$age > 30), ]
length(not_older_than_30)
dim(not_older_than_30)[2]
# Watch out!
head( bodyfat[ !(bodyfat$age > 30), ] )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment