You are on page 1of 1

data=base[,2:ncol(base)]

model=lm(sales ~ TV + radio + newspaper,data=data)


summary(model)

You might also like