Coder Social home page Coder Social logo

Comments (11)

jinseob2kim avatar jinseob2kim commented on August 26, 2024

Hello. please share the code or screenshot?

from jsmodule.

pipi815 avatar pipi815 commented on August 26, 2024
image > jsBasicGadget(xinzang)

Listening on http://127.0.0.1:7571

from jsmodule.

jinseob2kim avatar jinseob2kim commented on August 26, 2024

Is "xinzang" data.frame?

from jsmodule.

pipi815 avatar pipi815 commented on August 26, 2024

Yes and I've specified all the variables in the data frame, so it doesn't happen all the time but it happens sometimes

from jsmodule.

jinseob2kim avatar jinseob2kim commented on August 26, 2024

can you show str(xinzang) or summary(xinzang) ? I want to check the data

from jsmodule.

pipi815 avatar pipi815 commented on August 26, 2024

Yes, of course. Please wait a minute. I used the same data box to load it successfully once this morning, but it has not been loaded again for some reason. It turns out that it will often load sometimes it can load sometimes it can't load I don't know why.

from jsmodule.

pipi815 avatar pipi815 commented on August 26, 2024

str(xinzang)
tibble [319,795 × 17] (S3: tbl_df/tbl/data.frame)
$ xinzang : Factor w/ 2 levels "是","否": 1 1 1 1 1 2 1 1 1 1 ...
$ BMI : num [1:319795] 16.6 20.3 26.6 24.2 23.7 ...
$ xiyan : Factor w/ 2 levels "是","否": 2 1 2 1 1 2 1 2 1 1 ...
$ yinjiu : Factor w/ 2 levels "是","否": 1 1 1 1 1 1 1 1 1 1 ...
$ zhongfeng : Factor w/ 2 levels "是","否": 1 2 1 1 1 1 1 1 1 1 ...
$ shenti : num [1:319795] 3 0 20 0 28 6 15 5 0 0 ...
$ xinli : num [1:319795] 30 0 30 0 0 0 0 0 0 0 ...
$ buxing : Factor w/ 2 levels "是","否": 1 1 1 1 2 2 1 2 1 2 ...
$ xingbie : Factor w/ 2 levels "女","男": 1 1 2 1 1 1 1 1 1 2 ...
$ nianling : Factor w/ 13 levels "18-24","25-29",..: 8 13 10 12 5 12 11 13 13 10 ...
$ renzhong : Factor w/ 6 levels "印第安人","亚洲人",..: 6 6 6 6 6 3 6 6 6 6 ...
$ tangniaobing: Factor w/ 2 levels "是","否": 2 1 2 1 1 1 1 2 1 1 ...
$ huodong : Factor w/ 2 levels "是","否": NA NA NA NA NA NA NA NA NA NA ...
$ shuimian : num [1:319795] 5 7 8 6 8 12 4 9 5 10 ...
$ xiaochuan : Factor w/ 2 levels "是","否": 2 1 2 1 1 1 2 2 1 1 ...
$ shenzang : Factor w/ 2 levels "是","否": 1 1 1 1 1 1 1 1 2 1 ...
$ pifu : Factor w/ 2 levels "是","否": 2 1 1 2 1 1 2 1 1 1 ...
summary(xinzang)
xinzang BMI xiyan yinjiu zhongfeng shenti xinli buxing
是:292422 Min. :12.02 是:187887 是:298018 是:307726 Min. : 0.000 Min. : 0.000 是:275385
否: 27373 1st Qu.:24.03 否:131908 否: 21777 否: 12069 1st Qu.: 0.000 1st Qu.: 0.000 否: 44410
Median :27.34 Median : 0.000 Median : 0.000
Mean :28.33 Mean : 3.372 Mean : 3.898
3rd Qu.:31.42 3rd Qu.: 2.000 3rd Qu.: 3.000
Max. :94.85 Max. :30.000 Max. :30.000

xingbie nianling renzhong tangniaobing huodong shuimian xiaochuan shenzang
女:167805 65-69 : 34151 印第安人: 5202 是:276434 是 : 0 Min. : 1.000 是:276923 是:308016
男:151990 60-64 : 33686 亚洲人 : 8068 否: 43361 否 : 0 1st Qu.: 6.000 否: 42872 否: 11779
70-74 : 31065 黑人 : 22939 NA's:319795 Median : 7.000
55-59 : 29757 西班牙裔: 27446 Mean : 7.097
50-54 : 25382 其他人种: 10928 3rd Qu.: 8.000
≥80 : 24153 白人 :245212 Max. :24.000
(Other):141601
pifu
是:289976
否: 29819

from jsmodule.

jinseob2kim avatar jinseob2kim commented on August 26, 2024

Thanks. We're not sure why yet, but we'll keep checking and let you know. Thanks for letting us know!

from jsmodule.

pipi815 avatar pipi815 commented on August 26, 2024

Thanks for your reply. Is there any other way I can use this feature that I'm anxious to use right now

from jsmodule.

jinseob2kim avatar jinseob2kim commented on August 26, 2024

You can run jsBasicExtAddin() and upload your data file.

from jsmodule.

pipi815 avatar pipi815 commented on August 26, 2024

Yes, I have also used this method, but I still reported an error and successfully ran it once in the morning, and then I couldn't run it again. Besides, I have cleared all the use environment and restarted the computer, which didn't get a good effect. Besides, there is no way to define the factor variables. Thank you very much.

jsBasicExtAddin(xinzang)

Listening on http://127.0.0.1:7571
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning: The select input "datafile-factor_vname" contains a large number of options; consider using server-side selectize for massively improved performance. See the Details section of the ?selectizeInput help topic.
File 心脏病数据.csv was uploaded
image
image

from jsmodule.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.