Escolar Documentos
Profissional Documentos
Cultura Documentos
plot(d_mpc, v3k)
const = lm(v3k~0+d_mpc)
const$coefficients[1]
which(d_mpc>550)
d_mpc2 = d_mpc[-c(20, 365)]
v3k2 = v3k[-c(20, 365)]
plot(d_mpc2, v3k2)
const2 = lm(v3k2~0+d_mpc2)
const2
—------------------------------------------------------------------------------------------------------------------------
library(readxl)
dados = read.table("D:\\Documentos\\dados_de_galaxias.txt", sep = ",", header = TRUE)
attach(dados)
plot(d_mpc, v3k)
const = lm(v3k~0+d_mpc)
const$coefficients[1]
which(d_mpc>550)
d_mpc2 = d_mpc[-c(20, 365)]
v3k2 = v3k[-c(20, 365)]
plot(d_mpc2, v3k2)
const2 = lm(v3k2~0+d_mpc2)
const2