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 17 views

## 1 answer to this question.

 Your name to display (optional): Email me at this address if my answer is selected or commented on: Privacy: Your email address will only be used for sending these notifications.

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))))
answered Feb 19 by
• 8,280 points

## Commands used to store R objects in a file

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

## What are the rules to define a variable name in R programming language?

A variable name in R programming language ...READ MORE

## Why should I adopt R programming

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

## Error: could not find function - R Programming

This error usually occurs when a package ...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