Monday 23 September 2019

LM- R


x = c(151, 174, 138, 186, 128, 136, 179, 163, 152, 131)

y = c(63, 81, 56, 91, 47, 57, 76, 72, 62, 48)

relation = lm(y~x)
________________________________________



# Find weight of a person with height 170.
a = data.frame(x = 170)
result =  predict(relation,a)
print(result)

1 comment:

  1. With havin so much content and articles do you ever run into any issues of plagorism or copyright infringement? My website has a lot of exclusive content I've either authored myself or outsourced but it looks like a lot of it is popping it up all over the internet without my permission. Do you know any solutions to help reduce content from being ripped off? I'd truly appreciate it.
    managed services perth

    ReplyDelete