Publications by ELA ILMATUL HIDAYAH

MATRIX ARITMATIC

13.04.2023

library(magick) ## Linking to ImageMagick 6.9.12.3 ## Enabled features: cairo, freetype, fftw, ghostscript, heic, lcms, pango, raw, rsvg, webp ## Disabled features: fontconfig, x11 str(magick::magick_config()) ## List of 24 ## $ version :Class 'numeric_version' hidden list of 1 ## ..$ : int [1:4] 6 9 12 3 ## $ modules ...

109 sym R (1576 sym/12 pcs) 4 img

MATRIX ARYTHMATHIC

13.04.2023

Membuat Dataset Sederhana set.seed(123) a <- rnorm(7) b <- rnorm(7) c <- rnorm(7) my_data <- data.frame(a,b,c) Menghitung Rata-Rata dan Standar Deviasi mean_my_data <- colMeans(my_data) sd_my_data <- apply(my_data, 2, sd) Menghitung Matriks Kovariansi dari Dataset cov_my_data <- cov(my_data) Invers matriks kovariansi dapat digunakan untuk mela...

373 sym 4 img

SOLVE FUNCTION

13.04.2023

contoh dari penggunaan fungsi solve(). library(ISLR) library(matlib) A <- matrix(c(1,2,1,1), nrow = 2, ncol = 2) x <- c(4,5) A ## [,1] [,2] ## [1,] 1 1 ## [2,] 2 1 x ## [1] 4 5 fungsi Solve(A,b) dapat digunakan untuk mengetahui nilai dari variable x. Solve(A,x) ## x1 = 1 ## x2 = 3 Sistem persamaan linear diatas dapa...

386 sym R (970 sym/22 pcs) 1 img

EIGEN

13.04.2023

Pertama kita memanggil library “mvtnorm”, Library “mvtnorm” di R digunakan untuk menghitung probabilitas distribusi multivariat normal. Dengan kata lain, library ini menyediakan fungsi-fungsi untuk menghasilkan nilai-nilai probabilitas, densitas, dan fungsi distribusi kumulatif dari distribusi multivariat normal. Fungsi-fungsi ini serin...

1898 sym R (502 sym/11 pcs) 1 img

INVERS

13.04.2023

Sifat-Sifat Operasi Matriks dan Invers Matriks library (matlib) X <- matrix(c(5,-1,-2,3,4,3,4,-3,1), nrow = 3, ncol = 3) plotEqn(X) ## 5*x[1] + 3*x[2] = 4 ## -x[1] + 4*x[2] = -3 ## -2*x[1] + 3*x[2] = 1 Kemudian kita balik matrix tersebut B <-inv(X) B ## [,1] [,2] [,3] ## [1,] 0.12264151 0.08490566 -0.235...

128 sym R (681 sym/9 pcs) 2 img

Persamaan Linear Algebra

08.04.2023

kita akan menggunakan fungsi plot() di R. Pertama kita akan mengekstrak informasi tentang jumlah vektor baris (angka pengamatan) dan jumlah kolom matriks “Smarket”. library(ISLR) data(Smarket) Smarket ## Year Lag1 Lag2 Lag3 Lag4 Lag5 Volume Today Direction ## 1 2001 0.381 -0.192 -2.624 -1.055 5.010 1.19130 0.959 ...

460 sym R (92700 sym/4 pcs) 2 img

elailmatulhidayah_220605110040

14.09.2022

R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks with...

598 sym 1 img

percobaanRPubs2

19.09.2022

library(mosaic) ## Registered S3 method overwritten by 'mosaic': ## method from ## fortify.SpatialPolygonsDataFrame ggplot2 ## ## The 'mosaic' package masks several functions from core packages in order to add ## additional features. The original behavior of these functions should not be affected by this. #...

15 sym R (1105 sym/11 pcs) 1 img

percobaanRPubs2

20.09.2022

library(mosaic) ## Registered S3 method overwritten by 'mosaic': ## method from ## fortify.SpatialPolygonsDataFrame ggplot2 ## ## The 'mosaic' package masks several functions from core packages in order to add ## additional features. The original behavior of these functions should not be affected by this. #...

15 sym R (1100 sym/11 pcs) 1 img

percobaanRPubs3

20.09.2022

library(mosaicCalc) ## Loading required package: mosaic ## Registered S3 method overwritten by 'mosaic': ## method from ## fortify.SpatialPolygonsDataFrame ggplot2 ## ## The 'mosaic' package masks several functions from core packages in order to add ## additional features. The original behavior of these fun...

20 sym R (1254 sym/16 pcs) 1 img