Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group 15 MFE R STUDIO CODE CSE 1 #20

Open
ketanthakurr opened this issue May 22, 2022 · 0 comments
Open

Group 15 MFE R STUDIO CODE CSE 1 #20

ketanthakurr opened this issue May 22, 2022 · 0 comments

Comments

@ketanthakurr
Copy link
Contributor

R codes:

T-TEST:
R CODE:

defining sample vector

x<-rnorm(100)

one sample T-Test
t.test(x, mu = 5)

codes used for analyzing the data:

df1<-read.csv("type11.csv")
df1
av=as.numeric(df1$No.of.companies)
a=rep()
for (i in av)
{
a=append(a,i)
}
m=sum(av)
m=m/length(av)
print("mean is : ")
print(m)
print(a)
hist(a,ylim = c(0,30),col = blues9)

df1<-read.csv("location11.csv")
df1
av=as.numeric(df1$No.of.companies)
a=rep()
for (i in av)
{
a=append(a,i)
}
m=sum(av)
m=m/length(av)
print("mean is : ")
print(m)
print(a)
hist(a,ylim = c(0,30),col = blues9)

code used for barplot:

library(corrplot)

corrplot 0.84 loaded

corrplot(corr=cor(disclosedfunding.df[,c(4,5,6,9)]),method="ellipse")

code used for small graph:
barplot(yeartable, xlab="Year", ylab = "No. of Startups which received funding", col="lightblue" )

@ketanthakurr ketanthakurr changed the title Group 15 MFE R STUDIO CODE Group 15 MFE R STUDIO CODE CSE 1 May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant