CoCalc Public Filestest / faithful.ipynbOpen with one click!
Author: Harald Schilly
Views : 562
Compute Environment: Ubuntu 18.04 (Deprecated)

Faithful data in R on CoCalc

In [1]:
require("faithful")
Loading required package: faithful Warning message in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : “there is no package called ‘faithful’”
In [3]:
plot(faithful)
In [4]:
lmf <- lm("eruptions ~ waiting", data=faithful) lmf
Call: lm(formula = "eruptions ~ waiting", data = faithful) Coefficients: (Intercept) waiting -1.87402 0.07563
In [5]:
plot(lmf)
In [ ]: