search for: t2a

Displaying 10 results from an estimated 10 matches for "t2a".

Did you mean: t2
2008 May 28
4
Help on Calculating day differences
Hello R Freaks, I calculate the difference in days between two events with the following litte R expresseion: T1a <- strptime(T1,"%m/%d/%y %H:%M:%S"); T2a <- strptime(T2,"%m/%d/%y %H:%M:%S"); T1b <- as.Date(T1a); T2b <- as.Date(T2a); days <- T2b-T1b; time <- T2a - T1a; In the project I would like to calculate only working day. I the a possibility to count on woring days without weekends? Is it maybe also possible to skip i...
2009 Apr 16
2
there are fontencoding problem in Sweave
I want write article by russian language using Sweave. For cyrillic text LaTeX use T2A encoding \usepackage[T2A]{fontenc} But in Sweave.sty we find: \RequirePackage[T1]{fontenc} It is source of critical problem. For example Rnw file $ cat estimation.Rnw \documentclass[A4paper]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,english]{babel}...
2007 Sep 10
0
Loop and loop output [Cox model, for, function, loglik]
Dear R users, Below I have written 4 functions CIT1, CIT2a and CIT2b and CIT3 which recode a variable CLD_ISCH into 3 new variables(T1 T2 T3), I wish to use T1, T2 and T3 based on the values of tf1 and tf2. (NOTE:- T2a is used to create T2 in a long winded manner due to my lack of programming experience) I then attach T1 T2 and T3 to a dataset KidneyT tha...
2009 Apr 16
0
there are fontencoding problem in Sweave
On 4/16/2009 10:29 AM, ?????? n/a wrote: > I want write article by russian language using Sweave. For cyrillic text > LaTeX use T2A encoding > > \usepackage[T2A]{fontenc} > > But in Sweave.sty we find: > > \RequirePackage[T1]{fontenc} > > It is source of critical problem. > > For example Rnw file > > $ cat estimation.Rnw > > \documentclass[A4paper]{article} > > \usepackage...
2011 May 24
1
Loading an S object into R
...? ? ? ? K [ c g d` a? ?? ?? (? -? ?? ?? ;? ?? G? ?? ?? ?? ?? ? ? ? ?? %? ? ?& ?) ?, .Data .Names ? ???1??1o`k???E??:?????28q|??9V 9`???7?C?%???KI????????Bt0??K#4????\??_????d?}?e?????=6???p PREOP.PSA PREOP.PSA' T.STG=T2A T.STG=T2B T.STG=T2C T.STG=T3 G1=> 3 G2=> 3 BX.POS BX.NEG RP.YEAR G1=> 3 * G2=> 3 .Data .Dim .Dimnames ? ? = E 6??w??a??_?JM g???j???E???rV?>??? T??>WD?Ow:?? ... SA?;_ws6?@?(??Lp@????QEF??VU9X?f??????[????'??T????-?91???F????K???'???P?<?Jf???P (?;...
2008 Feb 24
0
Color of CI bars in Hmisc::Dotplot()
Dear R-helpers, (1) I can't figure out how to tell Dotplot that I want the colors of the CI bars to be the same as the colors of the dots. For example: t2a.ci3 <- data.frame(est = c(7, 20, 75), lower = c(-9, 0.5, 42), upper = c(22, 39, 109)) mypal <- c('skyblue3', 'mistyrose3') condNames <- c('noise', 'horn', 'marimba') Dotplot(1:2 ~ Cbind(est, lower, upper), data = t2a.ci3, scales = list(y = list(at...
2008 May 19
1
reshape a wide data frame from wide to a long format with metadata columns
...wide table) to new metadata columns in the long format. #example data frame. NOTE column names contain metadata:: mediacont.21.MC1A contains treatment=mediacont, time=21, rep=MC1A data1<-data.frame(cbind(name=0:10, mediacont.21.MC1A=10:20,mediatreat.20.MD1A=30:40, treat.20.T2C=50:60,treat.20.T2A=70:80,condtp.20.C2A=90:100,condtp.20.C2B=100:110, mediacont.21.MC1B=120:130, mediacont.21.MC1B=130:140)) #example of reshape code that works, this creates a data frame with single metadata column and unique ID column. I could use this and create a loop to write metadata columns based on the metada...
2009 Apr 09
1
pdftex treats R pdf figures incorrectly
...'????????') dev.off() embedFonts('fig.pdf') 2) Open fig.pdf and make sure the cyrillic characters are present in the plot title and at the axes. Also make sure the used font subset is embedded. 3) pdflatex the following minimal LaTeX document: \documentclass{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{graphicx} \begin{document} \includegraphics{fig} \end{document} 4) Open the resulting pdf file. Note that all cyrillic characters have disappeared from the included figure. I think it's a bug in pdftex. I've s...
2003 Sep 13
1
Call for Feedback
Fellow Advocates, I am in the final stages of updating the Samba-HOWTO-collection. I am curious how many people have read the document that ships with Samba-3.0.0 Release Candidates. More particularly, I urgently need updates, fixes and any material you believe needs to be included. The total volume of the HOWTO now translates to over 700 pages when produced in the size of a standard book. That
2012 Jul 04
1
Suggestion / patch to support more Unicode characters in R CMD Rd2pdf
...= setEncoding] <- + setEncoding2 <- paste0("\\usepackage[", encs, "]{", inputenc, "}") } else { - lines[lines == setEncoding] <- + setEncoding2 <- paste( "\\usepackage[", encs, "]{", inputenc, "} \\IfFileExists{t2aenc.def}{\\usepackage[T2A]{fontenc}}{}", sep = "") } + if (moreUnicode) { + setEncoding2 <- + paste0( +setEncoding2, " +\\input{ix-utf8enc.dfu}") + } + lines[lines == setEncoding] <- setEncoding2 if (hasFigures) lines[lines == useGraphicx]...