Skip to main content

R - Programming project on "Rainfall Record"

R - Programming project on "Rainfall Record" 


# Source code
# RAINFALL RECORD PROJECT 
# 1.Read Data...
data <- data.frame(
  sr.no = c(1:10),
  year = c(2011:2020),
  time = c(5,10,15,20,25,30,35,40,45,50),
  mm = c(21,22,23,24,25,26,27,28,29,30),
  stringsAsFactors = FALSE)
print(data)

# Display data using head...
head(data)
#structure data
Str(data) 

# 2. Display summary of data...
summary(data)
print(head(data))

# 3.display of important col
print(ncol(data))
print(nrow(data))

# 4.create histogram...
hist(x = data$time,xlab = "time",
     col = "black",
     border = "orange",
     breaks = 5,)


# 5.create piechart and 3D pie chart...
pie(data$year,data$time,col = rainbow(length(data$sr.no)),main = "piechart")

# 3D pie chart
pie3D(data$mm,labels = data$time,explode = 0.1,main = "Rainfall record 3D pie chart")

# 6.create boxplot
boxplot(data$mm, data$time,
        xlab = "Year",
        ylab = "Time",
        main = "Rainfall Record")

# 7.Create a scatterplot...
plot(x = data$year,y = data$time,
     xlab = "year",
     ylab = "rainfall",
     xlim = c(2011,2020),
     ylim = c(5,50),
     main = "Rainfall Record"
)

# 8.create a bar chart
barplot(data$mm,data$time,
        xlab = "years",
        ylab = "time in hour",
        main = "Rainfall",
        border = "black")

# 9.Create a line graph
plot(data$year,type = "o")

Comments

Popular posts from this blog

Classification of Networks Based on Geographical Classification

               ***Classification of Networks Based on Geographical Classification***                   In this section ,we will discuss the following categories of networks.                                                                                                                 PAN ...

Types of server, all types of server file server, print server, application server, database server, message server information.

                                                                                                                    Types of Servers Hi today’s blog is on types of Servers. You can take knowledge of types of servers blog in marathi मराठी. Link https://myblogs0727.blogspot.com/2020/05/blog-post_11.html?m=1 Servers are those who connects us to the internet or links us to a good internet (net) service that we uses the connection of the service.        Server is the thing that serves the service to us i.e. end users, in other words it plays roll like servant which serves us ...

TELNET (Terminal Network)

TELNET Telnet is (Terminal Network) and it was proposed as a standard of TCP/IP protocol for a virtual terminal service. If any user want to establish a connection this TELNET helps to that user. You can also say it the advantage of TELNET. FEATURES OF TELNET:- 1) it has local or remote login, network virtual terminal and time sharing environment.   ð    REMOTE LOGIN = mainly internet and TCP (Transfer Control Protocol) have been designed to provide many services to user. If user wants to access an application program residing on remote computer. He can do it using TELNET.   ð    TIME SHARING ENVIRONMENT = 1 st this was developed or created when all the operating systems was operating on time sharing principle. And in the time sharing principle there is a large central computer which supports all the users.   ð    LOCAL LOGIN = login of user into the local time sharing system is called as “local login”. As Shown In Figure below… ...