Re: [R] Need to insert various rows of data from a data frame after particular rows from another dataframe

2022-07-26 Thread PIKAL Petr
Hi. >From what you say, plain "rbind" could be used, if the columns in both sets are the same and in the same order. After that you can reorder the resulting data frame as you wish by "order". AFAIK for most functions row order in data frame does not matter. Cheers Petr > -Original Message--

Re: [R] Need to insert various rows of data from a data frame after particular rows from another dataframe

2022-07-26 Thread CALUM POLWART
Not very clear what you are trying to do. But I'd have thought possibly dplyr left_join might be a solution for you. The base R equivalent is merge(). It might be a rbind or cbind can do it too. On Wed, 27 Jul 2022, 03:30 Ranjeet Kumar Jha, wrote: > Hello Everyone, > > I have dataset in a part

[R] Request concerning use in book

2022-07-26 Thread karl.fuchs
Dear colleagues! We plan to introduce the software R in chapter "subject-specific software in mathematics" in our book "TEACHING/LEARNING MEDIUM COMPUTER". As we will use screenshots and Plots generated by R we ask if there will be any fees for using this elements in our book. Yours Dr