I want to add p-value for box plots for independent two groups.
But the error said,,,
> p + stat_compare_means()
Don't know how to automatically pick scale for object of type quosure/formula. Defaulting to continuous.
Don't know how to automatically pick scale for object of type quosure/formula. Defaulting to continuous.
Error in validDetails.text(x) :
'pairlist' object cannot be coerced to type 'double'
Do you know how to resolve this? Maybe box plot does not show means, but I want to show p-value based on means?
Thank you in advance!!
Share an excerpt of the dataset and the code you are using.
How is your datatable ?
I used this some weeks ago:
mean_expressed$variable
is a qualitative variable that refers to groups to compare, andmean_expressed$value
for the valuesPlease use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.Try this.
Please use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.