Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 121154

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

2 votes
Accepted

Within the context of a document term matrix, what exactly are x and y axis in kmeans cluste...

The article did not cluster on the DTM, but on the distance matrix as returned by dist. The function dist computes the euclidean distance between vectors, and kmeans uses this measure to cluster on. T …
Bryan Goggin's user avatar
2 votes

fitting a logarithmic model

I wouldn't worry about this too much. In general, numbers are highly correlated with their logs: set.seed(90) y<-1:10 x1<-abs(rnorm(10)) x2<-1:10 + rnorm(10, 5, 5) x3<-sample(10,10, replace= T) + 1: …
Bryan Goggin's user avatar
0 votes

How to differentiate two distinct linear populations with clustering in R

It might be because this data does not contain any actual clusters. plot(x,y2)
Bryan Goggin's user avatar