Displaying 20 results from an estimated 39 matches for "dsets".
Did you mean:
sets
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]
>
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,
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
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
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
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
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
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
2012 Jun 15
0
Syntax for nls optimization function
I am working on minimization of sum of squared errors for a problem that has
2 box-constrained parameters.
I got the solution for this problem using "L-BFGS-B" method in optim
function using an R code as
res<-optim(par=c(parInit), fn=myFunction, method = c("L-BFGS-B"), lower =
parMin, upper = parMax,
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
1999 Oct 23
0
smbfs: patch for directory listing
Hello everyone
I have recently reported problems reading a certain directory from an NT
server on this list (and speculated in causes). I have a few workarounds
and now I'm looking for some feedback on what the proper fix is and for
people to test if my patch works for them.
Please test smbfs with and without the patch on the directory in this
zipfile (all files are empty):
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:
2010 Dec 13
2
Complicated nls formula giving singular gradient message
I'm attempting to calculate a regression in R that I normally use Prism for,
because the formula isn't pretty by any means.
Prism presents the formula (which is in the Prism equation library as
Heterologous competition with depletion, if anyone is curious) in these
segments:
KdCPM = KdnM*SpAct*Vol*1000
R=NS+1
S=(1+10^(X-LogKi))*KdCPM+Hot
a=-1*R
b=R*S+NS*Hot+BMax
c = -1*Hot*(S*MS+BMax)
Y
2001 Feb 27
6
How to read a text table? A bit of trouble with Using R - An Introduction
> Ok...So I actually *typed* the table with WordPad, using the Tab button
>in order to separate the columns, and saved it in rich text format. As you
>might have guessed, it didn“t work. I got a:
> Error in count.fields(file, sep, quote, skip, blank.lines.skip) :
> string terminated by newline or EOF
RTF is not what is meant by text. What I am writing is text.
Your
2010 May 27
5
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
Implementing the backend (or editing the current PPC backend as needed) is a definite option. This seems to be the real question... which is easier... maintaining the PPC backend or maintaining the rewriter. Currently (in admittedly trivial tests) I have gotten the rewriter to work and output C code. There are some outstanding issues to do with linking and accessing the reflection information
2010 May 27
4
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
By linux derivative I meant that it borrows the linux GCC ABI... and it does. You can compile with an off the shelf GCC cross compiler and link the resultant object files ones compiled with the PS3 provided version. We have done it.
Also, as both an XBox 360 and PS3 developer, there seems to me to be nothing in the TCRs/TRCs that preclude us from using a different compiler. There are rules
2001 Feb 27
0
Using R for Data ... (was "Data Analysis and ...")
...ploration of multivariate data. I have changed the name;
it is now:
Using R for Data Analysis and Graphics - An Introduction
The new document lives at:
wwwmaths.anu.edu.au/~johnm/r/usingR.pdf
My web page has information on where to find scripts
and data sets (in the directories scripts/ and dsets/).
There are now separate scripts for each chapter,
except that 1&2 have been combined and 3&4 are
combined.
I changed the name because John Braun and myself want
to use Data Analysis & Graphics Using R as the name for
the monograph that we are writing.
Thanks to those who responded t...
2002 Feb 01
0
No subject
...ologise for this question, as I'm sure the answer has got to be
>> obvious, but I am trying to follow the John Maindonald tutorial and
have
>> stumbled at the first page.
>
>Link? (I suppose that I could find it, but it is you problem...)
http://wwwmaths.anu.edu.au/~johnm/r/dsets/
>> I have sussed out that I need to use the source command rather than
>> the
>> read.table command as illustrated in the tutorial, but the data isn't
>> reading in properly with additional names at the beginning and end of
the
>> data. $value and $visible. I...
2003 Jul 19
2
I don't find "fuzzy matching"
hello.
I'm a student that work on R.(version 1.7.0)
I need to some data frames such as
"possum","Beams"'"kiwishade","dolphins",... .
I typed help.search("possum") and so on,but the
response was "No help files found with alias or title
matching 'possum' using fuzzy matching.".
I dont know what is "fuzzy matching"