R Programming for beginners | Correlation Matrix in R using Cor package

  Рет қаралды 18,973

Softwares for Civil Engineering

Softwares for Civil Engineering

Күн бұрын

Пікірлер: 57
@muhammadkhubaib5666
@muhammadkhubaib5666 3 жыл бұрын
excellent work I tried your code and it works, eager for more videos from your side....
@demigod4504
@demigod4504 Жыл бұрын
Thanks for the video Sir. I have to use a colorRampPalette to see colors on the plot. corrplot (Time, method = "color", col = colorRampPalette(c("blue", "white", "red"))(200), type = "upper", order = "hclust", addCoef.col = "black", tl.col = "black", tl.srt = 45, diag = FALSE)
@Auni03
@Auni03 2 жыл бұрын
it was really a great help thank you so much for giving very simple and precise details.
@Tota-tj5oh
@Tota-tj5oh 2 жыл бұрын
I don’t work with my data?
@Mann-253
@Mann-253 4 ай бұрын
Hlo sir, i have query regarding the last script. What is the meaning of col (200) and on what basis i have fill this number in col and similar problem in tl.srt = 45 .. what does it mean
@rwaewae
@rwaewae 2 жыл бұрын
how can we combine summary of statistics and correlation plot in one diagram. thanx
@endrishussen5495
@endrishussen5495 Жыл бұрын
Aselamua'leyikum werahmetulah, I ahve sort of data would you help me by analysing the correlation between variables by using R software
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 Жыл бұрын
W salam, please share your data. ,m.irfanswat@gmail.com
@hope2024-g
@hope2024-g 2 жыл бұрын
Thank you Sir for your nice tutorial. How can I put asterisk (***) in the method argument instead of number please?
@doubanstella457
@doubanstella457 2 жыл бұрын
I found this error , can you help ? "Error in corrplot::corrplot(HVI_Indicators_2021, method = "number") : The matrix is not in [-1, 1]!"
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 2 жыл бұрын
Send me your code and data. I will correct it.
@waqarazeemjadoon
@waqarazeemjadoon Жыл бұрын
Thank you very much, I am a big fan of R and wanted to use it for quite long. Your this video made things very easy. However, it would be so nice of you, if you let me know how to highlight significant values in correlation and the confidence level (eg 99.99% or 95%). Secondly, do you have any video on PCA/FA and Cluster Analysis in R using water quality data?
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 Жыл бұрын
Thank you, Just update the values portion, please send me the your code, and query, i will update them for you.
@waqarazeemjadoon
@waqarazeemjadoon Жыл бұрын
@@softwaresforcivilengineeri7947 I am using the code you developed, however, I just want to add the significant values or star on in final diagram. The code is given below. > corrplot(m, method=“color”, col = col(200), type = “upper”, order= “hclust”, addCoef.col = “black”, tl.col = “black”, tl.srt = 45, diag = FALSE)
@waqarazeemjadoon
@waqarazeemjadoon Жыл бұрын
@@softwaresforcivilengineeri7947 similarly, used your code for box wicker plots and it worked well. However, can you help to show the box plots using logarithmic y axis. Because in my case some of values are too small and some other too large and box plots with small cant be seen properly. The log scale can solve this issue
@share4care604
@share4care604 3 жыл бұрын
Sir Please tell me in which condition we use Pearson, spearman,and Kendall correlation?
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 3 жыл бұрын
when you do not mention the type of correlation to R. it will take Pearson correlation by default. But if you want to draw another type of correlation, then you need to mention that type. the only difference is in the formula. if you want the detail I will share them with you.
@Darkossamael
@Darkossamael 3 жыл бұрын
When should you use Pearson, Spearman or other?
@cintiacristinadacostafreir7694
@cintiacristinadacostafreir7694 2 жыл бұрын
@@softwaresforcivilengineeri7947 Hi!! I want to draw Spearman correlation, how do i do this mention in R?
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 2 жыл бұрын
@@cintiacristinadacostafreir7694 just type spearman instead of Pearson.
@karmatempa133
@karmatempa133 3 жыл бұрын
Sir, Kindly help me solve following issue: Error in attach(correlation_matrix) : object 'correlation_matrix' not found Thanks in advance!!
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 3 жыл бұрын
correlation_matrix is basically my data name. if you have the data in excel format. just upload it to R in the same manner. and you can give it the name correlation matrix.
@karmatempa133
@karmatempa133 3 жыл бұрын
@@softwaresforcivilengineeri7947 Thank You.
@girijaprasadpatnaik2113
@girijaprasadpatnaik2113 3 жыл бұрын
Thank you for the question and answer ❣️
@karmatempa133
@karmatempa133 3 жыл бұрын
I am facing attach error. When I type attach(correlation_matrix), correlation_matrix is not listed in drop down list. Kindly help.
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 3 жыл бұрын
correlation_matrix is basically my data name. if you have the data in excel format. just upload it to R in the same manner. and you can give it the name correlation matrix.
@girijaprasadpatnaik2113
@girijaprasadpatnaik2113 3 жыл бұрын
Great help sir !
@kamalbenali1260
@kamalbenali1260 2 жыл бұрын
Could not find function corrplot?
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 2 жыл бұрын
First (install.packages"corrplot") Then library "corrplot"
@daveandrew
@daveandrew Жыл бұрын
Nice. I successfully create the circle, number, and pie. But, the last one the upper triangle; it did not work by showing : Error in col(200) : a matrix-like object is required as argument to 'col'. Kindly help
@daveandrew
@daveandrew Жыл бұрын
Can you send or copy here the comment/script for the upper triangle one please
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 Жыл бұрын
@@daveandrew Thank you for your comments, first please save the col(200) type with a unique variable e.g "colour=col(200) and then run the above code. Also install the concerned packages used for colors.
@daveandrew
@daveandrew Жыл бұрын
@@softwaresforcivilengineeri7947 thank you. Do you have a video to create circular plot in R?
@dr.mohdaamir6688
@dr.mohdaamir6688 2 жыл бұрын
Can u please make a videos on Gene expression Analysis using R packages from base to advance ??
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 2 жыл бұрын
I will make such type of video in couple of days. thank you
@amirrezafotovvat3051
@amirrezafotovvat3051 2 жыл бұрын
Hello. Thanks for your great video. When I tried the code for upper matrix type, I got this error: Error in col(200) : a matrix-like object is required as argument to 'col' Would you please help me figure out the reason?
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 2 жыл бұрын
col(200) needed another package to install. just remove this col(200). or install package for colors in R.
@girijaprasadpatnaik2113
@girijaprasadpatnaik2113 2 жыл бұрын
Kindly tell how to install package for colors in R
@girijaprasadpatnaik2113
@girijaprasadpatnaik2113 2 жыл бұрын
Even after deleting Col(200) some error is showing kindly help to get through it
@souravdebnath8551
@souravdebnath8551 3 жыл бұрын
Nice one thanks
@geovenkat
@geovenkat 11 ай бұрын
nice video very useful but i got this following error how to solve corrplot(m,method = "color",col(200),type = "upper", order = "hclust", addCoef.col = "black", tl.col = "black", tl.srt = 45, diag = FALSE) Error in col(200) : a matrix-like object is required as argument to 'col'
@aarizahmed4514
@aarizahmed4514 3 жыл бұрын
Please share video on lag1 auto-corellation
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 3 жыл бұрын
Yes.. I will share one video.
@bolormaatsedenish6123
@bolormaatsedenish6123 9 ай бұрын
thank you
@andreifrancojimenez7714
@andreifrancojimenez7714 2 жыл бұрын
Thanks!
@dr.muhammadnaveed4136
@dr.muhammadnaveed4136 3 жыл бұрын
Good
@jasminstariolo1514
@jasminstariolo1514 2 жыл бұрын
Sir, first of all I'd like to thank you for this correlation matrix video. It has been really usefull. Please help me with the following error: > cor(dados, method = "spearman") #"dados" is my data name Error in cor(dados, method = "spearman") : 'x' must be numeric
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 2 жыл бұрын
Please arrange your data. i think your data have some non numeric values. All the rows and columns of the data must be numeric. if then you face the problem please share your data.
@sudhirKumar-ru3tu
@sudhirKumar-ru3tu 3 жыл бұрын
Please share the R code... such demo are of no use if you really teach
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 3 жыл бұрын
Dear if you see the video, the R code is there.. But if you want the same code.. From now i will share the code also
@rajendraa
@rajendraa 3 жыл бұрын
@@softwaresforcivilengineeri7947 we are seeing your video and keeping seeing
@gishue975
@gishue975 3 жыл бұрын
Sir, I have Error in col = col(200), please help me?
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 3 жыл бұрын
I know this causes some time an error..just erase this one..col=col(200) .and run the remaining code
@softwaresforcivilengineeri7947
@softwaresforcivilengineeri7947 3 жыл бұрын
If not run then tell me..I will correct it
@gishue975
@gishue975 3 жыл бұрын
@@softwaresforcivilengineeri7947 erase is Ok, bro. But the chart is not good
Visualize correlation matrix (Spearman) using correlogram in R
18:29
Wakjira Tesfahun
Рет қаралды 4,8 М.
Correlation Matrix in R
27:31
David Caughlin
Рет қаралды 18 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How To Create A Correlation Matrix In Excel (With Colors!)
7:33
Steven Bradburn
Рет қаралды 256 М.
Learning R in RStudio: corrplot
9:00
R at Colby
Рет қаралды 49 М.
This free Chinese AI just crushed OpenAI's $200 o1 model...
4:41
Fireship
Рет қаралды 1,2 МЛН
I attended Trump’s inauguration yesterday. Here are my thoughts.
7:01
Senator Bernie Sanders
Рет қаралды 3,5 МЛН
R Programming for beginners | Data Normalization in R and Excel
16:29
Softwares for Civil Engineering
Рет қаралды 254
Data Visualization in R: Plotting Time-Series Data in ggplot2
11:10
Quick Codes with Daniel
Рет қаралды 27 М.