Displaying 20 results from an estimated 300 matches similar to: "help"
2006 Apr 25
4
Help needed
Hi,
I am trying to change a SAS macro to R.
here is my code. I get an error at the last line.
attach(fram)
dset1<-cbind(AGE,BMI,DEATH)
> BMIGRP<-cut(BMI,breaks=3,right=TRUE)
> AGEGRP<-floor(AGE/10)-2
> dset<-cbind(AGEGRP,BMIGRP,DEATH)
> maxage<-max(dset[,1])
> minage<-min(dset[,1])
> #maxcls<-dset[,2]
> #mincls<-dset[,2]
>
2006 Apr 13
1
Working directory
Hi,
I am a new user of "R", I am trying to read my data in.. "Cervixhc.dat" used
to be in a different directory, now it has been moved to "O:\E&s\APC cervix
FINAL (YG,MC,MD)\Manuscript\Data", but when I ran the following program (in
red) I got an error message "Error in setwd(dir) : cannot change working
directory", and "Error in file(file,
2005 Sep 20
3
annotating an axis in bwplot (lattice)
Hi,
I'd like to add, say, the sample size for every group in a bwplot as a
parenthetical annotation to the axis. Here's a sketch:
--8<---------------cut here---------------start------------->8---
require(Hmisc)
age <- sample(1:100, 1000, replace = TRUE)
sex <- gl(2, 8, 1000, c("Male", "Female"))
grp <- gl(4, 6, 1000, letters[1:4])
bwplot(grp ~ age |
2009 May 25
3
long format - find age when another variable is first 'high'
Dear R,
I've got a data frame with children examined multiple times and at various
ages. I'm trying to find the first age at which another variable
(LDL-Cholesterol) is >= 130 mg/dL; for some children, this may never happen.
I can do this with transformBy and ddply, but with 10,000 different
children, these functions take some time on my PCs - is there a faster way
to do this in R?
2011 Jul 13
2
life table and Kaplan-Meier
Hello, I have a question about the function lifetab in package KMsurv.
The description of the output value surv says "the estimated survival
function at the start of the intervals".
Are these estimates the ones calculated via Kaplan-Meier probability of
survival ?
Thanks in advance!
--
View this message in context:
2005 Feb 24
2
survreg with gamma distribution: re-post
Dear r-help subscribers,
A couple of weeks ago I sent the following message to the r-help mail
list. It hasn't generated any response, and I could really use some help
on this. Anyone able to help?
Thanks again,
Roger Dungan
>>
I am working on some survival analysis of some interval censored failure
time data in R. I have done similar analysis before using PROC LIFEREG
in SAS. In
2009 Jun 08
1
Looking for easy way to normalize data by groups
Hi,
i do have a dataframe representing data from a repeated experiment. PID
is a subject identifier, Time are timepoints in an experiment which was
repeated twice. For each subject and all three timepoints there are 2
sets of four values.
df <- data.frame(PID = c(rep("A", 12), rep("B", 12), rep("C", 12)),
Time = rep(c(0, 0, 0, 0, 30, 30, 30,
2003 Jun 27
1
make
During the installation I do my './configure' but the 'make'
command does not work. I'm using the Sun native make, full
path /usr/xpg4/bin/make and we have a gcc compiler. I could
really use some help trying to understand what the make com-
mand is doing. (or not doing in my case)
George
=====================
George Caunt
Systems Administrator
Framingham Heart Study
73
2008 Apr 03
1
Design package lrm summary and factors
Hello, I have question regarding the lrm function and estimating the odds
ratio between different levels of a factored variable.
The following code example illustrates the problem I am having. I have a
data set with an outcome variable (0,1) and an input variable (A,B,C). I
would like to estimate the effect of C vs B, but when I perform the summary
I only get A vs B and A vs C, even though I
2010 Jan 21
1
Fremingham Heart Study data set
Hey all,
I am just born today in the r language and I discover that it the language that I need for my research.
I don't too much yet about this language. I want to know if I can find in this language and install the
package data set related to " The Framingham Heart Study", see references here:
http://content.nejm.org/cgi/content/full/357/4/370
2010 Oct 11
2
Nonlinear Regression Parameter Shared Across Multiple Data Sets
I'm working with 3 different data sets and applying this non-linear
regression formula to each of them.
nls(Y ~ (upper)/(1+10^(X-LOGEC50)), data=std_no_outliers,
start=list(upper=max(std_no_outliers$Y),LOGEC50=-8.5))
Previously, all of the regressions were calculated in Prism, but I'd like to
be able to automate the calculation process in a script, which is why I'm
trying to move to
2009 Nov 13
1
R and HDF5 Question
Hello All,
I just signed up to this list, so I apologize if this question has been
asked before.
I am trying to load an hdf5 file into R and running into some problems. Here
are the steps I took to configure my environment:
* R 2.10.0 (x64) on Mac OS X 10.6
* hdf5 1.8.3 installed via macports
* hdf5_1.6.9.tar.gz from CRAN
I suspect the problem I am having relates to
2015 Feb 17
2
Help with archive server
Hi,
I want to build a system where 6 months old mail to be moved to
archive server to keep my mailbox clean and fast.
Is there any way to achieve the same using any pre-built binary shipped
with dovecot ?
Thanks and Regards
Joy
2002 Dec 14
4
scan() with "what"
Hi,
I have a medium-sized (19MB) CSV file that I'd like to read into R. The
read.csv() function seems to be a bit inefficient to deal with it, and I
remember that using scan() with "what" options is better.
However I'm unable to understand how to use it. The first few lines of
the data look like:
2010 May 26
2
extracat , JGR, iWidgets install problems
[Environment: Win XP, R 2.10.1]
I'm trying to install the packages JGR and iWidgets required by the
extracat package to make the interactive plots
in the package work. I've tried various things, but nothing seems to
work. Here is my most recent attempt,
followed by my sessionInfo().
Does anyone have any suggestions how to make this work?
>
> library(extracat)
Loading
2013 Sep 24
1
dmesg and syslog errors in CentOS 6.4 on Dell R720 server
Hi,
I have updated the firmware for perc raid controller card, network card,
IDRAC firmware and the BIOS version on Dell R720 server. I have installed
CentOS 6.4 and updated with all the latest packages using yum -y update.
# cat /var/log/messages | grep -i error
Sep 23 14:09:35 x24 kernel: ERST: Error Record Serialization Table (ERST)
support is initialized.
Sep 23 14:09:35 x24 kernel: ACPI
2003 Apr 11
4
Can I improve the efficiency of my scan() command?
Hi,
Suppose I use the following codes to read in a data set.
###############################################
> rating <- scan("../Data/Rating.csv",
+ what = list(
+ usage = "",
+ mileage = 0,
+ sex = "",
+ excess = "",
+ ncd = "",
+
2007 Nov 29
2
library(RII)
Se ha borrado un texto insertado con un juego de caracteres sin especificar...
Nombre: no disponible
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071129/f0d6a91a/attachment.pl
2003 Mar 10
1
rpart returning only 1 node
Hi,
This may actually be a theoretical question.
When I tried to do the following:
##########################################################
> colnames(rating.adclms)
[1] "usage" "mileage" "sex" "excess" "ncd"
[6] "primage" "minage" "drivers" "district" "cargroup"
[11]
2001 Mar 14
3
get statistics by group
Hi,
I have a data set look like this:
=================================
Fruit Quty
apple 20
banana 10
orange 17
apple 30
apple 15
orange 26
banana 15
.........and so on ..........
=================================
The level of fruit is 30, that is, there are 30
different fruits. I'd like to compute some simple
statistics for each different fruit and get output
like this: