python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
get top 3 values per row and keep the column index
Consider the following matrix:
m <- structure(c(0.00165720273925865, 0.000414300684814661, 0.00126727268296249,
0.0105768527770331, 0.00126727268296249, 0.00155972022518461,
0.00046304194185168,...
moth
Votes: 0
Answers: 1
Subsetting with dredge function (MuMin)
I'm trying to subset a series of models dredged from a global model that has both linear & non-linear terms. There are no interactions e.g.
Glblm <- Y ~ X1 + X2 + X3 + I(X3^2) + X4 + X5 + X6 + ...
Julia Simons
Votes: 0
Answers: 1
Create categorical variable/data subset with case matching
I have a dataset like this:
structure(list(year = c(2019, 2019, 2019, 2019, 2019, 2019),
venue = c("Z", "Z", "Z", "Z", "O", "D"), HO = ...
Cristiano
Votes: 0
Answers: 1
number of different observations in a column
How can I find how many different observations there are in a column?
For example in a column "species" with 3000 rows I want to find how many different species there are.
I read something a...
Dimitra Nikoloutsou
Votes: 0
Answers: 1