Hi try this function ive written
it should be self explantory but let me know if you have any problems.
I've only been using R for a few eeeks so apologies if its not the most
efficient!
rankit2-function(rankvar,cuts,data,factor) {
ranker-rankvar
ranker-0
range-c(1:cuts)
range2-range/cuts
77843-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of riskcalc
Sent: Friday, October 21, 2011 4:06 AM
To: r-help@r-project.org
Subject: Re: [R] replicating SAS's proc rank procedure
Hi try this function ive written
it should
2 matches
Mail list logo