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

subarray does not work when resulting object has dimension 1 #5

Open
johnrbryant opened this issue Feb 10, 2019 · 0 comments
Open

subarray does not work when resulting object has dimension 1 #5

johnrbryant opened this issue Feb 10, 2019 · 0 comments

Comments

@johnrbryant
Copy link
Collaborator

coef_true
An object of class "Values"

name: coef iteration
length: 1 20
dimtype: state iteration
dimscale: Categories Iterations
first: pakeha 1
last: pakeha 20

    iteration

coef 1 2 3 4 5 6
pakeha 0.1674845 -0.1461451 0.1199069 -0.01387402 -0.08265017 -0.05510805
iteration
coef 7 8 9 10 11 12
pakeha -0.09195239 0.163945 -0.02232231 -0.01755576 -0.1442953 0.06181244
iteration
coef 13 14 15 16 17 18
pakeha 0.1553897 -0.003024108 -0.0689705 -0.05937134 -0.05924878 0.1449518
iteration
coef 19 20
pakeha -0.01812398 -0.02259441

subarray(coef_true, iteration == 1)
Error in validObject(.Object) :
invalid class “MetaData” object: must have at least 1 dimension

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

No branches or pull requests

1 participant