search for: hvillalo

Displaying 13 results from an estimated 13 matches for "hvillalo".

2007 Jun 12
2
barplot and map overlay
...t each barplot in specific locations on the map, namely at the center of "statistical squares". I´ve seen an example in Paul Murrell´s "R Graphics" book that seems appropriate (grid package), but a bit complicated. Thanks a lot for any advice. Héctor -- Héctor Villalobos <hvillalo@ipn.mx> CICIMAR - IPN A.P. 592. Col. Centro La Paz, Baja California Sur, MÉXICO. 23000 Tels. (+52 612) 122 53 44; 123 46 58; 123 47 34 ext. 2425 Fax. (+52 612) 122 53 22 [[alternative HTML version deleted]]
2010 Jan 19
4
coping with a warning in if()
...ot;other" if ( !(result %in% c("simple", "s", "complete", "c")) ){ stop("specify type of result 'simple' or 'complete'") } else { res <- rnorm(n) res } Thanks for your time H?ctor -- H?ctor Villalobos <hvillalo at ipn.mx> CICIMAR - IPN A.P. 592. Col. Centro La Paz, Baja California Sur, M?XICO. 23000 Tels. (+52 612) 122 53 44; 123 46 58; 123 47 34 ext. 82425 Fax. (+52 612) 122 53 22
2009 Aug 10
1
manipulating text to generate different formulas to use in nls()
...nip$Phase[4], f1=1/inip$period[1], f2=1/inip$period[2], f3=1/inip$period[3], f4=1/inip$period[4]) ) ## not run. These two will be used in res <- nls(modl, data=data.frame(y, x), start=initP) Thank you in advance for any insigth. H?ctor -- H?ctor Villalobos <hvillalo at ipn.mx> CICIMAR - IPN A.P. 592. Col. Centro La Paz, Baja California Sur, M?XICO. 23000 Tels. (+52 612) 122 53 44; 123 46 58; 123 47 34 ext. 82425 Fax. (+52 612) 122 53 22
2009 Jan 19
2
plotting arrows with different colors and varying head size
...;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods [7] base other attached packages: [1] car_1.2-9 hdf5_1.6.7 -- Héctor Villalobos <hvillalo@ipn.mx> CICIMAR - IPN La Paz, Baja California Sur, MÉXICO [[alternative HTML version deleted]]
2002 Apr 17
1
zero center a group of variables
*This message was transferred with a trial version of CommuniGate(tm) Pro* A simple question, perhaps to simple, but I am new to R: For a data frame with k variables and n1+n2 observations (two groups) how can i substract the group means for every variable, so both group variables become centered to mean zero? Thanks in advance for your help H?ctor
2005 Jun 03
1
Reading biplot function's source code
...lot) which only gives me: function (x, ...) UseMethod("biplot") with no further details.... I'd like to read the code to see if it is possible to display arrows only for some "significant" variables to avoid cluttering. Thank you in advance. -- H??ctor Villalobos <hvillalo at ipn.mx> IPN-CICIMAR. A.P. 592. Col. Centro La Paz, Baja California Sur, M??XICO. 23000
2010 Apr 15
0
nested (hierarchical) anova
...# P ## or from the second row in the two way anova: summary( aov(cChol ~ drug + dsource, data=zar) ) In order to avoid confussion in our students (and myself!) I wonder if we can obtain the desired results in one step? Thank you in advance for your kind help. Héctor -- Héctor Villalobos <hvillalo@ipn.mx> CICIMAR - IPN A.P. 592. Col. Centro La Paz, Baja California Sur, MÉXICO. 23000 Tels. (+52 612) 122 53 44; 123 46 58; 123 47 34 ext. 82425 Fax. (+52 612) 122 53 22 [[alternative HTML version deleted]]
2007 Jul 04
1
retrieving stats from bwplot
Hi all, I want to retrieve the stats from a 'bwplot' with one factor. I have read the help for 'panel' function and I'm aware of the option 'stats' which defaults to 'boxplot.stats' but I didn't understand it well and therefore I am unable to get what I need. Thanks in advance. Héctor Villalobos Windows XP, R 2.5.0 > bwplot(decrease ~ colpos |
2008 Nov 27
2
as.numeric in data.frame, but only where it is possible
Hi, I would like to convert my "character" sequences in my matrix/ data.frame into "numeric" where it is possible. I would also like to retain my alphabetic character strings in their original forms. "5.1" > 5.1 "hm" > "hm" k<-matrix(c("aa", "bb", 1,2, 4.3, 0), nrow=2) mode(k) <- "numeric" #
2009 Dec 02
4
problems installing R packages
Hi, I?m trying to install new package in R (version 2.4.0) under windows vista and i have problems. I always receive the same message: Erro en zip.unpack(pkg, tmpDir) : no fue posible abrir el archivo 'C:/Program Files/R/R-2.4.0/library/file2019500d/mprobit/libs/mprobit.dll' It can?t open the file. I check the compatibility with the version and is ok, I have no idea where's the problem
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,   Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.   One function that has me stumped is "sink." Can anyone tell me if this stands for something?   Thanks,   Paul         __________________________________________________ [[alternative HTML
2008 Jun 13
1
nls() vs lm() estimates
Hi, I'm trying to understand why the coefficients "a" and "b" for the model: W = a*L^b estimated via nls() differs from those obtained for the log transformed model: log(W) = log(a) + b*log(L) estimated via lm(). Also, if I didn't make a mistake, R-squared suggests a "better" adjustment for the model using coefficients estimated by lm() . Perhaps I'm
2007 Jun 19
2
axis labels in multiple plots
Hi, I'am trying to make a multiple bar plot over a map and I'm having difficulties with the distance between axes labels and the axis. Trying to control this with mgp does not help because it controls both axes simultaneously. For example, with default values (mgp = c(3, 1, 0)) y-axis labels are ok, but x-axis labels are not. Setting mgp = c(3, 0, 0) gives good x-axis labels but the