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 221

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`.

3 votes
2 answers
2k views

Reaction norms model in R

Anyone knows any R package/function to run a reaction norms model for the analysis of genotype × environment interactions? …
Manuel Ramón's user avatar
2 votes

Reaction norms model in R

I answered myself. I found the following paper where the lme4 package is used to perform a reaction norm analysis: Methods in Ecology and Evolution 2011(2), 362–374. However, if someone can provide mo …
Manuel Ramón's user avatar
5 votes

Free resources for learning R

The R project website has lots of manuals to start, and I suggest you the Nabble R forum and the R-bloggers site as well. …
2 votes

How to read large dataset in R

I,m totally agree with Dirk answer. One suggestion. I have found very useful the use of programming languages such as AWK or others when assessing large databases. So, I was able to filter the data I …
Manuel Ramón's user avatar
2 votes

Clustering (k-means, or otherwise) with a minimum cluster size constraint

How large is your data set? Maybe you could try to run a hierarchical clustering and then decide which clusters retain based on your dendrogram. If your data set is huge, you could also combine both …
Manuel Ramón's user avatar
54 votes
3 answers
255k views

Different ways to write interaction terms in lm?

,"s", "rs", "y"), row.names = c(NA, -20L), class = "data.frame") Two equivalent ways to specify the model with interactions are: lm0 <- lm(y ~ r*s, data=d) lm1 <- lm(y ~ r + s + r:s, data=d) … 2.92 --- n = 20, k = 4 residual sd = 3.27, R-Squared = 0.87 summary(lm2) lm(formula = y ~ r + s + rs, data = d, x = TRUE) coef.est coef.se (Intercept) 21.94 1.46 rr2 11.32 …
Manuel Ramón's user avatar
11 votes

What programming language do you recommend to prototype a machine learning problem?

EDIT 1: I agree with other people who prefer to work in R. …
Manuel Ramón's user avatar