Re: [R] Help in R

2017-09-13 Thread ruipbarradas
Hello, Post the two equations, a sample dataset and what you have tried, please. At the bottom of every mail there's a link to the posting guide where you will find instructions on how to ask a good question. Hope this helps, Rui Barradas Citando Jessie Todd : I don’t know if my question

Re: [R] [FORGED] Help in R

2017-09-13 Thread Rolf Turner
On 14/09/17 07:50, Jessie Todd wrote: I don’t know if my question is answerable, but it is worth a try. I have a data set that I am trying to analyze in R for a course and the instructions were to get a standard deviation which I already computed in R and use that number and change it to a bias

[R] Help in R

2017-09-13 Thread Jessie Todd
I don’t know if my question is answerable, but it is worth a try. I have a data set that I am trying to analyze in R for a course and the instructions were to get a standard deviation which I already computed in R and use that number and change it to a biased standard deviation….(I have the two

[R] Proxy Issues when trying to install package shinyapps

2017-09-13 Thread Paul Bernal
Dear all, Hope you are doing great. I have been trying to install package shinyapps on R studio but I get the following messages: > devtools::install_github('rstudio/shinyapps') Installation failed: Couldn't resolve proxy 'procuratio.canal.acp' > githubinstall("shinyapps") Error in curl::curl_do

Re: [R] compounding precipitation based on whether falls within a day

2017-09-13 Thread Bert Gunter
Thanks for the reprex. Wouldn't have bothered without it. The following is I believe **almost** what you want. It seems a bit clumsy to me, so others may provide you something neater. But anyway... ## Convert POSIXct vector to dates ## There are 22 different days, not 21 date <- as.Date(prec_idx)

[R] compounding precipitation based on whether falls within a day

2017-09-13 Thread Morway, Eric
Using the small reproducible example below, I'm wondering how best to complete the following task: In the small reproducible example below, the 3D array prec has indexes that correspond to time, x, y (i.e., prec[time, x, y]). In this case, the time index is hours since some predefined start time.

Re: [R] (no subject)

2017-09-13 Thread David Brayford
Hi Duncan, The output of gsl-config --version 2.3 The output of gsl-config --cflags -I/lrz/sys/libraries/gsl/2.3/include The output of gsl-config --libs -L/lrz/sys/libraries/gsl/2.3/lib -lgsl -lgslcblas -lm gsl_version.h cat output #define GSL_VERSION "2.3" #define GSL_MAJOR_VERSION 2 #define

Re: [R] (no subject)

2017-09-13 Thread Peter Dalgaard
> On 13 Sep 2017, at 16:01 , Duncan Murdoch wrote: > > On 13/09/2017 9:10 AM, David Brayford wrote: >> Hi Duncan, >> The output of gsl-config --version >> 2.3 >> The output of gsl-config --cflags >> -I/lrz/sys/libraries/gsl/2.3/include >> The output of gsl-config --libs >> -L/lrz/sys/libraries/g

Re: [R] (no subject)

2017-09-13 Thread Duncan Murdoch
On 13/09/2017 9:10 AM, David Brayford wrote: Hi Duncan, The output of gsl-config --version 2.3 The output of gsl-config --cflags -I/lrz/sys/libraries/gsl/2.3/include The output of gsl-config --libs -L/lrz/sys/libraries/gsl/2.3/lib -lgsl -lgslcblas -lm gsl_version.h cat output #define GSL_VERS

Re: [R] (no subject)

2017-09-13 Thread Duncan Murdoch
On 13/09/2017 5:23 AM, Brayford, David wrote: When I try to install gsl in R I get the error Need GSL version >= 1.12 . However, I have version 2.3 of gsl installed on the system, which is picked up earlier in the configure process (see below). Is it possible for someone to fix this error in t

Re: [R] (no subject)

2017-09-13 Thread Suzen, Mehmet
Hello David, As error message says you have a version dependency not satisfied. "error: Need GSL version >= 1.12". If you are using Ubuntu for example you could do; sudo apt-get install libgsl2 Or you can compile by yourself, I am sure there are people in LRZ can help you on this:) Best, Mehmet

Re: [R] (no subject)

2017-09-13 Thread Berend Hasselman
> On 13 Sep 2017, at 11:23, Brayford, David wrote: > > When I try to install gsl in R I get the error Need GSL version >= 1.12 . > However, I have version 2.3 of gsl installed on the system, which is picked > up earlier in the configure process (see below). Is it possible for someone > to fix

[R] (no subject)

2017-09-13 Thread Brayford, David
When I try to install gsl in R I get the error Need GSL version >= 1.12 . However, I have version 2.3 of gsl installed on the system, which is picked up earlier in the configure process (see below). Is it possible for someone to fix this error in the configure script? checking for gsl-config...

[R] [R-pkgs] qgam

2017-09-13 Thread Matteo Fasiolo
Dear useRs, I am happy to announce the publication on CRAN of the qgam package: https://cran.r-project.org/web/packages/qgam/index.html qgam is an extension of mgcv, and provides methods for fitting quantile additive models including parametric, random and smooth effects. For basic examples see

[R] ggmap + geom_raster

2017-09-13 Thread Ashim Kapoor
Dear all, I want to : 1. Estimate a weighted 2D kernel. 2. Paint a heatmap on a ggmap. Here is some reproducible data / code (I got it from the internet) : s_rit <- structure(list(score = c(45, 60, 38, 98, 98, 53, 90, 42, 96, 45, 89, 18, 66, 2, 45, 98, 6, 83, 63, 86, 63, 81, 70, 8, 78, 15, 7, 8

Re: [R] [FORGED] [R-sig-Geo] circular spatial polygon

2017-09-13 Thread Rolf Turner
On 13/09/17 13:24, Kátia Emidio wrote: Dear Rolf, Thanks for your help! What I need is a spatial window with shape equal to the figure attached. This figure I made using ArcGis, but it is important to me make it in R. After having this figure I will make some analysis using spatstat among ot

Re: [R] comparition of occurrence of multiple variables between two dataframes

2017-09-13 Thread PIKAL Petr
Hi Instead of posting head(data100) try to copy output of dput(head(data100)) directly to your post. This can show us your exact data together with their modes. And switch to plain text emails, HTML formating results in quite messy mails. Cheers Petr > -Original Message- > From: R-h