Because of this, and despite the fact that it is common practice, it is sort of a mistake to find the resistance of a circuit element by plotting V vs I and finding the slope. Obviously, if the circuit element is non-ohmic it doesn’t make any sense to report a single R value. However, even if the circuit element can be nicely approximated by Ohm’s Law, it actually makes more sense to report the value of R as an average of all V/I ratios than it does to calculate the resistance by determining the slope of the best fit line. This is especially the case if your best fit-line has a non-zero y-intercept.