R (programming language): Difference between revisions

Content deleted Content added
m Modeling and plotting: CE image captions
Clarified comments in the code block
Line 373:
y <- x^2
 
# Linear regression model: y = A + B * x
model <- lm(y ~ x)
 
Line 379:
summary(model)
 
# Create a 2 -by -2 layout for figures
par(mfrow = c(2, 2))