{"action":"opened","issue":{"url":"https://api.github.com/repos/spedygiorgio/markovchain/issues/58","labels_url":"https://api.github.com/repos/spedygiorgio/markovchain/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/spedygiorgio/markovchain/issues/58/comments","events_url":"https://api.github.com/repos/spedygiorgio/markovchain/issues/58/events","html_url":"https://github.com/spedygiorgio/markovchain/issues/58","id":108039028,"number":58,"title":"Issue with markovchainListFit() using small # of observations","user":{"login":"arkansasred","id":3441137,"avatar_url":"https://avatars.githubusercontent.com/u/3441137?v=3","gravatar_id":"","url":"https://api.github.com/users/arkansasred","html_url":"https://github.com/arkansasred","followers_url":"https://api.github.com/users/arkansasred/followers","following_url":"https://api.github.com/users/arkansasred/following{/other_user}","gists_url":"https://api.github.com/users/arkansasred/gists{/gist_id}","starred_url":"https://api.github.com/users/arkansasred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkansasred/subscriptions","organizations_url":"https://api.github.com/users/arkansasred/orgs","repos_url":"https://api.github.com/users/arkansasred/repos","events_url":"https://api.github.com/users/arkansasred/events{/privacy}","received_events_url":"https://api.github.com/users/arkansasred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T01:29:50Z","updated_at":"2015-09-24T01:29:50Z","closed_at":null,"body":"Hello, I was messing around with a small dataset (some pop song chord transitions), trying to make a different transition matrix for each sequence observation.  I got the following error when passing a 12x4 matrix to markovChainListFit()\r\n\r\n```\r\nError in if (any(round(rowSums(object@transitionMatrix), 5) != 1)) check <- \"Error! Row sums not equal to one\" : \r\n  missing value where TRUE/FALSE needed\r\n```\r\n\r\nUsing the first 10 observation rows from the time series in the holson example dataset reproduces this\r\n\r\n``` R\r\nmclistFit<-markovchainListFit(data=holson[1:10,2:12])\r\n```\r\n\r\nAny advice is appreciated!"}}