Get mass defect with certain scaled factor
getmassdefect(mass, sf)
vector of mass
scaled factors
dataframe with mass, scaled mass and scaled mass defect
mass <- c(100.1022,245.2122,267.3144,400.1222,707.2294)
sf <- 0.9988
mf <- getmassdefect(mass,sf)