반응형
반응형
본문 바로가기

공부679

Technical Support Fundamentals #02 (Week 1) Technical Support Fundamentals #02 (Week 1) Welcome to Technical Support Fundamentals, the first course of the IT Support Professional Certificate! By enrolling in this course, you are taking the first step to kickstarting your career in tech. In the first week of the course, we'll learn about how computers were invented, how they've evolved over time, and how they work today. We will also learn.. 2021. 1. 24.
Google IT Support Professional Certificate #01 Technical Support Fundamentals Google IT Support Professional Certificate #01 Google IT Support Professional Certificate 6개월 안으로 취득하는 것을 목표로 설정했다. Google IT Support Professional Certificate은 총 5개의 코스로 구성되어 있다. Course : Technical Support Fundamentals Course : The Bits and Bytes of Computer Networking Course : Operating Systems and You: Becoming a Power User Course : System Administration and IT I.. 2021. 1. 24.
R기초; R 기초 - ggplot2 그래픽6 - 그래프 배치 및 저장 R기초; R 기초 - ggplot2 그래픽6 - 그래프 배치 및 저장 library(ggplot2) libray(car) str(Salaries) ggplot(Salaries, aes(x=rank)) + geom_bar(fill="steelblue") ggplot(Salaries, aes(x=salary)) + geom_histogram(fill="maroon") ggplot(Salaries, aes(x=yrs.since.phd, y=salary)) + geom_point(color="orange") ggplot(Salaries, aes(x=rank, y=salary)) + geom_boxplot(fill="mistyrose") install.packages("gridExtra") library(grid.. 2021. 1. 24.
R기초; R 기초 - ggplot2 그래픽5 - 테마 R기초; R 기초 - ggplot2 그래픽5 - 테마 library(ggplot2) library(car) str(Salaries) ggplot(Salaries, aes(x=yrs.since.phd, y=salary, color=rank, shape=rank)) + geom_point() + facet_grid(. ~ sex) + theme_gray() ?theme_gray theme() ggplot(Salaries, aes(x=rank, y=salary, fill=sex)) + geom_boxplot() + labs(title="Salary by Rank and Sex", x="Rank", y="Salary") + theme(plot.title=element_text(face="bold.italic",.. 2021. 1. 24.
R 기초 - ggplot2 그래픽4 - 그래프 옵션 R 기초 - ggplot2 그래픽4 - 그래프 옵션 library(ggplot2) library(car) str(Salaries) ggplot(Salaries, aes(x=rank, y=salary, fill=sex)) + geom_boxplot() + scale_x_discrete(breaks=c("AsstProf", "AssocProf", "Prof"), labels=c("Assistant Professor", "Associate Professor", "Professor")) + scale_y_continuous(breaks=c(50000, 100000, 150000, 200000), labels=c("$50k", "$100k", "$150k", "$200k") scale_x_discrete() sc.. 2021. 1. 24.
R 기초 - ggplot2 그래픽3 - 집단별 그래프 R 기초 - ggplot2 그래픽3 - 집단별 그래프 library(ggplot2) library(car) str(Salaries) # 투명도 50% 분포도 ggplot(Salaries, aes(x=salary)) + geom_density(alpha=0.5) # 산점도 ggplot(Salaries, aes(x=yrs.since.phd, y=salary, color=rank, shape=sex)) + geom_point() # 막대그래프 ggplot(Salaries, aes(x=rank, fill=sex)) + geom_bar(position="stack") ggplot(Salaries, aes(x=rank, fill=sex)) + geom_bar(position="dodge") ggplot(Salari.. 2021. 1. 24.
R 기초; ggplot2 그래픽2 - geom 함수 옵션 R 기초; ggplot2 그래픽2 - geom 함수 옵션 library(ggplot2) head(mtcars) ggplot(data=mtcars, aes(x=wt, y=mpg)) + geom_point() + geom_smooth() + labs(title="Fuel consumption vs weight", x="Weight (1000 lbs)", y="Fuel consumption (miles per gallon)") ?geom_point ?par ?colors() ?geom_smooth ?geom_text( library(car) str(Salaries) ggplot(Salaries, aes(x=rank, y=salary)) + geom_boxplot(fill="salmon", color="dimg.. 2021. 1. 24.
R 기초; ggplot2 그래픽1 - 구조와 그래프 생성 R 기초; ggplot2 그래픽1 - 구조와 그래프 생성 R의 그래픽 시스템과 ggplot2 - 베이스 그래픽 시스템 (base graphics system) vs. 그리드 그래픽 시슽메 (grid graphics system) - ggplot2 패키지 : 저수준의 그리드 그래픽 시스템을 기반으로 다양한 고수준 그래픽 구현 : 'gg'는 'grammar of graphics'를 의미 : 그래프 문법 구조를 바탕으로 통일된 규칙에 따라 일관된 방식으로 그래프를 생성 install.packages("ggplot2") library(ggplot2) ggplot(data=mtcars, aes(x=wt, y=mpg)) + geom_point() + labs(title="Fuel consumption vs. Wei.. 2021. 1. 24.
R 기초 - 그래픽 - 그래프 요소 추가 R 기초 - 그래픽 - 그래프 요소 추가 # 제목과 축 ?title ?par ?axis str(state.x77) states 2021. 1. 24.

반응형