Skip to content

Issue with Dim argument in TTest2 and ANOVA1 #2

@boergertf

Description

@boergertf

When trying to use several of the tests (e.g. ttest2, anova1) I ran into an issue with the call for "sum" and "mean". For example, when running permuanova1 I received the error:
"Error using sum
Invalid option. Option must be 'double', 'native', 'default', 'omitnan', or 'includenan'.

Error in permuanova1 (line 95)
nobs = sum(~isnan(x), 'all'); " It appears to me that the issue is with argument 'all' . When I tried deleting 'all', it through the same error for 'mean' in line 98.

I'm running it on MATLB 2018a on a computing cluster.

permucorr worked great on the other hand.

Is this likely to be a matlab version issue?

Thanks
Timothy Boerger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions