dustinfife / flexplot

flexplot: graphical data analysis
60 stars 17 forks source link

Missing values error with no missing values? #129

Open stepanjaburek opened 2 months ago

stepanjaburek commented 2 months ago

Hi Dustin,

been using flexplot for a while, and now all of a sudden it throws a missing values error whenever I try to visualize anything.

flexplot(iq~agility, data=avengers) Error in if (axis[1] != "1") non.axis.one = predictors[-1] else non.axis.one = predictors : missing value where TRUE/FALSE needed

when trying to plot your something from your avengers dataset for example (definitely no missing values) or even using your code from flexplot guides. e.g. library(flexplot) data(avengers) flexplot(iq~agility, data=avengers)

Not sure if I´m missing something, but I don´t think so. Thanks in advance, love the package.

dustinfife commented 2 months ago

What version of flexplot are you using?

On Thu, May 2, 2024 at 11:41 AM stepanjaburek @.***> wrote:

Hi Dustin,

been using flexplot for a while, and now all of a sudden it throws a missing values error whenever I try to visualize anything.

flexplot(iq~agility, data=avengers) Error in if (axis[1] != "1") non.axis.one = predictors[-1] else non.axis.one = predictors : missing value where TRUE/FALSE needed

when trying to plot your something from your avengers dataset for example (definitely no missing values) or even using your code from flexplot guides. e.g. library(flexplot) data(avengers) flexplot(iq~agility, data=avengers)

Not sure if I´m missing something, but I don´t think so. Thanks in advance, love the package.

— Reply to this email directly, view it on GitHub https://github.com/dustinfife/flexplot/issues/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWEDFEVTYVC2KSSMPK4AITZAJNBFAVCNFSM6AAAAABHD643ASVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TKOBVGIZDCNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Dustin Fife, PhD

YouTube: https://bit.ly/2sLMN2t

​Take Course with Me: http://​simplistics.net http://www.quantpsych.net/

stepanjaburek commented 2 months ago

I was probably using a bit older one when it started a couple days ago, but I tried downloading the newest version today and updating RStudio as well. Still keeps happening. Really weird, I can run the model.comparison function for example, but can´t do compare.fits - same error message

lisamij commented 6 days ago

Hi, I have the exact same problem, I've downloaded the package this month and when running the examples I have this error message:

library(flexplot) data(relationship_satisfaction) flexplot(satisfaction~communication + separated | gender + interests, data=relationship_satisfaction)

Error in if (axis[1] != "1") non.axis.one = predictors[-1] else non.axis.one = predictors : missing value where TRUE/FALSE needed

I'm working on POSIT cloud, I don't know if it has an impact

Thanks in advance for any help !