Read More

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

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

[R] TimeDependentROC curve

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

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

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

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

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