Displaying 20 results from an estimated 130 matches similar to: "Help needed"
2006 Apr 17
7
help
Hi, I am trying to runn a age-period-cohort model, but here is what I am
having problem with, hope you can help me!
This is what I am trying to do:
sumzero_a<-((A-min(A))/5+1) - mean((A-min(A))/5+1) where A is my age
variable (numeric, the mid-point of a five-year age group), but I got the
following error:
Error in min(..., na.rm = na.rm) : invalid 'mode' of argument
I am pretty
2009 May 09
4
how to get design matrix?
How do you get the design matrix R used when calculating ANOVA?
--
View this message in context: http://www.nabble.com/how-to-get-design-matrix--tp23464638p23464638.html
Sent from the R help mailing list archive at Nabble.com.
2012 Jun 28
1
the meaning of subscripts
Hi,
Now i am dealing with longitudinal data set and I want to see the rough
marginal plot for 2 variables separately.
I found the code from one example here,
reading <-
read.table("http://www.ats.ucla.edu/stat/R/examples/alda/data/reading_pp.txt",
header=T, sep=",")
reading[reading$id %in% c(4, 27, 31, 33, 41, 49, 69, 77, 87), ]
xyplot(piat~age | id
,
2005 Nov 18
2
Image display in R
Hi all,
I am trying to display a matrix of plots(images), for example a 3*3 matrix
of 9 image plots, such that when a user clicks on a image i can show the
enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and
mfg), but it creates multiple plots in a single image file. So, i won't be
able to highlight a particular plot when the user clicks on it.
To be more clear, can i
2005 Nov 18
2
Image display in R
Hi all,
I am trying to display a matrix of plots(images), for example a 3*3 matrix
of 9 image plots, such that when a user clicks on a image i can show the
enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and
mfg), but it creates multiple plots in a single image file. So, i won't be
able to highlight a particular plot when the user clicks on it.
To be more clear, can i
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 |
2007 Mar 02
0
Matrix looping
Hi all,
I am having a problem getting my fucntion to work correctly.
Here is my problem.
I have three ages: Nage<-c(1,2,3)
I have an weight matrix: Wt<-c( 0.04952867, 0.23808432, 0.34263880)
I have an age schedule of maturity: Mat<-c(0,1,1) where 0 is not mature,
and 1 is mature
I have a vulnerability schedule: Vul<-c(0,1,1)
I have an survivorship schedule:
2009 May 10
2
plot(survfit(fitCox)) graph shows one line - should show two
R 2.8.1
Windows XP
I am trying to plot the results of a coxph using plot(survfit()). The plot should, I believe, show two lines one for survival in each of two treatment (Drug) groups, however my plot shows only one line. What am I doing wrong?
My code is reproduced below, my figure is attached to this EMail message.
John
> #Create simple survival object
>
2009 Oct 23
1
making a plot in xyplot
Hello,
I am a newbie to the lattice package in R, and I'm trying to make a plot using the xyplot function. I have repeated measures data (2 conditions) for two different groups of subjects (teens and adults).
So far, I've made a basic graph using xyplot(y ~x, group=subnum, data=mydata, type="b").
Now I would like to make all the teens' lines one color and the adults'
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
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,
2018 May 30
2
Filtering using multiple rows in dplyr
Hi Folks,
I have just started using dplyr and could use some help getting unstuck. It could well be that dplyr is not the package to be using, but let me just pose the question and seek your advice.
Here is my basic data frame.
head(h)
subject ageGrp ear hearingGrp sex freq L2 Ldp Phidp NF SNR
1 HALAF032 A L A F 2 0 -23.54459 55.56005 -43.08282
2010 Jun 17
0
Modifyiing R working matrix within "gee" source code
Dear all,
I am working on modifying the R working matrix to commodate some other
correlations that not included in the package. I am having problem to locate
where the R matrix are defined for regular matrices, i.e. independence,
exchangeable, AR and unstructure. it might have something within
.C("Cgee",but don't understand it well enough to know. Can you anyone
help?
/*gee source
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
1999 May 05
0
HPUX 10.20 - SAMBA 2.0.3: Cannot connect With NT 4.0
Here is our configuration :
SAMBA Server : HPUX 10.20 SAMBA 2.0.3.
Only the parameter workgroup has a non default value. There is one share
defined (no homes). All share values are default, except read only=no,
comment and path (smb.conf is managed with swat which has made some
cleaning in the previous smb.conf file)
SMB Client : Windows NT 4.0 SP3 or SP4 (both tested) - modified registry
to
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
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
2011 May 12
3
Survival Rate Estimates
Dear List,
Is there an automated way to use the survival package to generate survival
rate estimates and their standard errors? To be clear, *not *the
survivorship estimates (which are cumulative), but the survival *rate *
estimates...
Thank you in advance for any help.
Best,
Brian
[[alternative HTML version deleted]]
2007 Sep 26
1
rpart error: "Error in dimnames(X)"
I'm using rpart to fit a tree using a large dataset: 7000 observations, 4651
variables. All but one of the variables (age) are binary. When I run the
code:
fit1 <- rpart(lowergi ~ ., data=dset,method="class")
I get the error:
Error in dimnames(X) <-list(dn[1L]], unlist(collabs, use.names=FALSE)) :
Length of `dimnames' [2] not equal to array extent
I have no idea
2015 Nov 18
1
Intel SSD
Michael Hennebry wrote:
> On Wed, 18 Nov 2015, Birta Levente wrote:
>
>> I have a supermicro server, motherboard is with C612 chipset and beside
that with LSI3108 raid controller integrated.Two Intel SSD DC S3710
200GB. OS: Centos 7.1 up to date.
>>
>> My problem is that the Intel SSD Data Center Tool (ISDCT) does not
recognize the SSD drives when they connected to the