similar to: with for objects

Displaying 20 results from an estimated 10000 matches similar to: "with for objects"

2018 Mar 16
1
Help on multi-line plot
Hello R-Users I am struggling with this line plot, it might be simple but I am missing something here. First of all I want to make multiple line plots across seasons (DJF,MAM,JJA,SON) for 12 variables (here, called nodes) and fill them with the node. So that season=x-axis, node=line col and freq=y-axis. My plot currently links all DJFs, MAMs, JJAs and SONs, however I will like them to be
2015 Nov 24
1
FW:
I finally could download and install the swirl package but when I want to load it using library (swirl) it gives the following message package ?swirl? successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\Emdad notebook\AppData\Local\Temp\RtmpEJyZTB\downloaded_packages > library(swirl) Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
2016 Apr 22
2
Problem installing/loading packages from Africa
I'm very new to R and I live in Mali, west Africa. I'm on *OS X 10.7.5*. I downloaded and installed *R 3.2.1*. I downloaded and installed *RStudio 00.99.893*. I ran through the free Microsoft data camp intro to R course, then started another free course through 'edX', for Data and Statistics for Life Sciences, using R. The first prompt in the course is to
2005 Mar 26
1
lme: random effects of a quadratic term
Hello, I am estimating the following model: so2.lme<-lme(so2~1+I(alcadakm^2)+dia,data=subjectes2,na.action=na.omit) And when I try to plot the random effects of the quadratic term with respect to a covariate (mam) I get an error: > so2.lmeRE<-ranef(so2.lme,augFrame=T) > plot(so2.lmeRE,form=I(alcadakm^2)~mam) Error in plot.ranef.lme(so2.lmeRE, form = I(alcadakm^2) ~ mam ) : Only
2017 Aug 09
2
Package nleqslv ERROR
Dear all, I am relatively new to R and have had some difficulty in understanding an error i get when running a code to solve a system of non-linear equations, with four equations and two variables. This is my code: ALPHA <- c(-0.0985168033402, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4) BETA <- c(-0.0985168033402, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4) GAMMA <- c(0.3940672148378, 0.1, 0.15,
2017 Aug 09
0
Package nleqslv ERROR
Santi, In the second line of your function you have the following: f <- numeric(length(x)) This sets the length of this numeric vector (i.e., "f") to the length of the vector "x". Later, inside the function you assign to values to 4 elements of the vector "f". This assumes that "f" is at least 4 element in length. However, you define
2008 Nov 11
1
Retrieving x argument name from a trellis object in R 2.8.0
Dear all, let consider the following function: Fun1 <- function() { library(lattice) plot1 <- 1:10~1:10 pl1 <- xyplot(plot1) return(pl1$call$x) } In R 2.5.0 (or older version) we have > Fun1() plot1 but starting from R 2.5.1 until the latest R 2.8.0 we obtain instead > Fun1() NULL because pl1$call seems to be equal to xyplot() without arguments. Something like
2002 Dec 06
2
Controlling graphics parameters in lattice
I'm just starting to work with lattice graphics, and am having difficulty understanding how to control various graphic parameters (font sizes, etc.). [I'm actually using xyplot via plot.effect() in the car package, and would like to be able to set some global defaults.] I read ?xyplot and ?trellis.par.set-- which contains no complete list of parameters, just a reference to
2019 Mar 13
1
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
On 3/14/19 2:04 AM, Hiroshi Yamauchi wrote: > > > On Wed, Mar 13, 2019 at 2:37 PM Fedor Sergeev <fedor.sergeev at azul.com > <mailto:fedor.sergeev at azul.com>> wrote: > >> >> - Add a new proxy ModuleAnalysisManagerLoopProxy for a loop pass >> to be able to get to the ModuleAnalysisManager in one step and >> PSI through it. >
2002 Dec 19
1
lattice and display
Hi, I have just started using lattice and it looks great. But I already have 3 questions about xyplot display. ---------------------------------------------------------------------------- --------------------------------- 1.I would like to create two differeny xyplot with different color to identify my different groups but I have trouble applying colors. Here are the scripts
2010 Nov 26
3
lattice: strange behavior (?) when using trellis.device(color=FALSE)
Dear expeRts, I am not sure if I found a bug... I would like to create a function that itself creates a lattice plot without colors. Following http://www.mail-archive.com/r-help at r-project.org/msg64699.html I use trellis.device() to set the colors to FALSE. Whenever I call the minimal example below *with* trellis.device(), Quartz opens a window (I am working on a MAC), which it shouldn't,
2004 May 05
0
externals controls normalization
I'm tryng to use loess normalization function based on externals controls (like MSP) as in Yang et al.; 2002 paper. I work with bioconductor marrayNorm package. I identified my controls in the maControls structure of marrayLayout as a vector of 0 and 1. Is someone still use it ? for the moment I just have ... test <- maNormMain(manip.raw, f.loc = list(maNormLoess(x="maA",
2005 Sep 25
2
xyplot main title question
When I use the xyplot function (lattice library) the titles are too long (i.e. part of the title are cut off). This fixes if I maximize the plot, but I would like the user of the program to not have to manually maximize the plotting window. I have tried to shrink the main title by using the "par(cex.main=.7)" before the xyplot function, but it seems any prior par options are ignored by
2007 Aug 05
1
setup trellis.device to color=F inside the xyplot function
Hi, it is possible to setup trellis.device(color=F) inside teh function xyplot? I try to use > xyplot(ocup~tempo| nitro+estacao,col="white",ylim=c(0,0.7),par.settings=list(color=F)) But dont work, the only way that work for me is call the function > trellis.device(color=F) before the xyplot, but in this way it open a new device for each run. I like that is use the same
2008 Feb 05
2
dynamically add items to key of lattice xyplot
Hi all, is it possible to dynamically add key items to an already existing key, belonging to a lattice xyplot? This is what I do: I make an xyplot with an initial key. Later on, I want to extend this key with more items, as more lines are added to the plot (lines are added using trellis.focus("panel")). I guess I need some function to access the key panel in order to extend it,
2004 Apr 13
1
lattice problem in R-1.9.0
Hi all, I just installed R-1.9.0 on Windows 2000 from binaries. Yesterday, on R-1.8.1 I ran a script that looked like: library(lattice) tmp <- expand.grid(A = 1:3, B = letters[1:2]) tmp$z <- runif(NROW(tmp)) trellis.device(png, file = "x1081.png", theme = col.whitebg) xyplot(z ~ A | B, data = tmp, panel = function(x, y, i) { panel.xyplot(x, y)
2008 Nov 19
1
Buggy trellis.focus() with xyplot ?
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using R 2.8 with lattice 0.17-15 *** To replicate the bug: 1.- display an xyplot. For example, from the xyplot help page:
2004 Nov 08
3
location of key in panels of trellis plot
Hi, I want to insert a key into each panel of a trellis plot, which I can do with a custom panel function that calles draw.key. The problem arises because I want the top right hand corner of the key to start in the top right hand corner of the panel. If you run my code below, you can see that the key appears in the center of each panel. This is because the default viewport in draw.key is the
2006 Jun 14
2
positioning of separate y-axis labels in xyplot
I like the functionality provided by outer=TRUE, but when it comes time to place separate xlabs or ylabs, I always end up 'eyeballing' it on a case-by-case basis. For example, ##begin example require(lattice) cars.lo <- loess(dist ~ speed, cars) print(xyplot(cars.lo$residuals+cars.lo$fitted~cars.lo$x, strip=FALSE, outer=TRUE, layout=c(1,2),
2002 Dec 19
2
list to data.frame
R Help- I have a list of 102 vectors all of the same type and length called time.by.orig. I can't data.frame(time.by.orig) but I can data.frame(time.by.orig[1:length(time.by.orig)]). Why is this? Thanks for your help. str(time.by.orig) List of 102 $ 1 : num [1:102] 1.34 17.39 14.36 14.22 7.56 ... $ 2 : num [1:102] 17.5 0.7 17.7 12.4 10.4 ... $ 3 : num [1:102] 14.063 17.568