which r function should be used to produce a set of predictions based on a new set of data? how to generate new data based on a sample in r how to predict from r what function is used to create a set of predictions based on a new set of data? r predict function example what is the function predict used for in r how does predict work in r r predict function r how do predict functions? how to generate a sample r what is r predict how to use predict in r r. how to produce a set of predictions based on r predict how to do calculate predict function predicting in r how to use why do i have to call predict r create prediction with example which function will predict a new value r predict if