R/DataForPREDA2StatisticsForPREDA.R

##
## method DataForPREDA2StatisticsForPREDA is used to extract the StatisticsForPREDA object from the DataForPREDA object
##

##
## DataForPREDA - DataForPREDA2StatisticsForPREDA
##

setMethod("DataForPREDA2StatisticsForPREDA", "DataForPREDA", function(.Object) {

StatisticsForPREDA_object<-new("StatisticsForPREDA", ids=slot(.Object,"ids"), statistic=slot(.Object,"statistic"), analysesNames=slot(.Object,"analysesNames"), testedTail=slot(.Object,"testedTail"))

return(StatisticsForPREDA_object)

})

Try the PREDA package in your browser

Any scripts or data that you put into this service are public.

PREDA documentation built on Nov. 8, 2020, 7:40 p.m.