search for: abbrvs

Displaying 2 results from an estimated 2 matches for "abbrvs".

Did you mean: abbrevs
2011 Oct 16
3
Which function to use: grep, replace, substr etc.?
Hello, I have a simple question but I don't know which method is best to use for my problem. I have the following strings: str1 <- "My_name_is_peter" str2 <- "what_is_your_surname_peter" I would like to apply predefined abbreviations for peter=p and name=n to both strings so that the new strings look like the followings: str1: "My_n_is_p" str2:
2003 Jul 30
0
Sweave
Many of you are using Sweave for making statistical reports. I thought it might be helpful to some to see an example of the setup I use (in Linux). For those of you who have not yet discovered the power and productivity gains from using Fritz Leisch's wonderful package, I encourage you to give Sweave a try. %File: model.nw %Usage: % Put library(Hmisc;Design;tools} in .First % Sweave model