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

breakpoints(breaks=1) returns NA #9

Open
GreatEmerald opened this issue Nov 1, 2019 · 0 comments
Open

breakpoints(breaks=1) returns NA #9

GreatEmerald opened this issue Nov 1, 2019 · 0 comments
Labels

Comments

@GreatEmerald
Copy link
Contributor

Something to investigate: if I enter breaks=1, I get a result that says:

	 Optimal 1-segment partition: 

Call:
breakpoints.formula(formula = formula(response ~ trend + harmon), 
    h = 46, breaks = 1, data = bfastpp(bfts))

Breakpoints at observation number:
NA 

Corresponding to breakdates:
NA 

That is weird, because breaks = 1 means a 2-segment partition, not a 1-segment partition. breaks=2 works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant