Displaying 20 results from an estimated 10000 matches similar to: "docs, examples, man pages (PR#2711)"
2007 Apr 27
1
Example of mcmcsamp() failing with lmer() output
Hi,
I would appreciate help with the following model
<<1>>=
gunload <- read.table(hh('datasets/gunload.dat'), header = T)
gunload$method <- factor(gunload$method, labels = c('new', 'old'))
gunload$physique <- factor(gunload$group, labels = c('slight',
'average', 'heavy'))
gunload$team9 <- factor(rep(1:9, each = 2))
@
This
2001 Jan 18
2
dotplot: character size of labels
Dear R users,
using dotplot (R1.2.0, WinNT4.0), I am trying to change the character size
of the labels of the points:
> # example
> data(VADeaths)
> dotplot(VADeaths, main = "Death Rates in Virginia - 1940")
> # I'd like to have smaller character size of the labels (for age and
population groups)
> ?dotplot
> # for argument "cex", this says:
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2007 Sep 10
2
Removing an AR class definition, for testing plugins
I''m writing an acts_as_* plugin and am trying to BDD it. Ideally my
specs would look like:
describe ActsAsCloneable, " basic cloning" do
load_example_classes
School.class_eval do
acts_as_cloneable
end
before(:each) do
@old_school = School.create! :name => "Baylake Pines", :city =>
"Virginia Beach", :guid => "abc123"
2006 Feb 16
2
how to retrieve robust se in coxph
Hi,
I am using coxph in simulations and I want to store the "robust se" (or
"se2" in frailty models) for each replicate. Is there a function to retrieve
it, like vcov() for the variance estimate? Thanks!
Lei Liu
Assistant Professor
Division of Biostatistics and Epidemiology
Dept. of Public Health Sciences
School of Medicine
University of Virginia
3181 Hospital West
2016 Jan 14
2
JDataFrame API
Hi Folks,
If you need to send data from Java to R you may consider using the
JDataFrame API -- which is used to convert data into JSON which then
can be converted into a data frame in R.
Here's the project page:
https://coherentlogic.com/middleware-development/jdataframe/
and here's a partial example which demonstrates what the API looks like:
String result = new JDataFrameBuilder()
2002 Mar 06
3
Problem in .First.lib
Hello!
I downloaded a package "multtest" (from bioconductor.org) in R, and
installed it by 'R CMD <package>' (after unzipping and taring).
The problem is when I say 'library(multtest)' in R, the following error is
generated:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2002 Dec 04
2
problem with load('http://....') (PR#2344)
Full_Name: Frank Harrell
Version: 1.6.1
OS: RedHat 8.0 Linux
Submission from: (NULL) (128.143.108.90)
I get an error when trying to load a URL that contains a file that was saved
using save(object, compress=TRUE):
> load('http://hesweb1.med.virginia.edu/biostat/s/data/sav/kprats.sav')
Error in gzfile(file, "rb") : unable to open connection
In addition: Warning message:
2008 Feb 10
2
grep etc.
Dear R-helpers,
How do I transform
v <- c('insd-otsd', 'sppr-unsp')
into
c('insd--otsd', 'sppr--unsp')
?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
2006 Jun 29
2
help with coxme
Hi there,
I have a question on fitting data by coxme. In particular I want to fit a
random intercept and random slope cox model. Using the rats dataset as an
example, I generated another covariate x2 and want to specify a random slope
for x2. Here is my code:
x2=matrix(rep(runif(50), 3), 50, 3)
x2=as.vector(t(x2))
rats2=cbind(rats, x2)
But when I used the coxme function as follows, it gave
2008 Apr 17
2
Conditionally swap items in a data frame
df1 <- data.frame(a = LETTERS[1:2], b = LETTERS[3:4], c = 1:2)
I am looking for an idiom that swaps the elements of df$a and df$b
when (e.g.) df$c == 2, resulting in
df2 <- data.frame(a = LETTERS[c(1, 4)], b = LETTERS[c(3, 2)], c = 1:2)
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA
2011 Mar 15
4
install specific version using yum
Hello list!
I have been instructed to install very specific version numbers of
httpd and php on the company web servers. Here's what I've tried so
far
[root at ec2-50-17-114-126 ~]# yum install php-5.2.17-1.w5.i386
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: yum.singlehop.com
* base: mirror.rackspace.com
* epel: nas1.itc.virginia.edu
* extras:
2006 Nov 28
2
Problem with pairs() in nlme
Dear r-helpers,
After successfully running
require(nlme)
vfr.lmL <- lmList(
estimate ~ (slant + respType + visField + hand)^2 | subject, vfr
)
pairs(vfr.lmL, id = 0.01, adj = -0.5) # Pinheiro & Bates (p. 141)
produces the following error:
Error in sprintf(gettext(fmt, domain = domain), ...) :
object "form" not found
Any guesses as to what I may have done wrong?
2004 Nov 19
2
function 'vcov' for coxph in R 2.0.0
Hi there,
After I fitted a cox model, I used vcov to obtain the
variance of the parameter estimate. It worked correctly in
R 1.9.1. But it failed in R 2.0.0 and the error message is
Error in vcov(cox.1) : no applicable method for "vcov"
I don't know if it is a bug or there is some update on
this function. Thanks!
Lei Liu
Assistant Professor
Division of Biostatistics and
2008 Jul 07
5
Basic Vector and Matrix Operations
I am wondering if it is possible to perform the following two basic
functions with primitive R functions. I know I could write functions for
either, but it seems as though they are probably built-in somewhere.
1) Fill out a vector to a desired length with missing values or zeros. So,
x<-c(3,4,5)
f(x,5)
3,4,5,NA,NA
2) Find the [row,col] location of a particular value in a matrix, eg
2009 Sep 06
5
ggplot2::qplot() -- arbitary transformations of coordinate system?
Hi,
Does anyone know how to do a coord_trans() in which the y-axis is
tranformed into (for example) -1000/y?
Thanks,
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011
2007 Feb 11
2
Suppresing default text in pairs.lmList() in package = nlme
I would like to suppress the text 'Scatter Plot Matrix' that appears
under the plot. Could someone please suggest how?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011
2008 Jan 12
2
Lattice equivalent of par(mfrow = )
Dear r-helpers,
Does anyone have a straightforward example of putting together three
unrelated (expect for a common y-axis) xyplot() figures in what would
be in base graphics a par(mfrow = c(1, 3)) arrangement?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102
2008 Jan 28
2
Package simex
Dear R-helpers,
It is not clear to me how you get measurement.error SD when you have a
single dataset, and it is not clear to me how sensitive SIMEX is to
errors in the estimates of measurement error.
Could someone please point me to the relevant literature?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400