Displaying 7 results from an estimated 7 matches for "crp7graph".
Did you mean:
cpugraph
2017 Jul 28
3
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...beta1[i] * tempo
CRP98[i,] = CRP98raw[i,] + rnorm(5, 0, .1)
}
# plot(c(1:5), CRP7raw[1,], type = "n", xlim=c(1,5), ylim=c(-10,5) ,
# xlab="Day in ICU",
# ylab="CRP (mg/dL)",
# sub = mtext(expression(paste(lambda)))
#
# CRP7graph <- apply(CRP7, 1, lines, col="gray")
# plot(c(1:5), CRP98raw[1,], type = "n", xlim=c(1,5), ylim=c(-10,5),
# xlab="Day in ICU",
# ylab="CRP (mg/dL)")
# CRP98graph <- apply(CRP98, 1, lines, col="gray")
par(mfrow=c(1,2))
plot...
2017 Jul 31
2
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...; plot(c(1:5), CRP7raw[1,], type = "n", xlim=c(1,5), ylim=c(-10,5) ,
> xlab="Day in ICU",
> ylab="CRP (mg/dL)",
> sub = mtext(expression(lambda^2)))
OOps! Either plot( ..., sub = *)
or plot( ... ) ; mtext(*)
but not both!
> CRP7graph <- apply(CRP7, 1, lines, col="gray")
> Cheers
> Petr
> > -----Original Message-----
> > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Rosa Oliveira
> > Sent: Friday, July 28, 2017 5:07 PM
> > To: r-help mailing list <r-help at r-...
2017 Jul 31
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...ing like
plot(1,1, sub=expression(lambda^"2"))
So with your example, do you want something like
plot(c(1:5), CRP7raw[1,], type = "n", xlim=c(1,5), ylim=c(-10,5) ,
xlab="Day in ICU",
ylab="CRP (mg/dL)",
sub = mtext(expression(lambda^2)))
CRP7graph <- apply(CRP7, 1, lines, col="gray")
Cheers
Petr
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Rosa Oliveira
> Sent: Friday, July 28, 2017 5:07 PM
> To: r-help mailing list <r-help at r-project.org>; R-help at r-p...
2017 Jul 31
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...sub = *)
> or plot( ... ) ; mtext(*)
>
> but not both!
You are right, I used a code from OP and did not much think about it. Strangely enough, the code worked without any complain. Probably mtext is "stronger" than sub and overrides it.
Cheers
Petr
>
> > CRP7graph <- apply(CRP7, 1, lines, col="gray")
>
> > Cheers
> > Petr
>
>
> > > -----Original Message-----
> > > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Rosa
> > > Oliveira
> > > Sent: Friday, July 28, 2017 5:07 P...
2017 Jul 31
4
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...ic of R" .....
Not quite: mtext(..) is a valid function call that is evaluated
before plot() finishes; then it returns NULL invisibly, and
'plot(*, sub=NULL)' does nothing "coincidentally" (but for good
reasons)
Martin
> Cheers Petr
>>
>> > CRP7graph <- apply(CRP7, 1, lines, col="gray")
>>
>> > Cheers > Petr
>>
>>
>> > > -----Original Message----- > > From: R-help
>> [mailto:r-help-bounces at r-project.org] On Behalf Of Rosa >
>> > Oliv...
2017 Jul 31
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...text(..) is a valid function call that is evaluated
> before plot() finishes; then it returns NULL invisibly, and
> 'plot(*, sub=NULL)' does nothing "coincidentally" (but for good
> reasons)
>
> Martin
>
>> Cheers Petr
>
>>>
>>>> CRP7graph <- apply(CRP7, 1, lines, col="gray")
>>>
>>>> Cheers > Petr
>>>
>>>
>>>>> -----Original Message----- > > From: R-help
>>> [mailto:r-help-bounces at r-project.org] On Behalf Of Rosa >
>>>> Oliveira...
2017 Aug 01
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...overrides it.
Well, well, "the magic of R" .....
Not quite: mtext(..) is a valid function call that is evaluated
before plot() finishes; then it returns NULL invisibly, and
'plot(*, sub=NULL)' does nothing "coincidentally" (but for good
reasons)
Martin
Cheers Petr
CRP7graph <- apply(CRP7, 1, lines, col="gray")
Cheers > Petr
-----Original Message----- > > From: R-help
[mailto:r-help-bounces at r-project.org] On Behalf Of Rosa >
Oliveira > > Sent: Friday, July 28, 2017 5:07 PM > >
To: r-help mailing list <r-help at r-project.or...