Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic building of covariate factors #148

Open
eeholmes opened this issue Nov 3, 2021 · 0 comments
Open

Add automatic building of covariate factors #148

eeholmes opened this issue Nov 3, 2021 · 0 comments
Assignees
Projects
Milestone

Comments

@eeholmes
Copy link
Collaborator

eeholmes commented Nov 3, 2021

Currently

d <- rep(1:2, each=10)
MARSS(dat, model=list(d=d))

This will treat d as numeric (as it is).

But if d is character or a factor,

d <- as.factor(rep(1:2, each=10))
MARSS(dat, model=list(d=d))

MARSS will not construct the factor matrix for you.

@eeholmes eeholmes added this to the 3.11.5 milestone Nov 3, 2021
@project-bot project-bot bot added this to MARSS in 1 Overall Progress Nov 3, 2021
@project-bot project-bot bot added this to New Issues in Milestones Nov 3, 2021
@eeholmes eeholmes self-assigned this Nov 3, 2021
@eeholmes eeholmes removed this from MARSS in 1 Overall Progress Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Milestones
New Issues
Development

No branches or pull requests

1 participant