Hi Ivan,
Thanks for your solution.
Is there any way to remove all possible "Unicode character" that may
be present in the array at once?
On Mon, Mar 3, 2025 at 12:18 PM Ivan Krylov wrote:
>
> В Mon, 3 Mar 2025 12:08:43 +0530
> Christofer Bogaso пишет:
>
> > dat2 = c("-24.43728533300", "4.8
Hi,
I have below data
dat2 = c("-24.43728533300", "4.8506950", "-1.91849566670",
"2.6418180", "6.77752766670", "3.2080840",
"4.19328766670", "0.3782577", "4.6589550",
"-9.8814740")
Now when I try to convert this data to numeric,
This is possible but a little cumbersome. Bert is on the right track with
strip.custom:
xyplot(ts(cbind(x1 = cs, x2 = cs + w)),
strip = strip.custom(factor.levels =
expression(2 * cos(2 * pi * t / 50 + 0.6 *
pi),
2 *
Full disclosure: I have never plotted time series using this xyplot method.
However, ?xyplot.ts says:
"screens
factor (or coerced to factor) whose levels specify which panel each
series is to be plotted in. screens = c(1, 2, 1) would plot series 1,
2 and 3 in panels 1, 2 and 1. May also be a nam
Is it possible to include expression in lattice panel strip?
Thanks,
Naresh
cs <- 2 * cos(2 * pi * (1:500) / 50 + 0.6 * pi)
w <- rnorm(500)
xyplot(ts(cbind(x1 = cs, x2 = cs + w)), screens = list(x1 = expression(2 *
cos(2 * pi * t / 50 + 0.6 * pi)), x2 = expression(2 * cos(2 * pi * t / 50 + 0.6
*
5 matches
Mail list logo