similar to: about installing smwrGraphs package

Displaying 20 results from an estimated 6000 matches similar to: "about installing smwrGraphs package"

2017 Jul 23
0
about installing smwrGraphs package
On 23.07.2017 05:28, lily li wrote: > Hi R users, > > I'm trying to install the package, but got the error and don't know how to > fix it. Can anyone help me? Thanks very much. > > install.packages("smwrGraphs", repos=c("http://owi.usgs.gov/R"," I guess "http://owi.usgs.gov/R" does not provide standard repositories for R? Best, Uwe
2017 Jul 23
1
about installing smwrGraphs package
> On 23 Jul 2017, at 18:31 , Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote: > > > > On 23.07.2017 05:28, lily li wrote: >> Hi R users, >> I'm trying to install the package, but got the error and don't know how to >> fix it. Can anyone help me? Thanks very much. >> install.packages("smwrGraphs",
2018 Jan 12
0
Help with packages (methods, stats, stats4)
On 12/01/2018 1:25 PM, Karim Mezhoud wrote: > Yes, > You are right. I mean > install.packages('DVstats'). That won't work either, because DVstats is not on CRAN. > Actually, it seems that DVstats does not have maintainer > https://github.com/USGS-R/DVstats You can try install.packages("devtools") # if not already installed...
2018 Jan 12
2
Help with packages (methods, stats, stats4)
Yes, You are right. I mean install.packages('DVstats'). Actually, it seems that DVstats does not have maintainer https://github.com/USGS-R/DVstats Karim On Fri, Jan 12, 2018 at 7:20 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 12/01/2018 1:11 PM, Karim Mezhoud wrote: > >> Hi, >> Did you try install.packages('stats'). >> > > That
2017 Jun 29
1
about reading files in order
Thanks for that answer. I was not aware of gtools::mixedsort <https://www.rdocumentation.org/packages/gtools/versions/3.5.0/topics/mixedsort> function. Jean On Thu, Jun 29, 2017 at 2:47 PM, Henrik Bengtsson < henrik.bengtsson at gmail.com> wrote: > You can use: > > > files <- list.files(path = "folder01") > > files <- gtools::mixedsort(files) >
2018 Jan 16
1
Steps to create spatial plots
If layer$z is a matrix and you want to reverse the order of the rows, you can do: n <- nrow(layer$z) layer$z <- layer$z[ n:1, ] HTH, Eric On Tue, Jan 16, 2018 at 8:43 AM, lily li <chocold12 at gmail.com> wrote: > Sorry for the emails, I just wanted to have an example. > layer$z > > 1 1 3 4 6 2 > 2 3 4 1 2 9 > 1 4 5 2 1 8 > > How to convert
2018 Jan 16
2
Steps to create spatial plots
Hi Bert, I think you are correct that I can use levelplot, but I have a question about converting data. For example, the statement: levelplot(Z~X*Y), Z is row-wise from the lower left corner to the upper right corner. My dataset just have gridded Z data as a txt file (or can be called matrix?), how to convert them to the vector in order for levelplot to use? Thanks. On Mon, Jan 15, 2018 at 6:04
2018 Jan 16
0
Steps to create spatial plots
>From your description, I am **guessing** that you may not want a "spatial map" (including projections) at all, but rather something like a level plot. See ?levelplot in the lattice package for details. Both I am sure ggplot2 has something similar. Apologies if I havemisunderstood your intent/specifications. Cheers, Bert Bert Gunter "The trouble with having an open mind is
2018 Jan 16
3
Steps to create spatial plots
Hi Roman, Thanks for your reply. For the spatial coordinates layer, I just have coordinates of the upper left corner, numbers of rows and columns of the spatial map, and grid cell size. How to create a spatial layer of coordinates from this data? Thanks. On Mon, Jan 15, 2018 at 3:26 PM, Roman Lu?trik <roman.lustrik at gmail.com> wrote: > You will need to coerce your data into a
2018 Jan 16
0
Steps to create spatial plots
Sorry for the emails, I just wanted to have an example. layer$z 1 1 3 4 6 2 2 3 4 1 2 9 1 4 5 2 1 8 How to convert the matrix to layer$z = c(1, 4, 5, 2, 1, 8, 2, 3, 4, 1, 2, 9, 1, 1, 3, 4, 6, 2)? I think this vector is the order that levelplot can use. Thanks again. On Mon, Jan 15, 2018 at 10:58 PM, lily li <chocold12 at gmail.com> wrote: > Hi Bert, > > I think
2018 Mar 08
1
add single points to a level plot
You need to load the package 'rasterVis' > library(rasterVis) HTH, Eric On Thu, Mar 8, 2018 at 5:11 PM, lily li <chocold12 at gmail.com> wrote: > Hi all, > > I ran the code: > > s <- stack(replicate(2, raster(matrix(runif(100), 10)))) > > xy <- data.frame(coordinates(sampleRandom(s, 10, sp=TRUE)), > + z1=runif(10), z2=runif(10))
2017 Jul 16
2
About doing figures
Hi Jim, For true color, I meant that the points in the figure do not correspond to the values from the dataframe. Also, why to use rainbow(9) here? And the legend is straight in the middle, is it possible to reformat it to the very bottom? Thanks again. On Sun, Jul 16, 2017 at 2:50 AM, Jim Lemon <drjimlemon at gmail.com> wrote: > Hi lily, > As I have no idea of what the "true
2015 Dec 02
3
lvm snapshot
On Wed, Dec 02, 2015 at 08:53:39PM +0100, Axel Glienke wrote: > Creating snapshot: > > [root at lvmtest ~]# lvcreate -L5G -s -n root_snap /dev/centos/root > Reducing COW size 5,00 GiB down to maximum usable size 2,94 GiB. > Logical volume "root_snap" created. > [root at lvmtest ~]# lvs > LV VG Attr LSize Pool Origin Data% Meta% Move > Log
2017 Dec 18
2
Finding center of mass in a hydrologic time series
Eric B's response provided just the kind of quick & simple solution I was hoping for (appears as the function com below). However, I once again failed to take advantage of the power of R and have reverted back to using a for loop for the next step of the processing. The example below (which requires the library EGRET for pulling an example dataset) works, but probably can be replaced
2008 Oct 05
1
Help -- LVM snapshot full -- how do I recover?
Hi -- I forgot to remove an LVM snapshot after making a backup. Now neither the snapshot nor the original volume are available. How do I recover and get the original volume back online? Currently, the output of lvs looks like LV VG Attr LSize Origin Snap% Move Log Copy% ...... dom5_data VolGroup01 -wi-ao 10.00G
2015 Dec 02
4
lvm snapshot
Hello after a lvm snapshot creation and a reboot are all logical volumes are missing, only swap is present. lvcreate -L 5000M -s -n centos_h1-root_snap /dev/mapper/centos_h1-root lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert centos_h1-root_snap centos_h1 swi-a-s--- 4,88g root 0,00 home
2017 Jul 16
0
About doing figures
For more than 10 records, how to reformat the colors? Also, how to show the first legend only, but at the bottom, while the second legend in your code is not necessary? In all, the same A values have the same color, but different symbols in DF==1 and DF==2. Thanks for your help. On Sun, Jul 16, 2017 at 9:28 AM, lily li <chocold12 at gmail.com> wrote: > Hi Jim, > > For true color,
2017 Dec 18
0
Finding center of mass in a hydrologic time series
Hi Eric, the following works for me. HTH, Eric library(EGRET) StartDate <- "1990-10-01" EndDate <- "2017-09-30" siteNumber <- "10310000" QParameterCd <- "00060" Daily <- readNWISDaily(siteNumber, QParameterCd, StartDate, EndDate) # Define 'center of mass' function com <- function(x) { match(TRUE, cumsum(x/sum(x)) > 0.5) -
2017 Jun 02
0
subletting an array according to dimnames
Have you tried P2["20", "10", "0"] ? Jean On Thu, Jun 1, 2017 at 3:10 PM, li li <hannah.hlx at gmail.com> wrote: > Hi all, > I have a three dimensional array with the corresponding dimension names. > I would like to subset the array according to the dimension names. For > example, > suppose I want to extract the values corresponding to A=20,
2017 Jun 16
0
point size
You could add size = log10_P to the aes() inside geom_point(). Untested code below. See also http://ggplot2.tidyverse.org/reference/geom_point.html ggplot(mydata, aes(x = X, y = log10_P)) + theme_bw() + theme(panel.border=element_blank(), legend.position="top", axis.text=element_text(size = 8)) + geom_point(aes(color = Traits, size = log10_P)) Jean On Fri, Jun 16, 2017 at