본문 바로가기 메뉴 바로가기

페르소나

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

페르소나

검색하기 폼
  • 분류 전체보기 (189)
    • OS (20)
      • macOS (9)
      • ubuntu (4)
      • mintOS (4)
      • Windows (3)
    • GitHub (5)
    • python (87)
      • Lecture (31)
      • Data Science (9)
      • Numpy, Pandas (6)
      • GUI (1)
      • Drawing (3)
      • Django (11)
      • django_ERP1 (11)
      • django_ERP2 (15)
    • Arduino (10)
    • Raspberry Pi (17)
      • ubuntu LTS server (3)
      • Raspberry Pi OS (8)
      • Web-Server (4)
      • Webapp_django (2)
    • R (28)
    • DIARY (21)
  • 방명록

If (1)
(macOS)[R] 반복문 : for, while | 조건문 : if/else | 사용자 정의 함수 : function()

INTRO 1. 반복문 : iterational code block 2. 조건문 : conditional code block 3. 사용자 정의 함수 : costomized function 1. 반복문 for for (i in range) { print(i) } while x = 1 while ( x= 50) over50[i] = 1 else over50[i] = 0 } print(rand_a) print(over50) cat("count for results : ",sum(over50),"\n") 출력결과 > source("~/Rcoding/test_conditional_code_block.R", echo=TRUE) > rm(list = ls()) > # setwd("/Users/[YourMacID]/R..

R 2022. 3. 28. 17:03
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Django
  • Raspberry Pi
  • 코로나19
  • COVID-19
  • Model
  • Regression
  • github
  • DAQ
  • ERP
  • pyserial
  • 확진
  • 코로나
  • Python
  • Pandas
  • Templates
  • DS18B20
  • template
  • sublime text
  • analysis
  • raspberrypi
  • MacOS
  • 라즈베리파이
  • vscode
  • 자가격리
  • git
  • CSV
  • SSH
  • server
  • r
  • arduino
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바