search for: wbs

Displaying 10 results from an estimated 10 matches for "wbs".

Did you mean: was
2005 May 16
2
turning labels into a vector
Hello 1/ 'priors' is a table looking like: "W123" "T678" "S789" 23 42 11 12 35 9 etc 2/ WBS <- labels(priors) gives me a result of class list and length 1 looking like: "W123" "T678" "S789" I want to read W123 into X[1] as W, T687 into X[2] as T and S789 into X[3] as S using substr(X[1],1,1) but I'm having trouble extracting each group of 4 digits...
2004 Nov 23
6
Weibull survival regression
...with a relatively straightforward problem that I am struggling with? I am simply trying to plot a baseline survivor and hazard function for a simple data set of lung cancer survival where `futime' is follow up time in months and status is 1=dead and 0=alive. Using the survival package: lung.wbs <- survreg( Surv(futime, status)~ 1, data=lung, dist='weibull') plot (lung.wbs) Returns the error msg: Error in xy.coords(x, y, xlabel, ylabel, log) : x and y lengths differ Using the Design package: lung.wbd <- psm (Surv (futime, status)~ 1, dist="weibull&quot...
2008 Nov 26
1
survreg and pweibull
Dear all - I have followed the thread the reply to which was lead by Thomas Lumley about using pweibull to generate fitted survival curves for survreg models. http://tolstoy.newcastle.edu.au/R/help/04/11/7766.html Using the lung data set, data(lung) lung.wbs <- survreg( Surv(time, status)~ 1, data=lung, dist='weibull') curve(pweibull(x, scale=exp(coef(lung.wbs)), shape=1/lung.wbs $scale,lower.tail=FALSE),from=0, to=max(lung$time)) lines(survfit(Surv(time,status)~1, data=lung), col="red") Assuming this is correct, why does the inf...
2009 Jun 03
4
Excel Export in a beauty way
Hallo all, I`ve read a lot of things in this forum about an Excel export via R. It is no problem to export my data frames via write.table or write.xls (xls or csv), but some things are not very convenient for me: I always have to adjust the column with to see all the numbers or the text and there is no frame between the cells. And I missing the possibility to make some headers bold or coloured.
2010 Aug 17
2
how to selection model by BIC
Hi All: the package "MuMIn" can be used to select the model based on AIC or AICc. The code is as follows: data(Cement) lm1 <- lm(y ~ ., data = Cement) dd <- dredge(lm1,rank="AIC") print(dd) If I want to select the model by BIC, what code do I need to use? And when to select the best model based on AIC, what the differences between the function "dredge" in
2009 Mar 09
5
Help
...> > I have followed the thread the reply to which was lead by Thomas > Lumley about using pweibull to generate fitted survival curves for > survreg models. > > http://tolstoy.newcastle.edu.au/R/help/04/11/7766.html > > Using the lung data set, > > data(lung) > lung.wbs <- survreg( Surv(time, status)~ 1, data=lung, dist='weibull') > curve(pweibull(x, scale=exp(coef(lung.wbs)), shape=1/lung.wbs > $scale,lower.tail=FALSE),from=0, to=max(lung$time)) > lines(survfit(Surv(time,status)~1, data=lung), col="red") > > Assuming this is co...
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...EMzynM7$^ad*0U@(oiukz~D-XiAJ>{mF$O&570&&xbjzeG|# zn|TMU;8>|0_`g7Qms1Dy-H=K~$y0T=&{j?a;+$)4RJb8BpV)bcSD|M|fwP|vcko01 zk}h~hW`2PeY41%s)`|k8D+7&L5|QaYdPZH^=SPC~rE9@f6HFN&SZ%yZ^`qoBmCIOb zwK0FXm(U)9O@~t(B4tv#t7szW$>nxomO-jLpD;~j35TU^w{KRbGz8XJ{k<A;iljx) zmE)ZSSQwnufT1WBSs`X8bD8;y?#wE;6J(H@olHIj=hJ<0gwjltQjLLlLd_E~Pcg1L zLRYU!x&~FdCFy#;vO?iccTATVHbq4)s%|%^ATDcLMZ=@gIl4$yUx}(oUC|sd3J#6K z<E6-Q88Xvj5unx77nb$&9n|gh%Fy|S^Vr8m%98Ql>p{(jSupqF6T9S1=1DMpKmP{M zOK<*_#9UAx$OU$R?Dp(X>DLxKVfuFG$bd0Y3l&}{rK^=9)u#w1lRbi8{M^-L^{GeY zA}pIz@0UGZ4;TpDd0d{5T...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking
2010 Aug 10
2
question about bayesian model selection for quantile regression
Hi All: Recently I am researching my dissertation about the quantile model selection by bayesian approach. I have the dependent variable(return) and 16 independent variables and I need to select the best variable for each quantile of return. And the method I used is the bayesian approach, which is based on calculating the posterior distibution of model identifier. In other words, I need to obtain
2011 Dec 22
1
Calling R functions from C++ under VS2005
Hi, I'm trying to call some of R's statistical functions within my C++ code, developed under VS2005, but I can't seem to find out how to do it. I tried RInside and Rcpp, but they either don't work on Windows or with VS. Is there a way to do this? Appreciate the help. Regards,