I wasn't sure about the subject so I am sorry about the vagueness, but if I
have a vector of values, how do I get a certain type of vectors to be bold
or italics?

 

So let x be a vector from -10 to 10, how would I tell it to bold the x
values that are greater than 0? Or like absolute value of 5? Is it possible
to do this in like an if else statement? Could I use 

 

x<-seq(-10,10,1)

x.bold<-expression(paste(bold(x))) 

 

thanks all!

 

-------------------------------------------

Joe King, M.A.

Ph.D. Student 

University of Washington - Seattle

206-913-2912  

 <mailto:j...@joepking.com> j...@joepking.com

-------------------------------------------

"Never throughout history has a man who lived a life of ease left a name
worth remembering." --Theodore Roosevelt

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to