Displaying 1 result from an estimated 1 matches for "go2cloud".
Did you mean:
gcloud
2018 Apr 09
3
convert numeric variables to factor
Or use cut():
> Num <- c(2.2, 2.4, 3.5, 5, 7)
> cut(Num, breaks=c(0,2,4,6), labels=c("Low","Medium","High"))
[1] Medium Medium Medium High <NA>
Levels: Low Medium High
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Mon, Apr 9, 2018 at 10:00 AM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
> Just cast it!
>
> ?factor
> Bert