

Error in adorn_ns in while doing target segmentation of clusters in R
source link: https://www.codeproject.com/Questions/5332976/Error-in-adorn-ns-in-while-doing-target-segmentati
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Am just starting out in R and machine learning. Am working on a hierarchical clustering problem where after getting clusters of attitudinal variables (e.g preference for a certain choice), I want to do target segmentation by combining the cluster information with demographic data ,I did not include in the clustering such as marital status to check how cluster groups behave in married vs non married people. my code is as seen below
data %>% tabyl(clusters, marital) %>% adorn_totals(c("row", "col")) %>% adorn_percentages("row") %>% adorn_pct_formatting(digits = 2) %>% adorn_ns() Error in adorn_ns(.) : could not find function "adorn_ns"
The problem is the code throws this error, Error in adorn_ns(.) : could not find function "adorn_ns"
I have tried all that I know , but I have not been able to solve this .
Thanks in advance for your help.
What I have tried:
I have tried all that I know , but I have not been able to solve this
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK