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

Run example but get Error "cannot coerce type 'S4' to vector of type 'double'" #60

Open
yunbokai opened this issue Apr 22, 2022 · 1 comment

Comments

@yunbokai
Copy link

Dear Author:
I run the example

set.seed(125)
out = remap(demoC,title = "REmap",subtitle = "theme:Dark")
plot(out)

But I got something wrong:
Error in as.double(y) :
cannot coerce type 'S4' to vector of type 'double'
Can you help me?
Thanks for your attention!

@01miaom
Copy link

01miaom commented Aug 26, 2022

Use Remap function to get the plot output directly can avoid this error.
Using
remapC()
instead of using
out<-remapC()
plot(out)

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