search for: mytab

Displaying 20 results from an estimated 20 matches for "mytab".

Did you mean: mytag
2011 Aug 31
1
Hmisc Latex Question: column headings and Major Column Headings not properly alligned
Dear R users: When I create a table without Major Column headings, my *regular* column headings appear correct in the typeset latex file. The major row heading and row groups are as they should. w <- latex(mytab,title="",file="tab/my.tex",ctable=TRUE,caption="Descriptive statistics by Covariate",caption.loc="bottom",label="tab:mytab",where="!htbp",n.rgroup=c(3,3),rgroup=c("Type I","Type II")) However, I'm trying to use cgr...
2005 Feb 11
3
Profiles graphics in a contingency table
Dear Users, How can I obtain a profiles graphic in a CT similar to Excel. Campo Elias PARDO [[alternative HTML version deleted]]
2006 Feb 09
6
inPlaceEditor ISSUES!
I have run into a problem that I have never created before. I am using the scriptaculous inPlaceEditor If I hit the cancel button, and rehit the editor it then creates two textboxes, and if I repeat three input boxes, etc.! Must be stupid simple, but I AM STUMPED! DECO
2007 Aug 10
2
need help to manipulate function and time interval
...0 and 05:59:59 ==> L <- L+10 and W <- 10^((L+10)/10) else L=L and W = W Could someone help me to realize this function please? You will find my following proposal code, but my main problem is to handle the time interval. Best regard ########################### myfunc <- function(mytab, Time, Level) { vect <- rep(0, length(mytab)) for(i in 1:length(vect)) { for(j in 1:length(Time)) if(time[j] is between 18:00:00 and 23:59:59) L[i] <- L[j]+5 vect[i] <- 10^((L[i])/10 if (time[j] is between 22:00:00 and 05:59:59...
2012 Feb 26
1
Sweave Print xtable
Hi, I'm working with Sweave and I have some trouble generating table. The R code is: print(xtable(myTable, caption ="", label="tab:myTab", digits=3), tabular.environment='tabular', floating=TRUE, caption.placement="top",size="\\scriptsize") and the resulting LaTeX table is: \begin{table}[ht] \begin{center} \caption{Principal component a...
2008 May 01
2
howto import .xls and .ods
Hi, i want to import data from .ods and .xls files in R on a linux system. Seems it was a faq in the past, but i found only solutions for Windows. Is there a handy solution for linux? The best would be something like mytab <-read.ods(...) Any hints? Thanks a lot for reading so far, -- Jonas Stein <news at jonasstein.de>
2011 Sep 03
1
Lmer plot help
Hello all I'm running the lme4 package on my binomial data, and I'm happy with the model and the resultant plot. However, I'd like to plot my table data, which has: two IVs, and one DV. You can see an example below, where 'attractive' = question (IV), male = condition(IV/predictor) and no/yes = answer (dv). I'm using the table to investigate what questions act differently
2004 Nov 02
2
A little more on R, mdbtools and Access databases
...olutions.co.uk/downloads/login.zip > db <- "/home/dave/tmp/login.mdb" > mdbTables(db) [1] "MSysObjects" "MSysACEs" "MSysQueries" [4] "MSysRelationships" "MSysAccessObjects" "tblEmployees" > mytab <- mdbTables(db)[6] > mytab [1] "tblEmployees" > x <- mdbReadTable(db, mytab) > str(x) `data.frame': 4 obs. of 4 variables: $ lngEmpID : int 1 2 3 4 $ strEmpName : Factor w/ 4 levels "David","Gavin",..: 3 2 4 1 $ strEmpPassword: Factor w...
2010 Aug 05
3
Plotting range of values in barplot()
Hello, I am attempting to create a bar plot that contains a range of possible response values on the x-axis of 1 to 5 and contains barplots for the number of responses even in the event that there are 0 responses. For example, I have a data set that contains values of 2, 3, 4, and 5 but I would also like my graph to show that there are no 1's. I have attached the resulting graph. The
2007 Aug 07
4
Number of days in each month
Hi R-users, What is the best way to achieve a table which contains all days and months between years 2007-2020? I would like to calculate number of days in each month within those years (to data frame). Regards, Lauri [[alternative HTML version deleted]]
2006 Oct 17
1
Convert Contingency Table to Flat File
Hello All, Is there any R function out there to turn a multi-way contingency table back to a flat file table of individual rows and attribute columns.? Thanks! marco --------------------------------- [[alternative HTML version deleted]]
2008 Dec 29
2
Hmisc labels and captions in latex.list()
I am trying to feed a list to latex to use with SWeave, and the list comes from contents(). Since it is a list, a caption and label are generated by latex.list - these are not overridden by setting the parameters (such as caption='myCaption', label='myLabel'). I must clearly be missing something - is there no way to set a caption or label with the latex() function when
2009 Jan 29
1
Multiple tables
Dear list, I have a set of 100+ variables. I would like to have one by one crosstables for each variable. I started with table(variable1, variable2) table(variable1, variable3) table(variable1, variable4) ... table(variable2, variable3) table(variable2, variable4) ... It seems rather tedious. Any better ideas around? Thanks for any help! Gerit -- NUR NOCH BIS 31.01.! GMX FreeDSL -
2004 Sep 26
2
help for stata user
Hi, I'm new to R, and I'm STATA user before, could you help me where I can get document about comparison command between STATA and R. Thank you very much, Best regards, -iip-
2007 Jul 24
2
x,y,z table to matrix with x as rows and y as columns
Hello all, I am sure I am missing something obvious but I cannot find the function I am looking for. I have a data frame with three columns: X, Y and Z, with X and Y being grid coordinates and Z the value associated with these coordinates. I want to transform this data frame in a matrix of Z values, on the grid defined by X and Y (and, as a plus, fill the X.Y combinations which do no
2004 Oct 08
1
reading partial file content
...t; > > > As per the example I have two columns and 7 rows of data ineach. > > However is real life data situation I may not know how many columnsare > > present and how rows are present and also with the certain datais > > missing. Yes I am assuming the data is delimited myTab. > > > > > > My question or rather problem is I want read data from each colum saycol > >x > > (8,11,16,18??EUR??.20) and store it into a variable so that I couldperform > >some > > operations onthem. > > > > I have also looked into certain R-he...
2009 Jan 12
3
merge table rows (\multirow)
...35 Sept 36 459,682 36 Sept 37 609,567 36 Sept 38 979,475 36 Sept 39 837,189 36" DF <- read.table(textConnection(sampDat), header = TRUE) attach(DF) @ \begin{verbatim} Using Hmisc..... \end{verbatim} <<tab.R,echo=FALSE,results=tex>>= library(Hmisc) mytab <- data.frame(DF) latex(DF,label="tab:hola",longtable=FALSE,caption='Sample table.') @ \begin{verbatim} Or with xtable.... \end{verbatim} <<tab.RR,echo=F,results=tex>>= library(xtable) table2 <- data.frame(DF) table2 <- xtable(DF,label='tab2',caption=&...
2004 Oct 07
3
Read.Table Reading a Text file
Dear R users and Helpers I am beginner with using R and interested in carrying out certain task for my statistical research. I am reading data for a text file, which could contain data in following pattern x y 8 10 11 14 16 16 18 15 6 20 4 4 20 18 As per the example I have two columns and 7 rows of data in each. However is real life data situation I may not know how many columns are present
2010 Nov 15
5
How to Read a Large CSV into a Database with R
Hi, I'm working in R 2.11.1 x64 on Windows x86_64-pc-mingw32. I'm trying to insert a very large CSV file into a SQLite database. I'm pretty new to working with databases in R, so I apologize if I'm overlooking something obvious here. I'm trying to work with the American Community Survey data, which is two 1.3GB csv files. I have enough RAM to read one of them into memory,
2007 Aug 11
0
DOE and interaction plot general question
...0^((L+10)/10) > else > L=L and W = W > > Could someone help me to realize this function please? You will find my > following proposal code, but my main problem is to handle the time > interval. > > Best regard > > ########################### > myfunc <- function(mytab, Time, Level) > { > vect <- rep(0, length(mytab)) > for(i in 1:length(vect)) > { > for(j in 1:length(Time)) > > if(time[j] is between 18:00:00 and 23:59:59) > > L[i] <- L[j]+5 > > vect[i] <- 10^((L[i])/10 > &gt...