Read More

[R] Jupyter๋ฅผ ์ด์šฉํ•œ R ํ†ต๊ณ„ ์„ธํŒ… (2022.10 ๊ธฐ์ค€)

๊ฑฐ์˜ 1๋…„๊ฐ„ ๋…ผ๋ฌธ์„ ์ œ๋Œ€๋กœ ์“ฐ์ง€ ์•Š๋‹ค๊ฐ€ ๋‹ค์‹œ ์†๋Œ€๋ณด๋ ค๊ณ  ํ•˜๋ฉด์„œ ์—…๋ฐ์ดํŠธ.   Anaconda3 ์„ค์น˜ ์‹œ์— ์ „์ฒด์‚ฌ์šฉ์ž์šฉ์ด ์•„๋‹Œ Just for…
Read More

[R] Table <> Key value pair, ํ…Œ์ด๋ธ” ๋ณ€ํ™˜

์˜ํ•™ ๋ฐ์ดํ„ฐ๋Š” ๋Œ€๋ถ€๋ถ„ ์—‘์…€ ํŒŒ์ผ๋กœ ํ…Œ์ด๋ธ” ํ˜•ํƒœ๋กœ ๊ตฌ์„ฑ๋ฉ๋‹ˆ๋‹ค.ย ๊ทธ๋Ÿฌ๋‚˜ ๋•Œ์— ๋”ฐ๋ผ์„œ๋Š” Row – Column์œผ๋กœ ๊ตฌ์„ฑ๋œ ํ˜•์‹์„ Key – Value…
Read More

[R] TimeDependentROC curve

์ตœ๊ทผ ๋ณ‘์› ํƒ€๊ณผ ์„ ์ƒ๋‹˜๊ป˜์„œ ์š”์ฒญํ•˜์…”์„œ ์ •๋ฆฌํ–ˆ๋˜ ๋‚ด์šฉ์„ ์—…๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. ๋‹น์—ฐํžˆ ์˜ˆ์ œ๋กœ ์“ฐ์ธ ์—‘์…€ํŒŒ์ผ์˜ ๊ฐ’์€ ๊ฐ€์ƒ์˜ ๊ฐ’์ž…๋‹ˆ๋‹ค. ipynb ํŒŒ์ผ [๋งํฌ]…
Read More

[R] R์„ ์ด์šฉํ•œ ์—‘์…€ ํ†ต๊ณ„ (2020.03 update) [ํ๊ธฐ]

์•„๋ž˜ ๋‚ด์šฉ์€ outdated๋œ ์‚ฌํ•ญ์œผ๋กœ ์•„๋ž˜ ๋‚ด์šฉ์ด ์ตœ์‹ ์ž…๋‹ˆ๋‹ค. Jupyter๋ฅผ ์ด์šฉํ•œ R ํ†ต๊ณ„ ์„ธํŒ… (2022.10 ๊ธฐ์ค€)   Anaconda ํ™˜๊ฒฝ ์ถ”๊ฐ€…
Read More

[R] anaconda๋ฅผ ์ด์šฉํ•œ R package ์„ค์น˜

Jupyter notebook์„ ์ด์šฉํ•ด์„œ R์„ ์‚ฌ์šฉํ•  ๋•Œ package ์„ค์น˜๊ฐ€ ์šด์˜์ฒด์ œ๋ณ„๋กœ ๋‹ค๋ฅด๊ฒŒ ์ง„ํ–‰๋  ์ˆ˜ ์žˆ๋Š” ๊ฒƒ ๊ฐ™๋‹ค. ์œˆ๋„์šฐ์—์„œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด…
Read More

[R] ๊ฐ„๋‹จํ•œ ํ†ต๊ณ„ ๊ณผ์ • ๋ชฉ๋ก (์—‘์…€ xlsx ๋ถˆ๋Ÿฌ์˜ค๊ธฐ ๋ถ€ํ„ฐ)

๊ฐ„๋‹จํ•œ ์—ฐ๊ตฌ๋ฅผ ํ•˜๊ธฐ ์œ„ํ•ด ์ง„ํ–‰ํ–ˆ๋˜ flow ์ •๋ฆฌ #1: 1๋ฒˆ ์œ„ํฌ์‹œํŠธ๋ฅผ ๋ถˆ๋Ÿฌ์˜ด #2: 1,2,3์œผ๋กœ ์ ํ˜€์žˆ๋Š” ๋ฐ์ดํ„ฐ์— ๊ฐ๊ฐ์˜ label ๋ถ€์—ฌ…
Read More

[R] DataFrame factor๋งŒ๋“ค๊ธฐ, One-way ANOVA์™€ ๊ฒฐ๊ณผ ๊ทธ๋ž˜ํ”„(geom_boxplot) ๊ทธ๋ฆฌ๊ธฐ

R์„ ์“ฐ๋ฉด์„œ ์ค‘์š”ํ•œ ๊ฒƒ ์ค‘ ํ•˜๋‚˜๋Š” ‘~’ ์— ๋Œ€ํ•œ ์ดํ•ด๋‹ค. A ~ B ๋ผ๋Š” ๊ฒƒ์€, (๋‚ด๊ฐ€ ์ดํ•ดํ•˜๊ธฐ๋กœ) B๋ผ๋Š”…