similar to: extract columns using their names

Displaying 20 results from an estimated 100 matches similar to: "extract columns using their names"

2004 Jan 07
2
segments in 3d space
Hi all, Is it possible to draw line segments in a 3d space plot? I'm interested to draw the errors from an observed value to the regression plane, for a textbook example in an Intro Stats handbook for multiple regression. I used the scatterplot3d package to draw the regression plane. Many thanks, Adrian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Adrian Dusa (adi@roda.ro) Romanian Social
2003 Dec 17
5
beginner programming question
Hi all, The last e-mails about beginners gave me the courage to post a question; from a beginner's perspective, there are a lot of questions that I'm tempted to ask. But I'm trying to find the answers either in the documentation, either in the about 15 free books I have, either in the help archives (I often found many similar questions posted in the past). Being an (still actual)
2003 May 28
2
missing values
Dear list members, I'm relatively new to this list; can anyone tell me how to declare missing values once a dataset has been attached? For example here: VAR1 1 1 2 2 3 1 4 3 5 2 6 1 7 3 8 3 9 1 10 2 11 98 12 2 13 97 14 99 15 NA 16 3 I would like values 97, 98 and 99 to be treated as missing values. I read
2005 Jan 05
3
Tuning string matching
Dear list, I spent about two hours searching on the message archive, with no avail. I have a list of people that have to pass an on-line test, but only a fraction of them do it. Moreover, as they input their names, the resulting string do not always match the names I have in my database. I would like to do two things: 1. Match any strings that are 90% the same Example: name1 <- "Harry
2004 Aug 06
5
Memory leak in denoiser + a few questions
Hello The st->zeta pointer isn't freed in the speex_preprocess_state_destroy() function of the preprocess.c file (alloced in line 167). It's in Speex 1.1.4 by the way. I'm trying to make the denoiser work with my application and has got reasonable noise reduction after applying the denoiser. I, however, haven't been able to find any information of what the purpose of
2004 Mar 26
4
multicolumn sort on dataframe?
I couldn't find any reference to this in the FAQ, but is it possible to sort a dataframe by multiple columns? I've created some code, similar to the following: nspr.code <- sp.results$sp.code[order( sp.results$sp.code )] nspr.tpa <- sp.results$tpa[order( sp.results$sp.code )] nspr.code <- as.character( levels( nspr.code ) )[nspr.code] nspr.tpa <- as.numeric( levels( nspr.tpa
2004 Aug 18
1
Testing null values: ast_yyerror(): syntax error
OK, I'm going nuts here trying to correctly identify null values, specifically when callerID info is not available. FYI, I'm running Asterisk CVS-HEAD-08/17/04-13:08:53, and Bison 1.875a (debian Sid). A snippit of my dialplan looks like this: exten => s,1,SetCIDNum(${CALLERIDNUM}) exten => s,2,NoOp,${CALLERID} exten => s,3,DBGet(temp=idiot/${CALLERIDNUM}) ; Is the person calling
2004 May 19
2
indexing question
Hi, I have a problem and a rather poor solution that I would like to improve. There a 2 datasets with different number of cases like this: Dataset 'poploc? Dataset 'siruta? Case no. SIRUTA TYPE Case no. SIRUTA TYPE 1 1017 0 1 1017 3 2 1026 0
2015 Mar 04
4
Samba4+ClamAV
Senhores, bom dia! Tem como instalar o Samba 4 com o antivirus ClamAV? Achei v?rios artigos, mas n?o consegui fazer funcionar o ClamAV. Desde, j? agrade?o a aten??o de todos. Atenciosamente, Marcio Fiorette
2004 Aug 06
2
Complexity vs BitRate
Jean-Marc and others, We are using Speex inside our Video Conferencing application and have some questions about the trade-off of complexity vs bitrate. A little background information is needed: 1. For us the actual bit-rate isn't that big a deal. Speex running at 14kbps or 8 kbps is minor compared to the video traffic running at 128, 256 or 384 kbps. 2. We care a little about
2006 Jan 30
2
yet another vectorization question
Dear R-helpers, I'm trying to develop a function which specifies all possible expressions that can be formed using a certain number of variables. For example, with three variables A, B and C we can have - presence/absence of A; B and C - presence/absence of combinations of two of them - presence/absence of all three A B C 1 0 2 1 3 0 4 1 5 0 6 1
2006 Aug 30
4
pps limit ?
Hello, list members, can i limit pps rate with linux? How? -m limit does not fit, as i understood: it can help with low rates only (is that true? any suggestions?) Thank you, -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-'' ` G.m-"^m`m'' Dmytro O. Redchuk
2012 Feb 21
3
HELP ERROR Weibull values must be > 0
GUYS, I NEED HELP WITH ERROR: library(MASS) > dados<-read.table("mediaRGinverno.txt",header=FALSE) > vento50<-fitdistr(dados[[1]],densfun="weibull") Erro em fitdistr(dados[[1]], densfun = "weibull") : Weibull values must be > 0 WHY RETURN THIS ERROR? WHAT CAN I DO? BEST REGARDS [[alternative HTML version deleted]]
2004 Aug 06
1
speex preprocess redux
I'm not sure if this is due to the same problem, but I get the same clipping behavior when trying to use VAD+denoiser on a particular mic+speaker setup that has significant background noise (enough to really foul up the codec should the denoiser be turned off.) Leaving VAD off and transmitting continuously seems to be the only way to avoid this clipping. Another person I regularly
2003 Jun 02
0
function for Browse
Hi all, I'm trying to implement a Browse (for directories) button in one Rcmdr menu. Is there a function in the tcltk package for browsing (like tkgetOpenFile for opening files)? Thanks, Adrian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Adrian Dusa (adi@roda.ro) Romanian Social Data Archive (www.roda.ro) 1, Schitu Magureanu Bd. 76625 Bucharest sector 5 Romania Tel./Fax: +40 (21) 312.66.18
2004 Aug 06
2
speex preprocess redux
Tom Harper wrote: > Hi All & Jean Marc, > > Once again I find myself delving into the pre-processing code to fiddle > with the VAD, AGC and denoising code. > > Where i am at is that I have implemented all of Steve Kann's mods, and > they are 90% of the way there in terms of working, except that I am still > having issues denoising open air mics. But that is
2008 Oct 31
1
subset with variable number of subset arguments
I've got a big data.frame from which I need to extract data based on a variable number of Id's (InfCode). Until now I've been using the following dull solution as I never needed to search for more than 5 codes. Now my needs have increased faster than my R skills did and I need to call my function with about 25 values for x. There has to be a *apply or even simpler solution which
2012 May 02
2
How can a function in R handle different types of input?
Hi, How can a function in R handle different types of input? I have written a function, which should calculate the slope from several 3-time-point measurements by linear regression 4 three-time-point-measurements: x<-cbind(c(1,2,3,4),c(2,3,4,5),c(3,4,5,6)) time points: time<-c(1,3,9) function for calculating the slope by linear regression: fit<-function(xx,t){slope <-
2004 Aug 06
4
compile speexenc
Hello, Iam being to compile speexenc but I have the following error: LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library libspeex.lib(lsp.obj) : error LNK2001: unresolved external symbol _spx_cos Debug/speexenc.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Please, help me Guillaume --- >8 ---- List
2005 Nov 19
5
help with apply, please
Dear list, I have a problem with a toy example: mtrx <- matrix(c(1,1,0,1,1,1,0,1,1,0,0,1), nrow=3) rownames(ma) <- letters[1:3] I would like to determine which is the minimum combination of rows that "covers" all columns with at least a 1. None of the rows covers all columns; all three rows clearly covers all columns, but there are simpler combinations (1st and the 3rd, or 2nd