What are Krugerrands and What Do They Mean

M S Faisal
Updated on 11-Aug-2021 09:22:43

866 Views

Krugerrands are gold coins established by the Republic of South Africa in 1967 to aid in the advancement of South African gold on worldwide markets and to allow citizens to possess gold. They are one of the most popular and widely traded gold coins on the international market.Krugerrands were created with the sole purpose of deriving their worth from the gold price at the time they were traded. The price of Krugerrands fluctuates in tandem with the price of gold.Key Points BrieflyKrugerrands are gold coins manufactured in South Africa since 1967.In 1980, when the gold market was at its pinnacle, ... Read More

Kuala Lumpur Stock Exchange (KLSE) Analysis, Importance and Price

M S Faisal
Updated on 11-Aug-2021 09:13:58

233 Views

The old name of a Malaysian stock exchange situated in the capital of Kuala Lumpur is the Kuala Lumpur Stock Exchange (KLSE). The KLSE was founded in 1930 with the goal of facilitating the exchange of Malaysian securities. Over the years, the exchange's name has changed multiple times, but it is today known as Bursa Malaysia.The KLSE is among ASEAN's largest stock exchanges, allowing traders to trade equities, exchange-traded funds (ETFs), overseas Islamic assets, and other securities.Key Points BrieflyThe Kuala Lumpur Stock Exchange has changed its name several times, and presently known as Bursa Malaysia, is a Malaysian stock exchange.It ... Read More

Convert Correlation Matrix into Logical Matrix in R

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:52:15

296 Views

To convert a correlation matrix into a logical matrix based on correlation coefficient in R, we can follow the below steps −First of all, create a matrix.Then, find the correlation matrix.After that, convert the correlation matrix into logical matrix based on coefficient value using greater than or less than sign.Example 1Let’s create a matrix as shown below − Live DemoM1

Find Confidence Interval for Binomial Distribution in R

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:49:17

494 Views

To find confidence interval for binomial distribution in R, we can use binom.confint function of binom package. This will result in confidence intervals based on many different methods. Check out the below examples to understand how it can be done.Example 1Loading Binom package and finding 95% confidence interval for a binomial distribution with sample of size 20 in which 5 outcomes are favourable −library(binom) binom.confint(5, 20, conf.level=0.95)Output      method    x n    mean       lower     upper 1 agresti-coull 5 20 0.2500000 0.10808718 0.4724754 2 asymptotic    5 20 0.2500000 0.06022730 0.4397727 3 bayes   ... Read More

Find Mean Table of Numerical Column Based on Two Factors in R Data Frame

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:42:29

521 Views

To find the table of mean of a numerical column based on two factors in R data frame, we can follow the below steps −First of all, create a data frame with two factor and one numerical column.Then, find the table of mean of numerical column based on factor columns using tapply function.Example1Let’s create a data frame as shown below − Live DemoGroup1

Align Text Horizontally in Bar Plot using ggplot2 in R

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:33:03

564 Views

To align the text horizontally in a bar plot created by using ggplot2 in R, we can follow the below steps −First of all, create a data frame.Then, create the bar plot using ggplot2 with text displayed on each bar.After that, create the same bar plot with text aligned horizontally.Create the data frameLet’s create a data frame as shown below − Live DemoCategory

Assign a Value to a Base R Plot

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:30:24

492 Views

To assign a value to a base R plot, we can follow the below steps −First of all, create a vector and its histogram then record it with recordPlot function in an object.Then, use dev.off function to remove the plot.After that, read the plot with object name.Create the vector and histogram then save it in an objectLet’s create a vector of normal distribution and create its histogram then save it in an object called Histogram using recordPlot as shown below − Live Demox

Display Mean Line Per Group in Facetted Graph Using ggplot2 in R

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:28:53

2K+ Views

To display mean per group in facetted graph using ggplot2 in R, we can follow the below steps −First of all, create a data frame.Then, create the facetted scatterplot between two columns.After that, create the facetted scatterplot and add geom_line with mean calculated for y values.Create the data frameLet’s create a data frame as shown below − Live Demox

Create Scatterplot by Standardizing Data Frame Columns using ggplot2 in R

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:21:59

211 Views

To create scatterplot by standardizing the columns of a data frame using ggplot2 R, we can follow the below steps −First of all, create a data frame.Then, create the scatterplot using ggplot2 with raw values.After that, create the scatterplot with scale function.Create the data frameLet’s create a data frame as shown below − Live Demox

Create Scatterplot by Standardizing Data Frame Columns in Base R

Nizamuddin Siddiqui
Updated on 11-Aug-2021 08:19:02

216 Views

To create scatterplot by standardizing the columns of a data frame in base R, we can follow the below step −First of all, create a data frame.Then, create scatterplot between two columns with their default value.After that, create the scatterplot with scale function.Create the data frameLet’s create a data frame as shown below − Live Demox

Advertisements