similar to: Background color of plot

Displaying 20 results from an estimated 130 matches similar to: "Background color of plot"

2003 Feb 03
1
Problems with table
Hi, I'm having difficulties in the manipulation of the function table. Necessary to have access its elements and I am not obtaining. For example, if I have a data.frame with name "df" and make: t < - data.frame(table(df)) and later trying to make a comparison of the type t[1,1 ] < 0.1, generates an error of the type: [1] NA Warning message: "<" not meaningful for
2006 Jan 25
2
Question about fitting power
Hi R users I'm trying to fit a model y=ax^b. I know if I made ln(y)=ln(a)+bln(x) this is a linear regression. But I obtain differente results with nls() and lm() My commands are: nls(CV ~a*Est^b, data=limiares, start =list(a=100,b=0), trace = TRUE) for nonlinear regression and : lm(ln_CV~ln_Est, data=limiares) for linear regression Nonlinear
2009 Jan 08
10
help
Hi: I am going through some of the xtable examples and I can't make the one below work. I need to create a longtable on the fly keeping the column headers for all the pages and I thought this example could give some ideas on how to do it. I am using Sweave and xtable to create my tables and graphics. I wonder if someone could tell me what's wrong. Thanks ## Not run: \begin{small}
2010 Apr 20
3
Basic doubt on ylim
Hi all, I'm a newbie with R and with a very basic question. Can I define the minor unit for ylim? For example, I have a y scale ranging from 1 to 14, jumping automatically every 2 units, but I want it to jump 1 unit at a time...is it possible? I tried something like >boxplot(bla[,1], xlim=c(1,15,1) and it didn't obbey... :( any suggestion?? Cheers from Portugal! Patrícia -- View
2009 Oct 28
1
Is there a faster way to do it?
#Mdarts is a matrix 2343x788 #frequencia is a vector 2343x1 # 9 in Mdarts[fri,frj] stands for my missing values which i want to replace by the value in the vector frequencia Mdarts<-t(matrix(scan("C:/GWS/CNB/dartg.txt"),ncol=nindT,nrow=nm, byrow=T)) frequencia <- matrix(scan("C:/GWS/CNB/freq.txt"),ncol=1) for (fri in 1:nindT){ for (frj in 1:nm){ Mdarts[fri,frj] <- if
2013 May 02
3
Lattice xyplot multipanels
Derar Rxperts, I have a strange situation.. I see curly brackets around "strip.levels" in multipanel strips while using lattice::xyplot. .How do I get rid of the curly brackets? For some reason, I am not able to reproduce the problem using an example below... Any suggestions are highly welcome! Thanks, Santosh q <-
2013 May 17
1
Problem with ordiellipse coloured factor in Vegan
Hello R experts, I am trying to plot ordiellipse for my data but the col according to factors. Metabolites_raw= read.csv(file.choose(), head = TRUE) #file 21Metabolites.csv Metabolites_t=t(Metabolites_raw[,2:82]) ord <- metaMDS(Metabolites_t, distance="bray") symbol=as.numeric(Metab_metadata$LandType) col.list <-
2011 Jan 27
1
How to xyplot without borders
Hello I have the following data.frame and xyplot. I need this plot without the borders. Does anybody know how to get this xyplot without borders o with white borders? Thank's in advance Juan Hernández my.label <- data.frame(quantil=rep(20,8), my.factor=factor(c('FA','FB','FC','FD','FE','FG','FH','FI'))) library(lattice)
2013 Jun 11
2
calculo de poder estadistico en glm
Estimado Matias, Reenvio a la lista. Es tarde aqui y hay que descansar. Quizas alguien en otra parte del mundo pueda darte una mano. En unas horas te envio mi opinion. Saludos, Jorge.- 2013/6/11 Matias Ledesma <> > Hola Jorge, > > Muchas gracias por las referencias, ya consegui el libro asi que me voy > aponer a leerlo aver si encuentro una solucion. > > La data
2013 Jun 10
1
Using Lattice, LatticeExtra - Hide right and top axes in multipanel plots
Dear Rxperts, How do I hide the top and right axes in multiple panel plots? A couple of examples are provided below.. Would highly appreciate appreciate your assistance.. #Example 1 library(latticeExtra) xyplot((1:200)/20 ~ (1:200)/20, type = c("p", "g"), scales = list(x = list(log = 2,alternating=0), y = list(log = 10,alternating=0)), xscale.components =
2013 Jun 12
3
calculo de poder estadistico en glm
Estimado Javier, Gracias por tus comentarios. Si, puede ser que me haya expresado en forma incorrecta. Mi idea fue tratar de ser lo mas conciso posible y limitarme al problema estadistico que tengo, por lo cual obvie mucha informacion. La data proviene de un monitoreo que se hace en el Mar Baltico anulamente hace mas de 20 años, debido a que la poblacion a decendido drasticamente en los
2013 Jun 11
0
calculo de poder estadistico en glm
Estimado Matías Ledesma Leí en la lista lo que usted desea realizar, en la misma expresa: La idea del estudio es mostrar un valor medio con un intervalo de confianza por estación de la frecuencia de malformaciones por individuo. Creo que se expreso en forma incorrecta, yo no se cuál es su estudio, yo no soy estadístico, soy veterinario, pero lo que usted expresa en su idea, aunque en
2013 Jun 12
0
calculo de poder estadistico en glm
From: matutetote@hotmail.com To: javier.ruben.marcuzzi@gmail.com CC: r-help-es@r-project.org Subject: RE: [R-es] calculo de poder estadistico en glm Date: Wed, 12 Jun 2013 07:24:13 +0000 Estimado Javier, Gracias por tus comentarios. Si, puede ser que me haya expresado en forma incorrecta. Mi idea fue tratar de ser lo mas conciso posible y limitarme al problema estadistico que tengo, por lo
2013 Sep 04
3
Fwd: Bienvenido a la lista de distribución R-help-es
Hola Jose, si CONCATENAR significa APILAR, es decir, concantenar verticalmente, por decirlo de algun modo, podrias hacerlo con rbind(): nuevovector <- rbind(vector1,vector2) Si ademas quieres que cada valor de los vectores originales sea identificado en el nuevovector, puedes usar: nuevovector <- stack(vector1,vector2) en este ultimo caso se agrega una columna adicional tipo factor, con
2011 Dec 08
0
Label margins in multiple perspective plots per page
Hi folks~ As yet I've been unable to determine how to expand the distance between the tick marks and tick labels in perspective plots. None of the 'par' setting appear to be applicable to this (including mfg), and placing multiple plots per page results in a bit obscurity, with the tick values overlapping either the tick marks or the axes themselves. The code:
2013 Apr 30
0
Grouped spaghetti plots in multipanel graphs
Dear Rxperts, Is there a simpler way to generate multipanel grouped individual profile plots? All individuals of a group within a panel have the same color. As of now I am using lattice::xyplot to get the desired effect. Please feel free to suggest other ideas. Also, I am trying to create a generalized function which goes on similar lines like this.. grpPlot <- function(dat, mpgrp=quote(G),
2009 Aug 07
0
Bar plots with stacked columns marked with askterisks
Hi, I'm trying to plot bar graphs with stacked columns marked with askterisks for certain columns, which follow certain criteria. I've gotten the stacked bar plots with Data set A (please refer to code below). However, I haven't figured how to put asterisks on columns based on some extra information (such as "used/unused") as in Data set B i.e. asterisks at the
2002 Nov 04
0
persp(), x- and y-axis with character strings
Dear R list, I want to plot the yield curve in a 3D graph: the x-axis refers to time; the y-axis refers to the maturities and the z-axis are the yields. The following code works fine: persp(y, x, as.matrix(ypper), xlab="Last 50 periods", ylab="Maturities (months)",zlab="Yields", zlim=c(3,6),theta=130, phi=15, col="Seagreen", box=T,
2013 Jun 12
0
calculo de poder estadistico en glm
Hola, Si, lo eh pensado pero no eh tenido tiempo de ondar y tengo que profundisar en la biologia y en el procediminto del monitoreo. Dado que todos los años se muestera la misma estacion talvez habria que utilizar un glmm en vez de glm... En realidad lo que estoy aplicando es el modelo de Hurdle, pero haciendolo en dos partes separadas ya que primero analizo la possiblidad que hay de encontrar
2013 Jun 12
0
calculo de poder estadistico en glm
Estimado Matías Epidemiología, no es un paquete, me refería a la parte de medicina, que por suerte en R hay herramientas que nos facilitan algunas de estas cuestiones. En http://cran.r-project.org/doc/contrib/Epicalc_Book.pdf hay un libro gratuito de R y epidemiología, aunque hay otros paquetes que tienen algunas cosas que pueden ser mejores, aunque muchas veces eso es a gusto personal o de