Can you make that reproducible? You can post the output of dput(head(Babies)).
Can you also list the libraries you are using?
library(pastecs)
library(BSDA) # just guessing this one - but I don't think I am right.
Babies <- tibble::tribble(
~LENGTH, ~HEAD, ~WEIGHT,
47, 32, 2.73,
48, 35.5, 3.13,
49, 36, 3.41,
53, 41.7, 3.39,
53, 35, 3.43,
49, 33, 3.03,
50, 36, 3.99,
50, 34.5, 3.14,
49, 32, 3.08,
58, 37, 4.38,
58.5, 36.5, 3.75,
53, 35.5, 3.22,
57, 35.5, 4.3,
47.5, 32.5, 2.22,
49, 33, 3.07,
45.5, 32.5, 2.5,
50, 35, 3.48,
51, 34.5, 2.98,
47, 35.5, 2.83,
47.5, 36, 3.18
)
Read the article.