search for: gerifalte28

Displaying 20 results from an estimated 23 matches for "gerifalte28".

2004 Oct 28
3
ifelse() question
Hi I have a data.frame with dim = 18638 (rows) 6 (cols) names(dat) [1] "id" "long" "lat" "species" "type" "size" Variable "species" and "type" are factors. Species has 5 levels "BOV" "CAP" "CER" "OVI" "POR" Variable "type" has 11 levels
2003 Oct 15
2
Example of cell means model
...00 0.46666667 -1.43333333 Variety2:Density3 Variety3:Density3 Variety2:Density4 Variety3:Density4 1.86666667 -0.06666667 2.23333333 0.26666667 I hope this answers your question. Sorry for the delay in responding to you. "Francisco Vergara" <gerifalte28 at hotmail.com> writes: > Many thanks for your reply. An example would be very helpful to make > sure that I understand correctly what you described.
2005 Jun 10
6
us zipcode data map
i've search the email archives, searched the documention of various map packages and done an R-site search, but have been unable to find direct resources for creating maps of the US that are colored or annotated or ... by zipcode data. For example, create a map of the US and color each zipcode region by its population using two vectors z,p containing the zipcode and population,
2004 Jul 06
3
Code density functions
Hello I would like to see the algorithm that R uses to generate density functions for several distributions (i.e. Normal,Weibull, etc). I tried: >dnorm function (x, mean = 0, sd = 1, log = FALSE) .Internal(dnorm(x, mean, sd, log)) <environment: namespace:stats> How can I see the code used for densities? Thanks!
2004 Jun 25
4
Unique.data.frame...still getting duplicates
Hi there I have a data frame with about 65,000 rows and 8 variables. I am trying to get rid of the double entries of a factor variable "ID" so I can get a unique observation for each ID I tried: >dupl_unique.data.frame(data[ID,]) #I obtain a data frame with 21,547 >observations..so far so good, but then when I check for duplicates >d_duplicated(dupl2$ID)
2003 Oct 15
0
(no subject)
...ther you suggest to create a factor for each level of the original factors. Wouldn’t the first case generate collinearity problems under some situations? Many thanks again for your help Francisco >From: Douglas Bates <bates at stat.wisc.edu> >To: "Francisco Vergara" <gerifalte28 at hotmail.com> >Subject: Re: [R] (no subject) >Date: 08 Oct 2003 19:21:13 -0500 > >"Francisco Vergara" <gerifalte28 at hotmail.com> writes: > > > I want to specify the contrasts to build a cell means model on LME > > when there are several fixed effect...
2005 Jul 19
2
Obtaining argument name within a function
Dear all How can I obtain the name of the argument passed in a function? Here is a simplistic example of what I would like to obtain: myfunction= function(name) { print(paste("The parameter name was",unknownFunction(name)) } myfunction(myobject) [1] "The parameter name was myobject" Thanks Francisco
2004 Nov 09
3
Conditional selection of rows
Hi, I have a data.frame with several variables and 50,000 observations. i.e. data[1:2,1:7] Iteration Day Production.Type tsUSusc tsASusc tsULat tsALat 1 0 Generic 17965 8833053 0 0 1 1 Generic 17965 8833053 0 0 . . . 1 199 Generic 17237 8141028 26 23131 2 127 Generic
2005 Feb 03
1
help on "stack" function
...n "VEMS" and in "id" the "id" corresponding and in "age" the values between 5 and 18 corresponding to the age of the subject when the mesure was done. And this only when the value in "cohort" was 1. -----Message d'origine----- De : F Z [mailto:gerifalte28 at hotmail.com] Envoy? : jeudi 3 f?vrier 2005 19:38 ? : combe at b3e.jussieu.fr; R-help at stat.math.ethz.ch Objet : RE: [R] he^lp on "stack" function In the future please be a little more specific with your questions. i.e. give us an example of your data the way it looks now and the...
2005 Jun 16
3
Potential minor GUI bug
Is this an interface bug? Using RGUI for windows I run into a "Not Responding" process (I "smartly" coded an infinite loop, yaiks!), I hit esc and the interpreter was stopped and I recovered the console functionality but the caption on the R icon in my windows taskbar (the individual icon shown for every software currently running in the session) was not updated so the
2004 Jul 12
7
Excel file
Hi, How do I open an excel file in R? I have save the excel file in unicode text format, but it is not possible to open the file in R. /Pernilla
2006 May 10
3
Unique?
Hello, I have sample data set that looks like: YEAR MONTH DAY CONTINUE SPL TIMEFISH TIMEUNIT AREA COUNTY DEPTH DEPUNIT GEAR TRIPID CONVUNIT 1992 1 26 1 SP0073928 8 H 7 25 4 NA 1000000 02163399054 161 1992 1 26 1 SP0073928 8 H 7 25 4 NA 1000000 02163399054 8 1992 1 26 2 SP0004228 8 H 7 25 4 NA 1000000 02163399054 161 1992 1 26 2 SP0004228 8 H 7 25 4 NA 1000000 02163399054 8 1992
2005 Apr 13
1
i param in "for" loop does not takes zeros?
Hi all Is there any reason why the parameter i in a "for" loop ignores a value of zero? For example sim=c() p=.2 for(i in 0:5) {sim[i]=dbinom(i,5,p) } sim [1] 0.40960 0.20480 0.05120 0.00640 0.00032 In this example the quantile i= 0 was ignored since dbinom(0,5,p) [1] 0.32768 The same behaviour occurs if I use a while loop to perform the same calculation: sim=c() p=.2 i=0
2005 Aug 29
5
Testing if all elements are equal in a vector/matrix
Is there a canonical way to check if all elements of a vector or matrix are the same? Solutions below work, but look hackish to me. > x <- rep(1, 10) > all(x == x[1]) # == operator does not provide for small differences [1] TRUE > isTRUE(all.equal(x, rep(x[1], length(x)))) # ugly [1] TRUE Best, Vincent -- Vincent Goulet, Associate Professor ??cole d'actuariat
2004 Aug 27
4
FIML in lme
Hi I was asked if lme can use FIML (Full Information Maximum Likelihood) instead of REML or ML but I don't know the answer. Does anybody know if this is implemented in R? Thanks Francisco
2009 May 04
4
Surface for R outside of R
Hi all, i am new here and this is my first posting. My coding experience in R ist okay, but I have a problem which is related to another aspect of R. I am searching for a surface which execute my commands in R via a click on a button OUTSIDE of R. Concrete: I will write some programs in R and want to execute this files outside of R, so I don't want to start R eyery time if i want an
2009 May 05
1
self organizing map advice for categorical data
...//www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius, MD Heritage Laboratories West Hartford, CT ------------------------------ Message: 41 Date: Mon, 04 May 2009 12:43:42 -0600 From: "Francisco J. Zagmutt" <gerifalte28 at hotmail.com> Subject: Re: [R] Surface for R outside of R To: r-help at stat.math.ethz.ch Cc: r-help at r-project.org, koj <jens.koch at gmx.li> Message-ID: <49FF375E.7020904 at hotmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Koj, I just completed a Wi...
2004 Aug 27
1
selecting unique columns of a matrix/data frame
...rivate Bag 92019 > Auckland > New Zealand > 64 9 3737599 x85392 > paul at stat.auckland.ac.nz > http://www.stat.auckland.ac.nz/~paul/ > > > > ------------------------------ > > Message: 87 > Date: Fri, 27 Aug 2004 00:30:06 +0000 > From: "F Z" <gerifalte28 at hotmail.com> > Subject: [R] FIML in lme > To: R-help at stat.math.ethz.ch > Message-ID: <BAY2-F35FHLqbp3eccm000238e7 at hotmail.com> > Content-Type: text/plain; format=flowed > > Hi > > I was asked if lme can use FIML (Full Information Maximum Likelihood) >...
2003 Oct 08
0
Sorry! Previous subject was cell means model in LME
Hi everybody I want to specify the contrasts to build a cell means model on LME (each coefficient is the mean value of the independent variable for the specific category of a factor variable) when there are several factors as fixed effect in the model and also interactions between them. Can anybody give me a hint on how to do accomplish this? Also, how can I override the default
2006 Apr 26
1
lwd - Windows
Dear all Is there a way or trick in windows to plot a line width that is not an integer i.e 1.5? I am aware that the documentation for window devices states "Line widths as controlled by par(lwd=) are in multiples of the pixel size, and multiples < 1 are silently converted to 1" but I was wondering if there is a workaround this. Also, IMHO the documentation for lwd in par may