I have checked previous answers regarding to my question but my question seems to be more complicated. The following is my loop:

```
for(i in 2:45)
{
    abs(meta1[,i]-median(meta1[,i], na.rm=T))/(mad(meta1[,i], constant 
= 1, na.rm=T)*1.483)
}

```

`meta1` is my data frame. I want to apply my for loop to column 2 to 45 (each is numeric vector) in my data frame. I want to store the resulting vectors in a new data frame. Could somebody point me out a direction? Thanks.