Re: [R] Warning object has offset 0. PDF file

2024-10-14 Thread Jean-Louis Abitbol
Thanks so much Ivan, JL On Mon, Oct 14, 2024, at 1:33 PM, Ivan Krylov wrote: > В Sun, 13 Oct 2024 12:45:36 +0200 > "Jean-Louis Abitbol" пишет: > >> WARNING: >> /Users/jla/Library/CloudStorage/Dropbox/7cordas/Caio/record/90 NEW >> RODA SONG BOOK.pdf (object 25

[R] Warning object has offset 0. PDF file

2024-10-13 Thread Jean-Louis Abitbol
Good day to all Using > library(pdftools) Using poppler version 23.04.0 I get a number of warnings such as: > pdf_subset(infile, pages = 156:157, output = outfile) WARNING: /Users/jla/Library/CloudStorage/Dropbox/7cordas/Caio/record/90 NEW RODA SONG BOOK.pdf (object 7 0): object has offset 0 W

Re: [R] Character (1a, 1b) to numeric

2020-07-11 Thread Jean-Louis Abitbol
brary(RColorBrewer); pal_1 <- brewer.pal(8, "Pastel2") > barplot(data1$value, beside=T, col=pal_1[data1$hist]) > plot(data1$hist, data1$value, col=pal_1) > pal_2 <- brewer.pal(8, "Dark2") > plot(unclass(data1$hist)/4, data1$value, pch=19, col=pal_2[data1$hist] )

Re: [R] Character (1a, 1b) to numeric

2020-07-10 Thread Jean-Louis Abitbol
t;- c(1, 1.3, 1.5, 1.7, 2, 2.3, 2.5, 2.7) > > > > > > set.seed(123) # for reproducibility > > > x <- sample(xc, 20, replace=TRUE) # "data" > > > > > > names(xn) <- xc > > > z <- xn[x] > > > > > > data.fra

[R] Character (1a, 1b) to numeric

2020-07-10 Thread Jean-Louis Abitbol
Dear All I have a character vector, representing histology stages, such as for example: xc <- c("1", "1a", "1b", "1c", "2", "2a", "2b", "2c") and this goes on to 3, 3a etc in various order for each patient. I do have of course a pre-established classification available which does change accor

[R] Parametrizing heading in tables package

2013-11-20 Thread Jean-Louis Abitbol
Dear R-Helpers, I am using the (great) tables package in a function this way: parplot <- function (x){ test <- pkqps[pkqps$estimate == x,] #some plotting # tab <- tabular((Heading("Analyte")*(analyte) * Heading(Site)* (fsite)) ~ (n=1)+ Justify(c)*Heading(substitute(test$estima

Re: [R] Rearranging long dataframe for printing in Sweave (andrecoding a factor)

2010-01-25 Thread Jean-Louis Abitbol
age, can be > > divided in two and placed one one page. If that's what you are looking for > > then this might be a solution. The only problem is that if like me you don't > > have strong LaTex skills, then you will have to do some experimenting and > > learning

Re: [R] Rearranging long dataframe for printing in Sweave (andrecoding a factor)

2010-01-24 Thread Jean-Louis Abitbol
ad the csv table in Lyx. > > Regards > Steve > > ----- Original Message - > From: "Liviu Andronic" > To: "Jean-Louis Abitbol" > Cc: "R Help" > Sent: Sunday, January 24, 2010 5:56 PM > Subject: Re: [R] Rearranging long dataframe for printing i

[R] Rearranging long dataframe for printing in Sweave (and recoding a factor)

2010-01-24 Thread Jean-Louis Abitbol
d at the beginning of this mail ! I did not find that in Hmisc latex or in xtable. Thanks to all for your help. Best wishes, JL -- Jean-Louis Abitbol abit...@sent.com Tel 33 (0)6 24 47 59 34 1 ter Rue Céline, 92160 Antony, France __ R-help@

[R] Centering R output in Sweave/LaTeX

2009-05-13 Thread Jean-Louis Abitbol
Good Day to All, When sweaving the following: \begin{table} \centering <>= ftable(ifmtm$type, ifmtm$gender, ifmtm$marche , ifmtm$nfic, dnn=c("Type","Gender","Ambulant","Visit")) @ \caption{Four-way cross-tabulation on all data} \label{tab:crosstab} \end{table} the output of ftable is not centere

Re: [R] follow-up on Error when reading a SAS transport file (with sasxport.get from Hmisc)

2008-10-10 Thread Jean-Louis Abitbol
* Erreur dans factor(x, f$value, f$label) : invalid labels; length 15 should be 1 or 14 Thanks again, JL On Thu, 09 Oct 2008 17:33:06 +0200, "Peter Dalgaard" <[EMAIL PROTECTED]> said: > Jean-Louis Abitbol wrote: > > Dear All, > > > > I get the following

[R] Error when reading a SAS transport file

2008-10-09 Thread Jean-Louis Abitbol
s graphics grDevices utils datasets methods base other attached packages: [1] SASxport_1.2.3 Hmisc_3.4-3foreign_0.8-29 RWinEdt_1.8-0 loaded via a namespace (and not attached): [1] chron_2.3-24cluster_1.11.11 grid_2.7.1 lattice_0.17-15 Jean-Louis Abitbol, MD Chief Medic

[R] Script for dose proportionality assessment using power model and confidence interval criteria

2008-09-29 Thread Jean-Louis Abitbol
compartimental PK analysis by subject on a dataframe with subject, time and concentration variates. Thanks in advance for sharing and helping me not re-invent the wheel (which might be square given my R skills). Best wishes, Jean-Louis Jean-Louis Abitbol, MD Chief Medical Officer Trophos

Re: [R] R-2.6.0 and RWinEdt

2007-10-06 Thread Jean-Louis Abitbol
Dear Listers, I have the same problem on vista home premium. > library(RWinEdt) Does not launch R-Winedt > startWinEdt(.gW$InstallRoot, .gW$ApplData) Does nor either launch > sessionInfo() R version 2.6.0 Patched (2007-10-03 r43075) i386-pc-mingw32 locale: LC_COLLATE=French_France.1252;LC_C