[R] Helping for approrpriate test

2019-04-18 Thread bienvenidoz...@gmail.com
Dear All, I have in field and collect some data and i need your help for the appropriate test to analyze the data. Indeed, i collected data from 200 farmers. From cluster analysis, i found four type or clusters of farmers. During the survey, i asked all the farmers to rank the different

[R] Help for coding

2019-04-12 Thread bienvenidoz...@gmail.com
Dear all, I am trying to write the script to calculate the mean and the standard deviation without using the functions mean and standard deviations since morning. Someone can help These scripts below are what i did but when i run and check with the function mean and standard deviation it is

[R] Create a sequence

2019-04-09 Thread bienvenidoz...@gmail.com
how to create u = (1, −1, 2, −2, . . . , 100, −100)  in r Thanks Bienvenue [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] Convert a character to numeric

2019-04-09 Thread bienvenidoz...@gmail.com
Hi,  I am applyin function as.numeric to a vector having many values as NA  and it is giving :  Warning message:  NAs introduced by coercion  Can anyone help me to know how to remove this warning and sor it out?  Thanks  Bienvenue [[alternative HTML version deleted]]

[R] Cluster analysis

2019-03-31 Thread bienvenidoz...@gmail.com
Hi, I have data from farmers with different variables. I would like to classify them according to some variables. Can you help me with "R" to find the best variables to classify them and how to classify them with "R". Some variables are numerical others are ordinal. Best regards, Bienvenue