R/vecProfile.R

`vecProfile` <-
function (exp.Prof){
    vecProf <- exp.Prof$Freq[-length(exp.Prof$Freq)]
    names(vecProf)<-exp.Prof$res[-length(exp.Prof$res)]
    attr(vecProf, "n")<-sum(vecProf)
    vecProf <-vecProf/attr(vecProf, "n")
}

Try the goProfiles package in your browser

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

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.