>str(testdata[1])
List of 1
$ :'data.frame': 10640 obs. of 13 variables:
..$ logprice : num [1:10640] 12.3 12.1 13.1 14 12.5 ...
..$ bedrooms : int [1:10640] 3 2 3 4 3 3 3 4 3 4 ...
I skipped the rest of 11 variables. My question is, how to call out the "logprice" in this data set,
testdata[1]$logprice
doesn't work