blandr module development
Re: blandr module development
hmm, not finding it ...
send again?
send again?
-
- Posts: 21
- Joined: Mon Jan 29, 2018 4:30 am
Re: blandr module development
Sent again. If you're not getting it will try from another address.
Everything should be finalised to the CRAN version 0.5.0 codebase - https://CRAN.R-project.org/package=blandr
Everything should be finalised to the CRAN version 0.5.0 codebase - https://CRAN.R-project.org/package=blandr
Re: blandr module development
yeah, i'm really not getting it.
and i never don't get emails (although some have suggested there's some 'selection bias' in this assessment )
jonathon
and i never don't get emails (although some have suggested there's some 'selection bias' in this assessment )
jonathon
-
- Posts: 21
- Joined: Mon Jan 29, 2018 4:30 am
Re: blandr module development
Have tried again
-
- Posts: 21
- Joined: Mon Jan 29, 2018 4:30 am
Re: blandr module development
As an aside a bit of advice on CRAN submission would be great with regards to the Jamovi imports. So I've got m y package accepted into CRAN. However there are some errors with the webcheck: https://cran.r-project.org/web/checks/c ... landr.html
The area that I wanted to get a bit of advice from was this:
"Result: NOTE
Namespaces in Imports field not imported from:
‘R6’ ‘jmvcore’ ‘knitr’
All declared Imports should be used. "
How did you get around this issue previously, or did you put these in the suggest field?
The area that I wanted to get a bit of advice from was this:
"Result: NOTE
Namespaces in Imports field not imported from:
‘R6’ ‘jmvcore’ ‘knitr’
All declared Imports should be used. "
How did you get around this issue previously, or did you put these in the suggest field?
Re: blandr module development
you can ignore that. it seems to get through without the CRANs getting upset.
jonathon
jonathon
Re: blandr module development
a bit more background, we deliberately don't put imports in the NAMESPACE.
if you do, the package loads *all* the dependencies when it's first used, leading to a long delay when first used, and lots of RAM usage. this won't be a big issue for blandr because it only has few dependencies, so you can put some entries for these packages in the NAMESPACE if you like.
but for jmv, we have *dozens* of dependencies, and this is a total killer.
if you leave them out of the NAMESPACE and refer to them with the packageName::foo(), then they are only loaded on demand. this is way better.
jonathon
if you do, the package loads *all* the dependencies when it's first used, leading to a long delay when first used, and lots of RAM usage. this won't be a big issue for blandr because it only has few dependencies, so you can put some entries for these packages in the NAMESPACE if you like.
but for jmv, we have *dozens* of dependencies, and this is a total killer.
if you leave them out of the NAMESPACE and refer to them with the packageName::foo(), then they are only loaded on demand. this is way better.
jonathon
Re: blandr module development
Thank you for creating an elegant package for Bland-Altman testing! I used it within JAMOVI and have a question about the plot's Y axis "Difference" the GUI / R package generate. Is it following the default setting for "difference" that's being plotted? Is it possible to adjust it for the alternative argument that the R package blandr.draw provides via "y.plot.mode" (proportional difference).
The broader question is: Can the optional switches in blandr.draw be used from within JAMOVI?
Thank you!
Martin
The broader question is: Can the optional switches in blandr.draw be used from within JAMOVI?
Thank you!
Martin
Re: blandr module development
Hi, @mfrasch.
The blandr module for jamovi, uses the function jamoviBAanalysis, which at the moment, lacks some options, present instead in blandr.draw.
The option (y.plot.mode = 'proportion') is one of the missing ones and by default is (y.plot.mode = 'difference').
If you have installed the Rj module you can try this simple code with its editor
and get an answer to your question, as you can see in the attached screenshot.
I think and I hope that @depankardatta, as soon as he has some time, will come back to work on this excellent and very interesting module.
Cheers
Maurizio
-------
Note:
Forgive me, my English is poor, but reading what I write can have the advantage of helping to solve possible problems of constipation.
The blandr module for jamovi, uses the function jamoviBAanalysis, which at the moment, lacks some options, present instead in blandr.draw.
The option (y.plot.mode = 'proportion') is one of the missing ones and by default is (y.plot.mode = 'difference').
If you have installed the Rj module you can try this simple code with its editor
Code: Select all
library(blandr)
library(ggplot2)
jamoviBAanalysis(data,
method1 = 'MiniWrightFirst',
method2 = 'MiniWrightSecond',
overlapping = FALSE)
blandr.draw(data,
method1 = data$MiniWrightFirst,
method2 = data$MiniWrightSecond,
overlapping = FALSE,
y.plot.mode = 'proportion')
I think and I hope that @depankardatta, as soon as he has some time, will come back to work on this excellent and very interesting module.
Cheers
Maurizio
-------
Note:
Forgive me, my English is poor, but reading what I write can have the advantage of helping to solve possible problems of constipation.
-
- Posts: 21
- Joined: Mon Jan 29, 2018 4:30 am
Re: blandr module development
Hi to both @mfrasch and @MAgojam
I'd be a bit cautious with using the proportion mode at the moment. It is slightly broken. However I am planning to update it within the next version of blandr, which hopefully I can wrap up finishing in the next week or so. After this has been done I'll update the jamovi module.
In essence the Jamovi module was just made to be a simple interface to the blandr library. I've just not got round to working on it for some time. I will let you know once things are updated.
I'd be a bit cautious with using the proportion mode at the moment. It is slightly broken. However I am planning to update it within the next version of blandr, which hopefully I can wrap up finishing in the next week or so. After this has been done I'll update the jamovi module.
In essence the Jamovi module was just made to be a simple interface to the blandr library. I've just not got round to working on it for some time. I will let you know once things are updated.