Basic Graph Romar Wallen For my module 8 visualization I chose the Dow Jones stock market file since I have very little knowledge of it and I'd like to see what the value are and how the values are affected by time. I used this command, DJFranses <- DJFranses[, -1], to remove the first and additional column. This will remove a third element that can issues when running the command for the 2-D graph. running the code below creates a basic visualization of the DJFranses stock market over the 15 year period. plot (DJFranses$time, DJFranses$value, cex = 3, pch = 20, main = "Dow index time series data", xlab="Time", ylab = "Stock Value") Lattice after loading the library(lattice) into the interface I was able to pl...
A <- matrix(1:100, nrow=10) > B <- matrix(1:1000, nrow=10) > det(A) [1] 0 > det(B) Error in determinant.matrix(x, logarithm = TRUE, ...) : 'x' must be a square matrix Since the matrix has 1000 values with only 10 rows, that means there’s 100 columns. This forms a non-square matrix, which does not have a determinant. Because of this, there is no inverse for matrix B.
Package: fprojromarW Title: bmi calculator Version: 0.0.0.1 Authors@R:Romar Wallen Description: The bmi calculator will take 6 values of 1 mass and calculate average body mass index and plot a data table and graph License: `use_mit_license()` Encoding: UTF-8 Roxygen: list(markdown = TRUE) https://github.com/wallenr8/rw10-R/blob/dc89539a200e98b722cc1b55345a2d2f216442dc/mod10R
Comments
Post a Comment