I want to export a result from running a simple eigen() function to Latex as how it is in R.
For example
a <- c(0,1,0,0,0,0)
b <- c(1,0,1,1,0,0)
c <- c(0,1,0,0,0,1)
d <- c(0,1,0,0,1,1)
e <- c(0,0,0,1,0,1)
f <- c(0,0,1,1,1,0)
A <- data.frame(a,b,c,d,e,f)
eigen(A)
At the moment, I uploaded a screenshot onto the latex as an image but I would like to have a Latex table instead so that it's scaled and fitted better into the page.
I don't know how to show such results in Latex. If you have any suggestions, I would really appreciate them.