Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Various matrix manipulations
#R version 3.3.2 print("Hello, world!") ligne1<-c(1,5,5,0) ligne2<-c(0,5,6,1) ligne3<-c(3,0,3,3) ligne4<-c(4,4,4,2) mat<-matrix(c(ligne1, ligne2, ligne3, ligne4), nrow=4, ncol=4, byrow=TRUE, dimnames=list(c("Ligne 1", "Ligne 2", "Ligne 3", "Ligne 4"), c("Colonne 1", "Colonne 2", "Colonne 3", "Colonne 4"))) mat vdiag<-diag(mat) vdiag v2FirstRows<-mat[1:2, ] v2FirstRows v2LastCols<-mat[ , 3:4] v2LastCols vButThirdCol<-mat[ ,-3] vButThirdCol matInverse<-solve(mat) matInverse matDeterm<-det(mat) matDeterm
run
|
edit
|
history
|
help
0
print next number
Efeito-Runge-18-03-2021
Linear and Logistic Regression
Cos R Example
R2
SampleDiscrFR.r
Call option formula for Laplace distributed outcomes
Mietflächen clustern für flächenbasierte Prognosen
Polynomial Regression with Interaction
Solver Function