[R] Prime or dash in plotmath().

Rolf Turner rolf at math.unb.ca
Sun May 11 17:04:28 CEST 2003


I've had to struggle a bit to get the prime/dash derivative notation
into a plotmath expression.  The use of

		expression(K'(t))

gives me a syntax error.  The best I've been able to come up with is

		expression(paste(K,"'",(t),sep=""))

Is this the ``accepted'' procedure, or is there a more direct route?

				cheers,

					Rolf Turner
					rolf at math.unb.ca




More information about the R-help mailing list