data(covertype_small) # see help(covertype_small)
res <- randomForest(covertype_small[-55,], # features (already transposed)
covertype_small[55,], # labels now in [0, 6] range
0.3) # percentage used for testing
str(res) # accuracy varies as method is randomized but not seed set here
Run the code above in your browser using DataLab