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

Dealing with missing values #324

Closed
PeterKlaren opened this issue Mar 8, 2019 · 1 comment
Closed

Dealing with missing values #324

PeterKlaren opened this issue Mar 8, 2019 · 1 comment

Comments

@PeterKlaren
Copy link

  • JASP version: 0.9.2

  • OS name and version: Windows 10

  • Analysis: Descriptives, Box plot

  • Bug description: JASP can't deal with missing values

  • Add JASP files as a zip:

  • Screenshot:
    image

  • Expected behaviour: R's "na.rm" should work by default.

  • Steps to reproduce:

  1. Go to 'Decriptives'
  2. Select variable (here: 'alkphos') and split by 'lab'
  3. See error
    This analysis terminated unexpectedly.

Error in quantile.default(v, probs = c(0.25, 0.75)): missing values and NaN's not allowed if 'na.rm' is FALSE

Stack trace
analysis(jaspResults = jaspResults, dataset = dataset, options = options, state = oldState)
.descriptivesSplitPlot(dataset = dataset, options = options, variable = var)
quantile(v, probs = c(0.25, 0.75))
quantile.default(v, probs = c(0.25, 0.75))
stop('missing values and NaN's not allowed if 'na.rm' is FALSE')
To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports

BTW: https://jasp-stats.org/bug-reports is a dead-end url.

Cheers,

Peter

@TimKDJ
Copy link

TimKDJ commented Mar 8, 2019

Thanks for reporting the issue (and notifying us about the url!)
I fixed the problem and the fix will be available in the next JASP version.
For the time being, you'd have to remove the missing values from your grouping variable.

@TimKDJ TimKDJ closed this as completed Mar 8, 2019
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

2 participants