What is the command for writing the below, as the legend at top left of a graph :

(\mu_1,\mu_2)=(8,7) where 8 and 7 come from the value of the variables mu1 and mu2, assigned in the program.
Feb 19 29 views

For this purpose, make use of the bquote to write the expression:

mu1 <- 7
mu2 <- 8
plot(1,1)
legend("topleft", legend=bquote((mu[1]*","*mu[2])==(.(mu1)*","*.(mu2))))
• 8,280 points

Commands used to store R objects in a file

Use the command  save (x, file=”x.Rdata”) READ MORE

Why should I adopt R programming

R Programming is the best mechanism for ...READ MORE

Error: could not find function - R Programming

Yes, Just like @Maverik said, It happens ...READ MORE

+1 vote

How to segment documents into phrases in text mining using R?

You can do this in R using ...READ MORE

R programming logic

Use gsub to match the substring that we want ...READ MORE

Is there way for achieving continuous integration with R?

You can use svunit for this purpose. ...READ MORE

Predict weight when height is given using linear regression in R

You can try something like this: # The ...READ MORE