similar to: (no subject)

Displaying 13 results from an estimated 13 matches similar to: "(no subject)"

2010 Sep 10
1
lattice package - wireframe plot : adding more than one surface and addiding a curve overlaid on the plot
Dear R help, Suppose I have a dataframe with three columns named p, v and C. Here C is a function of both p and v. I can plot the surface C(p,v) using the package lattice using the function wireframe. Now if I have another dataframe - with 2 columns named p_ind and v_ind and pind is a function of v_ind. I would like to overlay the plot of the curve p_ind, v_ind and C(p_ind, v_ind) onto my
2012 Dec 11
1
glm - predict logistic regression - entering the betas manually.
Dear All, I know this may be a trivial question. In the past I have used glm to make logistic regressions on data. The output creates an object with the results of the logistic regression. This object can then be used to make predictions. Great. I have a different problem. I need to make predictions from a logistic regression taken from a paper. Thus I need to (by hand) enter the reported odds
2012 Nov 21
1
remote connection to an Oracle database - using RODBC - RMySQL..?
Dear users, I can access an database oracle database using sql developer. This was done by importing an xml file that contains the login details - username, password and specifies that it uses the KERBEROS_AUTHENTICATION. I'm trying to connect R - so that it can access this database - do sql queries and convert the resulting tables into dataframes. I am a novice in SQL and database access
2010 Feb 23
1
RODBC to import/export xls files
Dear R users, I've learned today about RODBC package in order to import xls file to dataframes and export the dataframes to xls files. However I have some problems. Please excuse me if these are basic but as I said, I've just begun with this package. Also this email is quite long, but everything is related, so I don't think it would be better to split it. Moreover, there's a
2010 Jan 18
1
Exporting a data.frame to excel using sqlSave - adds a character ' to values
Hi all, I am using RODB to export multiple data.frames into one excel file with multiple sheets. One thing I can't seem to unserdatand is way the command adds the character: ' To the beginning of each of my (non numeric) values. Here is an example code: library(RODBC) library(MASS) data(anorexia) save2excel <- function(x, t.name) sqlSave(xlsFile, x, tablename = t.name, rownames =
2012 Mar 27
1
survplot function
Dear R-helpers I am wondering if there is an option to the survplot function in the design package that allows for drawing Kaplan-Meier plots starting from 0 instead of 1, similar like fun = 'event' in the standard plotting function used on a survfit object. I apologize in advance for having missed any obvious informational sources but I really didn't find anything in the
2013 Feb 24
0
BA.plot with logarithmic axes (MethComp)
Dear R-helpers, I am trying to plot a Bland-Altman-Plot using the BA.plot function from the package MethComp. While there is a function to transform the values for analysis as shown in the snippet below, I would like to have logarithmic axes for display as well. The usual log = 'xy' does not work because of the properties of the y-asxis (positive and negative values). I am sure that
2008 Sep 16
0
Package implementing unconditional tests for comparing two binomials
Hello, I am looking for a package implementing unconditional tests for comparing two binomials (Barnard's test or derivatives). As I am looking for rare genotypes within my groups, my number of subjects in one of the cells of the 2x2 table is often 2-4 resulting in a too conservative result by Fisher's exact test due to the discrete sample space of the test statistic. As I want to use
2010 Nov 18
3
Plotting number of patients at risk below survival curve
Dear list, does anyone know of a R-package that has implemented the increasingly popular inclusion of the number of patients at risk below Kaplan-Meier curves like in http://bloodjournal.hematologylibrary.org/content/vol116/issue19/images/large/zh89991058760001.jpeg any hint (or negative answer) is much appreciated. Thanks Thorsten -- Thorsten Raff 2nd Medical Department, University
2011 Jul 31
2
XML and odfWeave
Dear R-helpers, this is just a notice to inform everyone that the current versions of XML and odfWeave don't seem to be playing nice with each other. Since it took me quite some time to figure that out, I thought that I let you know. In my case it helped to install an older version of XML but your mileage of course may vary. Best regards Thorsten -- Thorsten Raff 2nd Medical
2008 Nov 12
3
R- transform data frame into matrix
Hello I have the problem that I want to transform a dataframe as generated by diagnosis <- rep(diagnosis[1:3], 3) marker <- gl(3,3) values <- rnorm(9) dataframe <- cbind(diagnosis, marker, values) dataframe <- dataframe[c(1:5, 7:9), ] into a matrix where levels(diagnosis) is indicating the rows of the matrix, levels(marker) the columns and values are the actual content of the
2009 Mar 26
0
VGAM and cnstraints
Dear R-Users, I am learning how to use the package VGAM to do multinomial regressions. I have worked through the example provided by UCLA stats group: http://www.ats.ucla.edu/stat/r/dae/mlogit.htm However - what I would like to learn is how to use the constraint option. So in the example given in the link i would like to introduce a constraint that does not allow individuals of age less than
2009 May 26
0
NNET conditional Multinomial logit
Please, could you tell me how to enter a mixed or a purely conditional multinomial logit model in NNET. I know how to do a multinomial logit in NNET but I don't know how to do conditional or mixed models using this package. I do know how to do this with VGAM - but would like to compare my results to those obtained by NNET. Thanks. Raffaele.