similar to: Getting rows from a dataframe

Displaying 20 results from an estimated 4000 matches similar to: "Getting rows from a dataframe"

2003 Oct 09
2
AW: Getting rows from a dataframe
Df[x, ] Read 'an introduction to R' and 'FAQ' -----Urspr?ngliche Nachricht----- Von: Mark Lee [mailto:mark.lee at orbisuk.com] Gesendet: Donnerstag, 9. Oktober 2003 18:02 An: r-help at stat.math.ethz.ch Betreff: [R] Getting rows from a dataframe Sorry if this is a silly question. I'm trying to extract all elements of a dataframe at a particular row. I can find no mention
2006 Mar 11
6
is there a formatted output in R?
something like "sprintf" in C? so I can do: print(sprintf("the correct result is %3.4f\n", myresult)); ------- Also, I am desperately looking for a "clear console screen" function in R... thanks a lot! [[alternative HTML version deleted]]
2004 Apr 01
1
how to add a wiki page?
Hi, Pardon my naivety - but how do I add a new tiki page? I want to add one for 'wiki-Asterisk+cdr+pgsql'. thanks, James
2009 Feb 05
1
Streaming Speex over RTP
I am a brand new user of Speex, so forgive my naivety. I am receiving an audio stream (PCM) which I need to encode in Speex, send it across a wire via RTP, and then decode and play the audio on the other side. I assume people have done this before, and I was wondering if anyone had any sample code of how they accomplished this. Or maybe just some good pointers or advice. Thanks Shane
2016 May 04
2
llvm dynamic execution trace
Hi Dean, thank you for the response! I'm a newbie to LLVM, a student working on an LLVM project so I'm not quite sure of what you're suggesting, please excuse my naivety. To clarify there used to exist this http://llvm.org/releases/1.0/docs/CommandGuide/lli.html where you could type "lli -trace 'filename.bc' and you would get a dump of the dynamic excutiion trace. I
2009 Feb 19
4
type III effect from glm()
Hi all, This could be naivety/stupidity on my part rather than a problem with model output, but here goes.... I have fitted a fairly simple model m1<-glm(count~siteall+yrs+yrs:district,family=quasipoisson,weights=weight,data=m[x[[i]],]) I want to know if yrs (a continuous variable) has a significant unique effect in the model, so I fit a simplified model with the main effect ommitted...
2006 Aug 15
1
REML with random slopes and random intercepts giving strange results
Hi everyone, I have been using REML to derive intercepts and coeficients for each individual in a growth study. So the code is m2 <- lmer(change.wt ~ newwt+(newwt|id), data = grow) Calling coef(model.lmer) gives a matrix with this information which is what I want. However, as a test I looked at each individual on its own and used a simple linear regression to obtain the same information, then
2007 Jan 05
4
How To Spec Controllers with Finders
Given this code (which renders rjs), I''m faced with the fixture- driven way of spec-ing or mocking. How the heck to you mock this so the code at line (2) and (4) work right? I''m still struggling with mocks but it seems like this can be done. Forgive the naivety of this question. 1. def change_quantity 2. @line_item = LineItem.find_by_id(params[:id]) 3. unless
2002 May 27
3
functions and getting them into R
Dear All, I am new to R and can see it is a very powerful and versatile system for programming and statistical analysis. Say I have written a simple function and want to use it on a regular basis. I have the file as a text file say 'c:\R-funcs\func.txt' how do I get R to find it on the hard disc or alternatively where is the default location for looking up functions where I can place
2006 Oct 13
2
Version of R in saved workspaces
useRs and developeRs- Apologies for my naivety, but I just couldn't figure out how to open an old workspace (created using R 2.3.0) using R 2.3.0 and not R 2.4.0 which is currently happening. For all I know this has always been the case, but I'm having a problem with a function that doesn't work in 2.4.0 but does work in 2.3.1 (function is in the process of being fixed). So I would
2008 Oct 23
1
join fails samba 3.2 & ADS 2003R2 SP2
Hi, SLES10 SP2 x86_64 + Samba from repo (samba-3.2.4-8.1) When I try to join (net ads join -U Administrator), I get : Failed to join domain: failed to set machine spn: Can't contact LDAP server My Pre-2000 domain name is CLSC_COTENEIGES My DNS ADS name is clsccdn.rtss.qc.ca DNS is ok, I've created an A/PTR record for linux box, ADS seems ok also (netdiag/dcdiag) i've tryied adding
2003 Jul 28
5
hi
Guess what I have no clue what i am doing/ meant to do with R. i have just begun statistics for uni and all commands don't seem to work, they say syntax error, we are meant to put a hist.r in but ? please help, step by step, to use this program i would turn it on (it comes up rgui) is this wrong, have i put the wrong bit on it? Please help, I am so glad there is an R help Thankyou jill
2006 Aug 16
1
[SPAM] - RE: REML with random slopes and random intercepts giving strange results - Bayesian Filter detected spam
Can you provide the summary(m2) results? > -----Original Message----- > From: Simon Pickett [mailto:S.Pickett at exeter.ac.uk] > Sent: Wednesday, August 16, 2006 7:14 AM > To: Doran, Harold > Cc: r-help at stat.math.ethz.ch > Subject: [SPAM] - RE: [R] REML with random slopes and random > intercepts giving strange results - Bayesian Filter detected spam > > Hi again,
2015 Jul 09
5
[LLVMdev] Strong post-dominance in LLVM?
There is PostDominatorTree for determining post-dominance. Even if A post-dominates B and B is executed, that doesn't guarantee that A will be executed. For example, there could be an infinite loop in-between. Strong post-dominance makes the stronger guarantee that there will be no infinite loop from B to A. Do we have anything in LLVM for determining strong post-dominance and in general for
2016 Apr 24
2
Retrieving numeric value of instruction operand
Hi John, Thank you so much for the valuable answer! :) However, i have one tough issue that i need to solve, in my pass : let's say here %s = add %a, %b I need to check if the value of %a or %b is 2 or 4 and then apply a transformation to the other operand accordingly, for example if the value of %a = 2 the i'll multiply %b by 2 in my transform pass. I'm having a hard time
2000 Dec 31
3
The book: S Programming
Will the real book "S Programming" please stand up. As I searched for this book both on AMAZON.COM and AMAZON.CO.UK, I found two different versions. On AMAZON.COM my search reveals S Programming (Statistics and Computing) by Brian D. Ripley, William N. Venables. Our Price: $59.95. Availability: Usually ships within 24 hours. Hardcover - 264 pages 1st edition (May 15, 2000) Springer
2006 May 16
5
Interrater and intrarater variability (intraclass correlation coefficients)
Hello! I want to calculate the intra- and interrater reliability of my study. The design is very simple, 5 raters rated a diagnostic score 3 times for 19 patients. Are there methods/funtions in R? I only found packages to calculate interrater variability and intraclass correlation coefficients for matrices of n*m (n subjects, m raters) - I have n subjects, m raters and r repetitions. Can
2001 Mar 07
3
protocol 2 performance gain?
has anyone noticed a performance gain with protocol 2? -David Higdon
2003 Nov 10
1
criterion for variable selection in LDA
Hi Since a stepwise procedure for variable selection (as e.g. in SPSS) for a LDA is not implemented in R and anyway I cannot be sure, that all the required assumptions for e.g. a procedure using a statistic based on wilks' lambda, hold (such as normality and variance homogeneity) I would like to ask you, what you would recommend me: shall I e.g. define a criterion such as the error-rate
2001 Jun 14
2
haerdle package
Hi, Can anyone tell me what's wrong with the function below (I'm new to R) generator <- function(n, seed) { .Random.seed <<- seed data.1 <- rnorm(n)-1 data.2 <- rnorm(n)+2 data.3 <- runif(n) <= 0.6 data <- data.1*data.3 + data.2*(1-data.3) data } seed <- c(61,40,6,40,55,2,44,30,20,56,41,1) dat.mixed <- sort(generator(100,seed)) Error