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 182069

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

1 vote
Accepted

Hidden Markov Models with two emissions per state

I think I have an answer to this at this point. The first step is to assign probabilistic values for each state at each time step, given just the observations. For example, for the first time step, bo …
user7831861's user avatar
1 vote
2 answers
548 views

Hidden Markov Models with two emissions per state

I would like to code this in R; which R package is best for this? Can someone please guide me, maybe with a few lines of relevant code? …
user7831861's user avatar
1 vote
1 answer
465 views

Getting glmnet to select excatly given number of features?

I am using glmnet for feature selection, given a gaussian dependent variable. Part of my code is like this: lambda_seq <- 10^seq(2, -2, by = -0.1) cv_output <- cv.glmnet(data.matrix(x_vars), y_var, al …
user7831861's user avatar