Displaying 20 results from an estimated 200 matches similar to: "Some SQL Challenges"
2009 Jul 07
2
How to separate the string?
Hi everyone,
Hi want to separate the string(column1) for example
column1 column2 column3 column4 column5 column6
bear b e a r
cat c a t
tiger t i g e r
I know how to do this in excel where using MID function.
Now I want to solve it using R. The list of strings is in
2013 Mar 21
2
Displaying median value over the horizontal(median)line in the boxplot
Hi,
set.seed(45)
test1<-data.frame(columnA=rnorm(7,45),columnB=rnorm(7,10)) #used an example probably similar to your actual data
apply(test1,2,function(x) sprintf("%.1f",median(x)))
#columnA columnB
# "44.5"? "10.2"
par(mfrow=c(1,2))
lapply(test1,function(x) {b<-
2007 Oct 19
1
(no subject)
# Hello
# I have a question regarding pairwise calculations of a matrix using a
"for-loop."
# Below I have a matrix "X" with 8 columns. These are Genotypic data so
Column1 & Column2 is
# a unit, Column3 & Column4 is a unit, Column5 & Column6 is a unit, and
Coulmn7 & 8 is a unit.
# I have a loop designed to calculate the number of times an individual in
2009 Jul 03
2
Simple one
Just a quickly beginner's question.
I wanna find the mean only from the values from a column related to specific
values from another one. Like, theres a 'region' column, i want the mean of
the value on 'profit' column only from "south" sells from 'region' column
--
View this message in context: http://www.nabble.com/Simple-one-tp24329691p24329691.html
Sent
2007 Oct 19
1
conduct pairwise column comparisons without comparing a column to itself
# Hello
# I have a question regarding pairwise calculations of a matrix using a
"for-loop."
# Below I have a matrix "X" with 8 columns. These are genotypic data so
Column1 & Column2 is
# a unit, Column3 & Column4 is a unit, Column5 & Column6 is a unit, and
Coulmn7 & 8 is a unit.
# I have a loop designed to calculate the number of times an individual in
2009 Jul 05
1
SQL on R
I'm dealing with lots of columns and conditions, wats t best way to deal with
that?
How do I work with SQL on R? the manual is quite confuse talking about that.
Do I need a package?
--
View this message in context: http://www.nabble.com/SQL-on-R-tp24340314p24340314.html
Sent from the R help mailing list archive at Nabble.com.
2009 Aug 20
1
problems with RODBC, sqlQuery
Hello,
Im trying to get a Oracle database to R, but I'm having problems with most
of SQL sintax. Suppose that Im trying to bring a table "TABLE" with columns
"COL1","COL2",.. from schema "SCHEMA". What am I doing wrong?
library(RODBC)
channel<-odbcConnect("xxx",uid="xxx",pwd="xxx")
sqlQuery(channel, "select * from
2009 May 14
2
Function to read a string as the variables as opposed to taking the string name as the variable
I am writing a custom function that uses an R-function from the
reshape package: cast. However, my question could be applicable to
any R function.
Normally one writes the arguments directly into a function, e.g.:
result=cast(table1, column1 + column2 + column3 ~ column4,
mean) (1)
I need to be able to write this statement as follows:
result=cast(table1, string_with_columns ~
2012 Jun 12
4
How to index a matrix with different row-number for each column?
here's my question: suppose I have a matrix:
mt<-matrix(1:12,ncol=6)
now I have a vector
vt<-c(1,2,2,2,1,2)
which means I want to get:
the 1st row for column1;
the 2nd row for column2;
the 2nd row for column3;
the 2nd row for column4;
...
that what I want is this vector:
1,4,6,8,9,12
Does anyone know how to do this fast?
I know I can use for-loop to travel all columns,but
2024 Jun 06
2
R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis
Hello everybody,
I have experience coding with R, but am brand new to R Shiny. I am trying
to produce an application that will allow users to upload their own
dataset, select columns they want an ANOVA analysis run on, and generate
graphs that will allow users to view their results. However, I am getting
the following error: *"Argument is of length zero."*
Being new to Shiny, I am
2004 May 05
1
Using the same LDAP entry for posixAccount and
Hola Soy Maricela
Debo realizar un proyecto de autenticacion de usuarios para una red interna de una empresa, esto se realizara en linux con Samba 3.0.2 y LDAP.
Estube mirando este articulo porq me recomendaron usar:
sambaSamAccount y posixAccount, pero tengo dudas.
Queria preguntarte si me puedes ayudar:
1. El esquema jerarquico es definir el los componentes de domino y los objectclass
2010 May 15
1
conditional calculations per row (loop versus apply)
Hi all,
I'm hoping someone might help with a query about conditionally applying formulas to a dataframe.
In essence I have 3 lookup tables (Table A, B & C) and a dataframe with a variable Type.Code, which identifies the Lookup Table to which each record belongs. The lookup tables reference different sensor types for which I need apply a different formula to values in Column3 in each row
2007 Aug 07
2
array
Hello,
I have some files generated from microarray experiments. I used scan() to
read the files, and assigned each file to a unique name with many rows and
columns. Now I want to create a array (ArrayA) with unique names, and I can
use ArrayA[1,2][[6]] to refer the data in each file. Is there any packages
available for array of array?
Thanks!
[[alternative HTML version deleted]]
2006 Mar 14
5
New ncurses Asterisk Manager Interface
I am currently developing a asterisk ncurses interface using the manager
API. The project is currently awaiting sourceforge's approval but I have a
beta online at http://sig.lange.googlepages.com/assman . The projects real
home will be assman.sf.net. This project really consists of two parts,
libassman is a C manager API and assman is the ncurses portion. It's still
beta but I have been
2006 Jul 20
1
Can't connect with force user set (3.0.23)
Hi,
after an update to samba 3.0.23 i can't connect to shares if i set the
option force user.
Samba is used on a Freebsd 5.5p1 Server, the Domain Controller is a
Windows 2003 Server.
The [Global] part and a [Share] part follows:
# Global parameters
[global]
workgroup = IPRO.LEO
netbios name = UNIXSERVER
server string = IPRO Samba %v
interfaces = bge0
bind
2006 Jan 26
4
extension to extension dialing
Sorry for all the newbie questions. I really appreciate everyone's help
today.
Okay I've got outgoing and incoming calls working with no echo. yay! Now
I'm having an issue with SIP extension to extension calling. Any time I
dial another extension it goes right into voice mail. My
extensions.conf is pretty small and rough but, here's what I have right
now. Most of it was taken
2009 Mar 13
1
Realtime dialplan application versus REALTIME dialplan function
Hi All,
I'm upgrading some PBX's from 1.2 to 1.4 and having a bit of trouble with
converting the Realtime application to the REALTIME function. I have the
method down and understand simplistically what is going on, at least enough
to get my old 1.2 apps to run in 1.4 functions. I do not understand why
change from the app to the func? What the benefits?
To me, the app seemed so
2005 Jan 26
9
Cisco 7960 Message Light on multiple phones
Here is what I am attempting to do (which works well on Cisco Call
Manger). I have some 7960's that have multiple lines on them. The
second line specifically is a "helpdesk" line that is shared among
multiple phones. Here is how I am making that line ring on multiple
phones, maybe you have other suggestions:
exten => 135,1,Dial(SIP/135@100&SIP/135@101,20,rt)
So this
2005 Sep 05
1
AEC in speex
Hi
I was trying out the AEC in speex.
It would be helpful if some of you can answer these querries
1.After the error values are computated in teh daptation process a check -if
filter is completely mis-adapted - is performed. How could you explain the
criteria used for this check.
2.what exactly is meant by over-cancellation and under-cancellation ?
3.Also it was seen that without the
2015 Jul 09
5
[LLVMdev] [RFC] New StackMap format proposal (StackMap v2)
> On Jul 9, 2015, at 3:33 PM, Swaroop Sridhar <Swaroop.Sridhar at microsoft.com> wrote:
>
> Regarding Call-site size specification:
>
> CoreCLR (https://github.com/dotnet/coreclr <https://github.com/dotnet/coreclr>) requires the size of the Call-instruction to be reported in the GCInfo encoding.
>
> The runtime performs querries for StackMap records using