शुरू करेंमुफ़्त में शुरू करें

Linear regression with lm()

While ggplot can display a linear regression trend line using geom_smooth(), it doesn't give you access to the intercept and slope as variables, or allow you to work with the model results as variables. That means that sometimes you'll need to run a linear regression yourself.

Time to run your first model!

taiwan_real_estate is available. TWD is an abbreviation for Taiwan dollars.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Introduction to Regression in R

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Run a linear regression of price_twd_msq vs. n_convenience
___
कोड संपादित करें और चलाएँ