DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
predict y given model in r
model <- lm(y ~ x1, data = df) df2 <- data.frame(x1 = 30) predict(model, df2)
PREVIOUS
NEXT
Tagged:
#predict
#model
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit