Displaying 20 results from an estimated 22 matches for "ct2".
Did you mean:
cr2
2010 Mar 08
2
Data.frame issue (pls help)
Hi:
I want to obtain a particular value from a data.frame. Following is my
dataframe:
> Quotes
BID ASK
Name
CT2 GOVT 99.92969 99.9375 CT2
TUM0 COMDTY 108.53125 108.5469 TUM0
CT5 GOVT 100.10156 100.1094 GT5
FVM0 COMDTY 115.56250 115.5703 FVM0
TYM0 COMDTY 116.93750 116.9531 TYM0
If I try to run: QuoteTUM0BID = Quotes[Quotes$Name %in% "TUM0", "BID"]
and print QuoteTUM0B...
2011 May 01
1
quick help needed: split a number and "find and replace" type of function that works like in MS excel
Hi R experts
I have a couple of quick question:
Q1
#my data
set.seed(12341)
SN <- 1:100
pool<- c(12,13,14, 23, 24, 34)
CT1<- sample(pool, 100, replace= TRUE)
set.seed(1242)
CT2 <- sample(pool, 100, replace= TRUE)
set.seed(142)
CT3 <- sample(pool, 100, replace= TRUE)
# the number of variables run to end of coulmn 20000
mydf <- data.frame(SN, CT1, CT2, CT3)
First question: how can I split 12 into 1 2, 13 into 1 3, 14 into 1 4?
What I am trying here is to spli...
2000 Nov 29
4
offset
...to have to go back to using Genstat . . .
Thanks,
Ted.
---------------
Dr E.A. (Ted) Catchpole
School of Maths & Stats
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy University of Kent at Canterbury
e-catchpole at adfa.edu.au Canterbury, CT2 7NF, England
http://www.ma.adfa.edu.au/~eac E.A.Catchpole at ukc.ac.uk
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"...
2020 Mar 22
3
Tasa variación diaria COVID-19
...verbose, physical = physical) :
x is not a data.table
>
> # newc: son los nuevos casos
> df[, newc:=ct - shift(ct), by=.(com)]
Error in `[.data.frame`(df, , `:=`(newc, ct - shift(ct)), by = .(com)) :
unused argument (by = .(com))
>
> # tasa: es la tasa de cambio que calculé así (ct2 - ct1)/ct1
>
> df[, tasa:=newc/ct, by=.(com)]
Error in `[.data.frame`(df, , `:=`(tasa, newc/ct), by = .(com)) :
unused argument (by = .(com))
El dom., 22 mar. 2020 a las 16:52, neo (<ericconchamunoz en gmail.com>)
escribió:
> Hola Javier, yo lo hice de la siguiente forma:
>
&g...
2020 Mar 23
2
Tasa variación diaria COVID-19
...;
> > > # newc: son los nuevos casos
> > > df[, newc:=ct - shift(ct), by=.(com)]
> > Error in `[.data.frame`(df, , `:=`(newc, ct - shift(ct)), by = .(com)) :
> > unused argument (by = .(com))
> > >
> > > # tasa: es la tasa de cambio que calculé así (ct2 - ct1)/ct1
> > >
> > > df[, tasa:=newc/ct, by=.(com)]
> > Error in `[.data.frame`(df, , `:=`(tasa, newc/ct), by = .(com)) :
> > unused argument (by = .(com))
> >
> > El dom., 22 mar. 2020 a las 16:52, neo (<ericconchamunoz en gmail.com>)
> > e...
2009 Nov 02
1
AR Simulation with non-normal innovations - Correct
Dear Users,
I would like to simulate an AR(1) (y_t=ct1+y_t-1+e_t) model in R where the innovations are supposed to follow a t-GARCH(1,1) proccess.
By t-GARCH I want to mean that:
e_t=n_t*sqrt(h_t) and
h_t=ct2+a*(e_t)^2+b*h_t-1.
where n_t is a random variable with t-Student distribution.
If someone could give some guidelines, I can going developing the model.
I did it in matlab, but the loops are very slowly, so I would like to try R.
Thanks in advance,
Rick
[[alternative HTML version deleted]]
2003 Feb 19
2
plotmath
...--------------
| School of Maths & Stats | | Hon Senior Research Fellow |
| University of New South Wales at | | Institute of Maths & Stats |
| Australian Defence Force Academy | and | University of Kent |
| Canberra, ACT 2600, Australia | | Canterbury CT2 7NF, England |
| e-catchpole at adfa.edu.au | | E.A.Catchpole at ukc.ac.uk |
| www.ma.adfa.edu.au/~eac | ------------------------------
| fax: +61 2 6268 8886 |
| ph: +61 2 6268 8895 |
----------------------------------
2001 Sep 18
1
textbook on experimental design?
...Thanks,
Ted.
Dr E.A. Catchpole
School of Maths & Stats Honorary Senior Research Fellow
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy University of Kent at Canterbury
Canberra, ACT 2600, Australia Canterbury CT2 7NF, England
e-catchpole at adfa.edu.au E.A.Catchpole at ukc.ac.uk
www.ma.adfa.edu.au/~eac
fax: +61 2 6268 8886
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info...
2020 Mar 25
2
Tasa variación diaria COVID-19
...> df[, newc:=ct - shift(ct), by=.(com)]
> > > > Error in `[.data.frame`(df, , `:=`(newc, ct - shift(ct)), by =
> .(com))
> > :
> > > > unused argument (by = .(com))
> > > > >
> > > > > # tasa: es la tasa de cambio que calculé así (ct2 - ct1)/ct1
> > > > >
> > > > > df[, tasa:=newc/ct, by=.(com)]
> > > > Error in `[.data.frame`(df, , `:=`(tasa, newc/ct), by = .(com)) :
> > > > unused argument (by = .(com))
> > > >
> > > > El dom., 22 mar. 2020 a las 1...
2001 Feb 13
3
xfig boxplot (polygon) bug??
...Catchpole
School of Maths & Stats Honorary Senior Research Fellow
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy University of Kent at Canterbury
Canberra, ACT 2600, Australia Canterbury CT2 7NF, England
e-catchpole at adfa.edu.au E.A.Catchpole at ukc.ac.uk
www.ma.adfa.edu.au/~eac
fax: +61 2 6268 8886
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send &...
2001 Feb 13
3
xfig boxplot (polygon) bug??
...Catchpole
School of Maths & Stats Honorary Senior Research Fellow
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy University of Kent at Canterbury
Canberra, ACT 2600, Australia Canterbury CT2 7NF, England
e-catchpole at adfa.edu.au E.A.Catchpole at ukc.ac.uk
www.ma.adfa.edu.au/~eac
fax: +61 2 6268 8886
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send &...
2012 Feb 07
2
Actual vs. predicted survival times
...s to a plot to make a decision on its usefulness.
I appreciate that there are predict.coxph and predict.cph options available to me.
My first attempt was as follows:
# fit Cox model #
coxfita = coxph(Surv(tsecond,seccens)~stroke(smess)+rels(smess)+asleep(smess)+eeg1(smess)+eeg2(smess)+ct1(smess)+ct2(smess)+treat(smess),data=smess)
# Find censored and observed groups #
messcens <- subset(smess,seccens==1)
messobs <- subset(smess,seccens==0)
# Obtain predicted survival times #
explp <- exp(predict(coxfita,type="lp"))
explp2 <- mean(ssmess$tsecond,na.rm=TRUE)*explp
smess2...
2020 Mar 21
9
Tasa variación diaria COVID-19
Hola:
Tengo los datos diarios del número de casos de coronavirus por comunidades
autónomas y quiero calcular el número diario de nuevos casos y la tasa
diaria de variación del número de casos y no se como hacerlo en R.
*fecha*
*comunidad*
*poblacion*
*casos_totales*
04/03/2020
Andalucía
8414240
13
05/03/2020
Andalucía
8414240
12
06/03/2020
Andalucía
8414240
21
04/03/2020
Aragón
2001 Sep 20
1
Re: text book on experimental design
...uot; and "DRAFT: do
not distribute or copy".
Ted.
Dr E.A. Catchpole
School of Maths & Stats
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy University of Kent at Canterbury
Canberra, ACT 2600, Australia Canterbury CT2 7NF, England
e-catchpole at adfa.edu.au E.A.Catchpole at ukc.ac.uk
www.ma.adfa.edu.au/~eac
fax: +61 2 6268 8886
On Wed, 19 Sep 2001, Liaw, Andy wrote:
> Ted,
>
> Not sure if you are teaching to majors or non-majors. At a fairly
> elementary level, Dick DeVaux of Willia...
2004 Aug 06
2
Hello
...t;x
A9;9giI*E`COwWr"uN4x.:n~3W
:']_4B<0qZQ]Vu`.iW48cT1V&_
[/hu;:szi!pam!R0}Eo8 NM/YxI
~zbZT#\XWMAkg6qC1
kt
o#[$8X2gWwA_xZzI"`q!Qf3C}J[8V;oaL4dY09FxU(kaJm:a9W(UI
{^O(bc8IK?P$d9WWes%0!3IiG'e8[~c
Ca.MAMUAuTM_g><3*kV`yL92lj`(..wpQ^n\^ak*Mwm.,W<T9uX!QXRi\\)*#
zo9&^
Ct2`FD0NgU(G(/Q
X'cuWh"Uy89/oWyBIa3bud]cH?6!:%&y,&b
z'*/2
.nT\*
K _EIkRsBXF7Rj7GT_eC8S[9OGM2^4O<5/
,:
<p>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: message.zip
Type: application/octet-stream
Size: 22796 bytes
Desc: message.zip
Url...
2008 Feb 17
2
Mac OS X 2.5.1 / reg-plot.R / tr (PR#10781)
...9;m surprised that this doesn't seem to have been reported before, but
it was already present at least in R 2.6.1
Incidentally, couldn't the handling of line endings now be left to
svn:eol-style?
Andrew Runnalls
--
Dr Andrew Runnalls,
Computing Laboratory,
University of Kent,
CANTERBURY CT2 7NF, UK
Tel: (0)1227 823821
2008 Jan 25
3
strsignif.c, util.c (PR#10635)
In R 2.6.1, a couple of places (discovered using valgrind) where the
requested size of string buffers fails to account correctly for the
trailing null byte:
1. In src/appl/strsignif.c, 'f0' and 'form' at l. 108-9 each need at
least 1 extra byte.
2. In src/main/util.c, 'out' at l. 1081 needs at least one extra byte.
(Remember that the return value of strlen does not
2012 May 16
3
triangular matrices input/output
Hi,
Is there any package that deals with triangular matrices?
Say ways of inputting an upper (lower) triangular matrix?
Or convert a vector of length 6 to an upper (lower) triangular matrix (by
row/column)?
Thanks!
-----
######################
PhD candidate in Statistics
Big R Fan
Big LEGO Fan
Big sTaTs Fan
######################
--
View this message in context:
2002 Feb 28
3
R-plots with 'complex' axis-labelling
Hi there,
I want to create plots with some kind of 'complex' axis labelling of the form
$\dot{V}$ and integrate those plots into a LaTeX document. What is the best
way to go?
I've figured out, that the 'plotmath' commands are somewhat limited (at least
I wasn't able to get the $\dot{V}$ generated) and that plots with
'plotmath'-axes wouldn't export
2000 Aug 30
3
family question
Dear friends. Please see the program below and answer if it does simulate a
population of 1.000.000 families, each with at max 20000 children (typical
in Denmark, you know), constructed such that each family stops having
children when more boys than girls are present ? Equal numbers of boys and
girls are got in the population, according to the simulation, is that obvious ?
ND <- NP <-