search for: dset

Displaying 20 results from an estimated 39 matches for "dset".

Did you mean: dest
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] > nage<-maxage-minage+1 > nclass&l...
2008 Apr 03
1
Design package lrm summary and factors
...of C vs B, but when I perform the summary I only get A vs B and A vs C, even though I specify that I want to see C vs B. Am I missing something, any help is appreciated. outcome<-sample(rep(c(0,1),10000),1000) input <- sample(rep(c("A","B","C"),10000),1000) dset <-data.frame(cbind(outcome,input)) dd <- datadist(dset) options(datadist='dd') mod <- lrm(outcome ~ input,data=dset,x=TRUE,y=TRUE) summary(mod,est.all=FALSE,input=c("C","B")) [[alternative HTML version deleted]]
2009 Jun 08
1
Looking for easy way to normalize data by groups
...ich 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, 30, 60, 60, 60, 60), 3), Dset = rep(c(1, 2),18), Val1 = rnorm(36), Val2 = rnorm(36), Val3 = rnorm(36), Val4 = rnorm(36)) You can plot the data nicely with x=Time and y=Val1 by grouping PID and facetting for Dset. p <- ggplot(df) + geom_line(aes(x=...
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
...e this work? > > library(extracat) Loading required package: reshape Loading required package: plyr Loading required package: grid Loading required package: MASS > ?irmb starting httpd help server ... done > data(housing) > # example 1 > irmb(~Type+Infl+Cont+Sat,dset=housing,expected = TRUE, + eqwidth=FALSE,base=0.2,mult=2,lab.tv=TRUE,abbr=TRUE) iWidgets requires 'JGR' in order to run correctly. Please visit http://www.rosuda.org/software/ to download it.> > utils:::menuInstallPkgs() trying URL 'http://probability.ca/cran/bin/wind...
2009 Nov 13
1
R and HDF5 Question
...tar.gz This builds fine. The library seems to load without issue, but no data is returned when I try to load a file: > library(hdf5) > hdf5load("test.h5") > NULL Yet, osx:data scott$ h5dump test.h5 HDF5 "test.h5" { GROUP "/" { DATASET "dset" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 31 ) / ( 31 ) } DATA { (0): 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, (14): 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, (22): 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, (28): 268435456, 53687...
2013 Sep 24
1
dmesg and syslog errors in CentOS 6.4 on Dell R720 server
...CPI Error (psparse-0537): Method parse/execution failed [\_SB_.PMI0._PMC] (Node ffff88042a7ac920), AE_NOT_EXIST # uname -r 2.6.32-358.18.1.el6.x86_64 # cat /etc/centos-release CentOS release 6.4 (Final) # cat /etc/redhat-release CentOS release 6.4 (Final) # Hi Kaushal, Thank you for sharing the DSET report with us, we have analyzed the report and found no hardware issue Hardware log : Health status of server: Storage information not yet capture on DSET report Dell highly recommended to keep all firmware up-to-date for stable conditions. Please check *Fixes & Enhancements...
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 what this error means or what is causing the problem. I'm wondering if my dataset is too big, or if...
2012 Jun 15
0
Syntax for nls optimization function
...hod = c("L-BFGS-B"), lower = parMin, upper = parMax, control=list(trace=3,factr=iFactr,maxit=300), parOpt=parOpt,parVal=parVal,objFun=iObjFun,dset=dHM1,whatPDM=whatPDMi) Here "myFunction" is a function that provides the value of the sum of squared error that is computed after a lot of computations. There are other parameters and data (through a dataframe dHM1) that are supplied to "myFunction" as given in last line of the...
2015 Nov 18
1
Intel SSD
...".I think this was pre-internet, so google might not work. > > If it's worth the effort, you might make another "CentOS" distribution, but call it "not RHEL". > I'll add to that: it was only maybe three years ago that to get one of Dell's support tools (Dset, maybe) to run on one of our CentOS boxes was to edit /etc/redhat-release so that it had the RH info, instead of saying CentosOS release ... You might try that. > -- > Michael hennebry at web.cs.ndsu.NoDak.edu > "Sorry but your password must contain an uppercase letter, a number, a...
1999 Oct 23
0
smbfs: patch for directory listing
...TRANSACT2_FINDFIRST; WSET(param, 0, aSYSTEM | aHIDDEN | aDIR); WSET(param, 2, max_matches); /* max count */ - WSET(param, 4, 8 + 4 + 2); /* resume required + - close on end + + WSET(param, 4, 4 + 2); /* close on end + continue */ WSET(param, 6, info_level); DSET(param, 8, 0); @@ -1615,8 +1614,7 @@ WSET(param, 2, max_matches); /* max count */ WSET(param, 4, info_level); DSET(param, 6, ff_resume_key); /* ff_resume_key */ - WSET(param, 10, 8 + 4 + 2); /* resume required + - close on end + + WSET(param, 10, 4 + 2); /* close on end +...
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
...rivial as the functions are very basic in nature. My comments on OpenStep were more meant to point to the fact that we would write our own library; really just throwing all notion of OpenStep away. Instead of NSObject we would create our own base DObject or something along with a DString, DAarry, DSet, DMap, etc. Truthfully this would be our plan anyway because we want to follow the lead of OSX and provide these objects "toll free bridged"... meaning we would implement them using a std c++ library object (e.g. std::basic_string or std::vector) as the first member of the object which w...
2010 May 27
4
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
...tions are very basic in nature. >> >> My comments on OpenStep were more meant to point to the fact that we would write our own library; really just throwing all notion of OpenStep away. Instead of NSObject we would create our own base DObject or something along with a DString, DAarry, DSet, DMap, etc. Truthfully this would be our plan anyway because we want to follow the lead of OSX and provide these objects "toll free bridged"... meaning we would implement them using a std c++ library object (e.g. std::basic_string or std::vector) as the first member of the object which w...
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...
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....
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"