search for: jaci

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

Did you mean: jac
2009 May 11
3
Looking for a quick way to combine rows in a matrix
I'm working with genotype data in a frequency table: > a=matrix(1:16, nrow=4) > rownames(a)=c("AA","AT","TA","TT") > a [,1] [,2] [,3] [,4] AA 1 5 9 13 AT 2 6 10 14 TA 3 7 11 15 TT 4 8 12 16 'AT' and 'TA' are essentially the same, and I'd like to combine (add) the rows to reflect
2009 Apr 07
1
Pulling data into a model
I'm creating an ANOVA model. Is there a way to pull in consecutive columns of variables for the test? Example: aov1<-aov(y~x1+x2+REG[,2:num], data=REG) I'm not looking for interaction effects, I just want to create a model for the first few columns of variables (exact number and names will vary) and a few other predetermined variables (in the example I named them x1 and x2). Thanks
2009 Mar 25
1
Hopefully a simple question
What am I missing here? Both of my column headers in the 'FREQ' table are found in the 'genotype'; however, they aren't being recognized. > colnames(FREQ) [1] "X17362526" "X17362627" > colnames(genotype) [1] "X17362311" "X17362316" "X17362346" "X17362420" "X17362421" "X17362422"
2006 Oct 25
1
Quantile Regression
Hi, how is it possible to retrieve the corresponding tau value for each observed data pair (x(t) y(t), t=1,...,n) when doing a quantile regression like rq.fit <- rq(y~x,tau=-1). Thank you for your help. Jaci --
2009 Apr 21
3
Deleting rows or cols that do not meet cut off
How can I delete both rows and columns that do not meet a particular cut off value. Example: > d <- rbind(c(0, 1, 6, 4), + c(2, 5, 7, 5), + c(3, 6, 1, 6), + c(4, 4, 4, 4)) > f <- as.matrix(d) > f [,1] [,2] [,3] [,4] [1,] 0 1 6 4 [2,] 2 5 7 5 [3,] 3 6 1 6 [4,] 4 4 4 4 I would like to delete all
2006 Nov 04
1
Error when using cobs library
...con) qbsks2(): Performing general knot selection ... Error in as.matrix.csr(new("matrix.coo", ra = c(z1$design), ia = i1, ja = j1, : unable to find a non-generic version of function "as.matrix.csr" Any suggestions how to fix this problem? Thank you for your help. Jaci --
2006 Nov 09
0
problems with loading packages in R 2.4.0
...tes.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] "stats" "graphics" "grDevices" "utils" "datasets" "base" Regards Jaci --
2006 Nov 27
0
quantile regression - estimation of CAViaR
...s it possible to estimate the conditional autoregressive Value-at-Risk model qantile_t(tau)=a0+a1*qantile_(t-1)(tau)+a2*abs(r_(t-1)) see http://www.faculty.ucr.edu/~taelee/paper/BLSpaper1.pdf (page 10)) of Engle & Manganelli in R? The qantile_(t-1)(tau)-term causes headache. Kind regards, Jaci -- "Ein Herz f?r Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankesch?n: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
2006 Dec 27
1
how to suppress a "loading required package: ..." message
Hi, how to suppress a "loading required package:... " message? Kind regards Jaci --
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
Dear all, Can anybody tell me how to export a 3d figure made with the plot3d function? I'm careless about whether it's still interactive or not in another format, as long I can get it out of R. Thanks! Alejandro Gonz?lez Departamento de Biodiversidad y Conservaci?n Real Jard?n Bot?nico Consejo Superior de Investigaciones Cient?ficas Claudio Moyano, 1 28014 Madrid, Spain Tel +0034