Data Visualization Techniques with Diamonds Dataset in R
library(tidyverse)
Visualization of Distributions
Diamonds Dataset
str(diamonds)
summary(diamonds)
ggplot(data = diamonds) + geom_bar(mapping = aes(x = cut))
diamonds %>% count(cut)
ggplot(data = diamonds) + geom_histogram(mapping = aes(x = carat), binwidth = 0.5)
diamonds %>% count(cut_width(carat, 0.5))
smaller <- diamonds %>% filter(carat < 3)
ggplot(data = smaller, mapping = aes(x = carat)) + geom_histogram(binwidth = 0.1)
ggplot(data = smaller, mapping = aes(x = carat, color = cut)) + geom_
Network Devices: Repeaters, Hubs, Routers, Switches, Bridges
Repeaters
A repeater is an electronic device that operates on the physical layer of the OSI model. An amplifier cannot differentiate between the original signal and a noise signal. Repeaters do not amplify the signal; they regenerate it. When a repeater receives a signal affected by noise, it creates a copy, bit by bit, restoring it to its original strength.
Advantages of Repeaters
- Extend the physical distance of a network.
- Do not seriously affect network performance.
Disadvantages of Repeaters
- Cannot