Displaying 20 results from an estimated 1200 matches similar to: "elimination duplicate elements sampling!"
2005 Jun 29
2
quick way to construct formula
Dear R users,
I have a data with 1000 variables named "x1", "x2", ..., "x1000", and
I want to construct a formula like this format:
~x1+x2+...+x1000+x1:x2+x1:x3+x999:x1000+log(x1)+...+log(x1000)
That is: the base variables followed by all interaction terms and all
base feature log-transformations. I know I can use several paste
functions to construct it. But is
2017 Jan 24
5
Linking Linux kernel with LLD
>Our tokenizer recognize
>
> [A-Za-z0-9_.$/\\~=+[]*?\-:!<>]+
>
>as a token. gold uses more complex rules to tokenize. I don't think we need that much complex rules, but there seems to be >room to improve our tokenizer. In particular, I believe we can parse the Linux's linker script by changing the tokenizer rules as >follows.
>
>
2010 Feb 12
1
List to matrix or to vectors conversion
Dear list,
I have a list with 1000 x1000 lines and columns do you know how I can
convert it to matrrix or data.frame.
Thanks.
Juan
--
Juan Tomás Sayago
Universidad Central
http://sites.google.com/site/juantomassayago/
Objetivo: Garantizar a cada ser humano que habite en el país, una cantidad
mínima de agua con calidad segura para el consumo humano, en forma regular,
permanente y suficiente para
2010 Apr 14
6
sum specific rows in a data frame
I have a data frame called "pose":
DESCRIPTION QUANITY CLOSING.PRICE
1 WHEAT May/10 1 467.75
2 WHEAT May/10 2 467.75
3 WHEAT May/10 1 467.75
4 WHEAT May/10 1 467.75
5 COTTON NO.2 May/10 1 78.13
6 COTTON NO.2 May/10 3 78.13
7 COTTON NO.2 May/10 1 78.13
2011 Mar 22
1
help need on working in subset within a dataframe
Dear R-experts
Execuse me for an easy question, but I need help, sorry for that.
>From days I have been working with a large dataset, where operations are
needed within a component of dataset. Here is my question:
I have big dataset where x1:.....x1000 or so. What I need to do is to work
on 4 consequite variables to calculate a statistics and output. So far so
good. There are more vector
2017 Jan 27
2
Linking Linux kernel with LLD
On Tue, Jan 24, 2017 at 11:29 AM, Rui Ueyama <ruiu at google.com> wrote:
> Well, maybe, we should just change the Linux kernel instead of tweaking
> our tokenizer too hard.
>
This is silly. Writing a simple and maintainable lexer is not hard (look
e.g. at https://reviews.llvm.org/D10817). There are some complicated
context-sensitive cases in linker scripts that break our approach
2006 Jul 12
7
Does anyone work with iso-8859-1 database ?
hello,
Our database is in is-8859-1, and I want to update some text fields
without success due to some accentuate characters ?? ect ...
In my html page (where the charset is iso-8859-19) my textarea
display the accentuate characters well and when the user post the form
... I thought that I just need to save it .... without success since
ruby map one byte for one character ...
So I
2012 Nov 14
5
aggregate combination data
Dear R users,
I want to aggregate all *d *data from all combination of n *plots* taken
by k.
Thank very much!
My data is like that:
plot d 1 14 1 13 1 12 1 14 1 18 1 20 1 21 1
43 1 108 1 43 2 41 2 61 2 83 2 61 2 84 2 45 2 21 2 12 2 11 ... 100
10
100 12
--
---
Catalin-Constantin ROIBU
Forestry engineer, PhD
Forestry Faculty of Suceava
2003 Aug 12
1
Working with FWD, IPTel, SIPPhone?
I'll admit it. I'm a asterisk newbie (but no stranger to telephony).
The setup is simple: two Grandstream BudgeTel 100 phones (SIPPhone
specials) on a private segment calling to a Linux box acting as the
segment's firewall with a leg on our public network. The phones are
setup as SIP/phone1 (x1000) and SIP/phone2 (x1001), respectively (thanks
to the Asterisk HOWTO).
Getting IAX
2012 Jun 08
1
Saving estimates after nested loops
Hi R-listers,
Savings regression results after a loop is straightforward. But what about when you have nested loops?
I am running a regression of the form
lm(y~1+x+M+ D[,i] + D[,j] + D[,k])
where x is the variable of interest. M and D are vectors with other covariates.
Vectors "M" and "x" are included in every regression. Then i loop over the columns of D to use all
2006 Mar 03
5
avoiding nil object error?
I''m a total Rails newbie and i''ve been struggling for hours today
with one (prolly very silly) problem:
I have a table portfolios that has many images:
class Portfolio < ActiveRecord::Base
has_many :images
end
class Image < ActiveRecord::Base
belongs_to :portfolios
end
In the controller i define a list of active portfolios:
@active_portfolios =
2004 Dec 19
2
dialplan selection
Hello,
I would like to parse inbound Asterisk IAX2 7-digit numbers in the form of
123-4567 and strip out the first four digits, and then dial whatever number
digits remain. If I only have three digits (000-999) and have a mix of
channels (ZAP, SIP, IAX2) could someone please point out how I can use a
single DIAL command to just dial the extension regardless of the type of
channel. .. For each
2006 Nov 09
2
Algorithm needed
I have a matrix of size "n" and I want to create a new one in which the columns
are sums of the original matrix, with some order in the sums. For example, if
matrix A has 4 columns, then the new matrix should have 6 columns with the
following info from the columns of A: 1+2, 1+3, 1+4, 2+3, 2+4, 3+4. If matrix A
has 5 columns, then the new matrix has 10 columns: 1+2, 1+3, 1+4, 1+5, 2+3,
2011 Feb 25
1
help please ..simple question regarding output the p-value inside a function and lm
Dear R community members and R experts
I am stuck at a point and I tried with my colleagues and did not get it out.
Sorry, I need your help.
Here my data (just created to show the example):
# generating a dataset just to show how my dataset look like, here I have x
variables
# x1 .........to X1000 plus ind and y
ind <- c(1:100)
y <- rnorm(100, 10,2)
set.seed(201)
P <-
2010 Aug 20
1
Problem to compute a function with very large numbers
Dear R users,
I have been trying to compute the following function and need it to work
with n=15000, but it would only compute for smaller ns, such as n=1000 and
not above. I was wondering if anyone would have a solution for this problem!
Thank you very much for your kind support!
Sincerely,
Nan
------
Wi <- function(n) {
fun <- function(w,i){
2012 May 11
3
Calculating all possible ratios
I have a data matrix with genes as columns and samples as rows. I want to
create all possible gene ratios.Is there an elegant and fast way to do it in
R and write it to a dataframe?
Thanks for any help.
Som.
--
View this message in context: http://r.789695.n4.nabble.com/Calculating-all-possible-ratios-tp4627405.html
Sent from the R help mailing list archive at Nabble.com.
[[alternative HTML
2009 May 18
7
callcenter / dialer / predictive dialer / vicidial program is now open
This is a global message to all to announce our callcenter / dialer /
predictive dialer / vicidial program is now open.
Codecs: G711, GSM, G729, G723
Protocols: SIP
Duration Rate : 30/6 (6/6 with monthly minutes over 100,000)
Channels : 100 to start with , more on demand.
We are predictive dialer friendly , your account will not be shut off.
Contact us to do a test run.
Mike
2012 Jul 23
2
Bug in my code (finding nonzero min)
Can someone verify for me if the for loop below is really calculating the
nonzero min for each row of a matrix? I have a bug somewhere in the is
section of code. My first guess is how I am find the the nonzero min of each
row of my matrix. The overall idea is to make sure I am investing all of my
money, i.e. new.set is a set of indicator variables for each stock for a
particular portfolio, i.e.
2011 Jan 27
2
help for a loop procedure
Hello everybody!
I’m trying to define the optimal number of surveys to detect the highest
number of species within a monitoring season/session.
To do this I want to run all the possible combinations between a set of
samples and to calculate the total number of species for each combination of
2, 3, 4 …n samples events, so that at the end I will be able to define which
is the lowest number of
2010 Jul 30
2
finding a function or a line while debugging?
guRus
Is there a way by which I can search for a particular function or a
particular line of code within the maze of all the R codes that are
interlinked? Say for instance I am running a code using quantstrat package
and on a particular line I get the error saying x is missing in is.array(x).
I want to figure out where is.array is in all the codes that my code refers
to? How do I do this? Is