[R] How to split a overflow slide content to slides automatically using revealjs in rmarkdown?

2023-02-08 Thread vod vos via R-help
Hi, How to split a overflow slide content to slides automatically using revealjs or other html representation creator in rmarkdown, the effects like beamer "allow frame breaker" option with subsection number added? And the main section number (slide title) will not be increased? Thanks.

[R] How to split a overflow slide content to slides automatically using revealjs in rmarkdown?

2023-02-08 Thread vod vos via R-help
How to split a overflow slide content to slides automatically using revealjs or other html representation creator in rmarkdown, the effects like beamer "allow frame breaker" option with subsection number added? And the main section number (slide title) will not be increased? Thanks.

[R] how to get a numeric vector?

2020-10-04 Thread vod vos via R-help
Hi, a <- c(1, 4) b <- c(5, 8) a:b [1] 1 2 3 4 5 Warning messages: 1: In a:b : numerical expression has 2 elements: only the first used 2: In a:b : numerical expression has 2 elements: only the first used how to get: c(1:5, 4:8) Thanks. __

[R] 回复:How to find the best fit of inner cut ellipse to points in polar plot?

2019-12-03 Thread vod vos via R-help
在 星期二, 03 十二月 2019 04:09:12 -0800 vod vos 撰写 > hi, > > 1. How to find the best fit of inner cut ellipse to points in polar plot? > > 2. How can we find the ellipse passing through most of the points in polar > plot? > > And can we get the center x, center y, major

[R] How to find the best fit of inner cut ellipse to points in polar plot?

2019-12-03 Thread vod vos via R-help
hi, 1. How to find the best fit of inner cut ellipse to points in polar plot? 2. How can we find the ellipse passing through most of the points in polar plot? And can we get the center x, center y, major radius, minor radius, and rotation angle of the ellipse? The csv data is attached.

[R] Can nested data frame be used in machine learning?

2019-10-13 Thread vod vos via R-help
Hello, If we got a data frame like below, how to use "data" to predict type, if "data" is another data frame (called nested data frame): by_subject #> # A tibble: 1000 x 3 #> subjecttype data #> #> 1 subject1 aa

[R] How to map points to a fixed points position, then draw contours to the mapped points?

2019-10-08 Thread vod vos via R-help
Hello, How to map points to a fixed points position, then draw contours to the mapped points? A data frame like this: r <- rep(seq(0,3.8,0.2), 256) PI257 <- seq(0,360,360/256) PI256 <- PI257[-257] PI25631 <- rep(PI256, 20) El <- rnorm(5120, mean = 42, sd = 4) xyz <- data.frame(r, PI25631,

Re: [R] how to read this kind of csv in R?

2019-10-06 Thread vod vos via R-help
9 7:29 a.m., vod vos via R-help wrote: > > I got hundreds of csv files. The real formats in each csv file are as > > follows: > > > > aa(cm) > > 1, 2 , 3, > > > > bb(mm) > > 1, 2, 3, > > 4, 5, 6, > > 7, 8, 9, > > >

[R] how to read this kind of csv in R?

2019-10-06 Thread vod vos via R-help
I got hundreds of csv files. The real formats in each csv file are as follows: aa(cm) 1, 2 , 3, bb(mm) 1, 2, 3, 4, 5, 6, 7, 8, 9, cc(mm) 3, 4, 5, 7, 5, 9, 6, 5, 8, How can I use read.table or read.csv to convert the csv files to a tidy data frame format as follow: aa, bb, cc 1, 1, 3 1, 2, 4