R markdown - knitting to html


when im try to run this code -


m_u<- c(1,2)
sd<- matrix (c(1,1,1,4), nrow= 2 , ncol=2)
x<-rmvnorm ( n, mean = m_u , sigma = sd)

it works, but when im knitting in to html it doesnt work. any help?

Can you be more specific? What do you mean by "it doesn't work"? Do you get any error messages? Also, Can you provide a rmarkdown specific example? in the code you have posted you are not defining any output so nothing would get rendered from that.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.