Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 11th, 2015
205
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
R
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
N
=
200
df
=
data.
frame
(
x
=
1
:
N, y
=
2
+
1
:
N
*
3
+
rnorm
(
N
)
)
lm
(
y ~
I
(
x
+
2
)
+
0
,
df
)
# Call:
# lm(formula = y ~ I(x + 2) + 0, data = df)
#
# Coefficients:
# I(x + 2)
# 2.97
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
39 min ago | 33.76 KB
Untitled
39 min ago | 4.68 KB
Untitled
1 hour ago | 7.65 KB
Untitled
2 hours ago | 26.84 KB
Untitled
3 hours ago | 5.67 KB
Untitled
3 hours ago | 7.07 KB
Untitled
4 hours ago | 24.39 KB
Untitled
6 hours ago | 25.79 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!