David L Carlson dcarlson at tamu.edu
Wed Feb 24 16:46:37 CET 2016

Your question is too vague. What do you know about R? What do you know about KNN? What have you tried so far? You need to teach yourself enough about R to ask a more specific question. To get started, read some of these:

Contributed Documentation (https://cran.r-project.org/other-docs.html)
* "Using R for Data Analysis and Graphics - Introduction, Examples and Commentary" by John Maindonald (https://cran.r-project.org/doc/contrib/usingR.pdf) 
* "R for Beginners" by Emmanuel Paradis 
* "Kickstarting R (version 1.6)" compiled by Jim Lemon

Then some of these
* Data Mining Algorithms In R/Classification/kNN
* Machine Learning in R for beginners
* Best way to learn kNN Algorithm using R Programming

David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352

-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Alnazer
Sent: Tuesday, February 23, 2016 2:03 PM
To: r-help at r-project.org
Subject: [R] KNN

How I can use majority guessing function to evaluate KNN, if I have data saved in CSV file

Alnazer Elbedairy

R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list