Hi,
I want to do a plot from a variable (which i select from a listbox) with the
color factor of the variable that i have selected from another listbox.
To be not very heavy pasting all the code, i will only paste real important
parts:
"data1" and "data2" are the extacted parts of the dataframe
Hi Marissa,
Unfortunately we didn't "get the picture". If you want to send an
image, PDF is probably your best bet. If that is not possible, perhaps
a description of the weirdness that has confronted you will allow
someone to suggest a solution.
Jim
On Fri, Jul 24, 2015 at 7:08 AM, Marissa Fahlbe
Hi jpara3,
Hmmm. It's becoming clearer, yes I think the answer is emerging from
the swirling clouds of uncertainty.
1) The column names of data2 are not numbers
2) The number of columns in data2 is not equal to the number of values
in data1 that you are plotting
3) You probably want to plot colo
I have done a trial with a dataframe like this:
one<-c(3,2,2)
two<-c(a,b,b)
data<-dataframe(uno,dos)
plot(data$one,col=data$two)
and it plots perfect.
If I try it with the code that i have post in the first message, selecting
data1 and data2 as i nthis example, the plot is plotted, but all dots
Hello,
the command "impacts" in the spdep-packeage should help you.
Mit freundlichen Grüßen
Linus Holtermann
Hamburgisches WeltWirtschaftsInstitut gemeinnützige GmbH (HWWI)
Heimhuder Straße 71
20148 Hamburg
Tel +49-(0)40-340576-336
Fax+49-(0)40-340576-776
Internet: www.hwwi.org
Email: holterm.
Hi,
I need to know how to completely install Rcplex to be able to use
cplex in R. According to the instructions given in the following
webpage, I edited the Makevars.win file:
https://cran.r-project.org/web/packages/Rcplex/INSTALL
The revised Makevars.win file includes only the following lines:
Hi jpara3,
Your example, when I got it to go:
one<-c(3,2,2)
two<-c("a","b","b")
data<-dataframe(one,two)
plot(data$one,col=data$two)
does indeed work, and I'll explain how. You are plotting the values of
data$one against the _values_ of data$two (see point 3 of my
response). In this case, the val
Hello,
Try
install.packages("Rcplex")
That's it.
Hope this helps,
Rui Barradas
Em 24-07-2015 12:20, Yasin Gocgun escreveu:
Hi,
I need to know how to completely install Rcplex to be able to use
cplex in R. According to the instructions given in the following
webpage, I edited the Makevars.w
I clearly am going to have to improve my stats knowledge by reading McPhearson.
To heck with Senn- too complicated. :)
Thanks Terry.
John Kane
Kingston ON Canada
> -Original Message-
> From: thern...@mayo.edu
> Sent: Thu, 23 Jul 2015 14:07:00 -0500
> To: r.tur...@auckland.ac.nz, thern.
Hi Marrisa,
As a follow-up to Jim's point, it might be a good idea to supply the data.
Since you don't trust the imported data our preferred method of using dput()
won't work but if you rename the csv file to whatever.txt and attached it
should make it through.
John Kane
Kingston ON Canada
Hi,
Thanks for your email. When I use that line, I received the following
messages from R:
package ‘Rcplex’ is available as a source package but not as a binary
package ‘Rcplex’ is not available (for R version 3.1.1)
So, do you see what the problem is?
Thank you,
Yasin
On Fri, Jul 24, 2015 a
It's important to look at the CRAN documentation, where it is quite
clear there are NO Windows binaries for this package.
My suggestion -- set up the (freeware) VirtualBox or a similar Virtual
Machine environment, install a Linux OS virtually, and install there. If
there is no Windows binary on CR
Dear List Memebers,
I need some advise about how to report the output of lme(). When searching for
correlations between between a dependent variable
and a factor or a combination of factors in a repeated measure design
with lme() I noticed that I can encounter two types of results, and I am
w
Hi Greg
Many thanks for taking the time to respond to my query. You are right about
pointing out the distinction between what variables are and are not
included in the event times process and in the censoring process. I clearly
forgot this important aspect. I amended my code to do as you advise an
Hi Markus,
Please keep the list copied. See responses in line.
On Fri, Jul 24, 2015 at 1:22 PM, wrote:
> Dear Ista Zahn,
>
> Thank you that you answered.
> Kubuntu delivered some packages of R and I obviously got R version 3.0.2 by
> the time (early 2015) I installed R fully on my Linux Kubunt
On Jul 21, 2015, at 11:55 AM, kle...@sxmail.de wrote:
> Dear Ladies and Gentlemen,
> as a beginner in R, I encountered a sort of "naturally given
> limits"concerning the process of amending R with packages.
> I apparently own version 3.0.2 and I principally decided to use R via
> the RKWard GUI
Please reply-all so the mailing list stays in the loop.
cumsum(1/(1:100)^2)
gives you the partial sums up through i=100.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#
Yes, you were right!!
Thanks.
--
View this message in context:
http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297p4710320.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE
Hello Jeff,
Thanks a lot. I tried it and see that it prints out the entire 100 partial
sums, so I can take the last value as the partial sum for the first 100
terms. Would there be any way cumsum can print only the nth partial sum,
i.e. the last value in the array, instead of printing the entire
Janh:
It sounds like you really need to go through an R tutorial or two
before posting further, as this is a pretty basic query. Or am I wrong
about this?
An answer: Just use indexing
cumsum(1/seq_len(100)^2)[seq(10, to = 100,by = 10)] ## keeps every 10th
[1] 1.549768 1.596163 1.612150 1.62024
On Jul 24, 2015, at 4:37 PM, Janh Anni wrote:
> Hello Jeff,
>
> Thanks a lot. I tried it and see that it prints out the entire 100 partial
> sums, so I can take the last value as the partial sum for the first 100
> terms. Would there be any way cumsum can print only the nth partial sum,
> i.e.
My table having 40 raw and 4 columns, in that 4 columns first column belongs
to one group and the remaining constitute the other group. using following
commands for calculating jaccard's index
x <- read.csv(file name,header=T, sep= )
jac <- vegdist(x,method="jaccard")
from this out file(jac) how
You guys are awesome thank you all very very much!
--
View this message in context:
http://r.789695.n4.nabble.com/interactive-Map-Popups-tp4710226p4710295.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing l
I draw world map using
library(maptools)
> library(ggmap)
> library(mapdata)
> library(maps)
>map("world",fill=TRUE,col="White",bg="light
blue",ylim=c(-60,90),mar=c(0,0,0,0))
>native <- c("brazil","sao paulo state")
> nat <-geocode(native)
>nat.x <- nat$lon
> nat.y <- nat$lat
>points(nat.x,nat.y,c
$`19179222`
Unique.IDStart.YearL1.Risk.Category
Gross.amount.sum
17 19179222 2013 Execution, Delivery & Process Management
161212.1
18 19179222 2015 Execution, Delivery & Process Management
110880.0
$`25182498`
Uniqu
Hi I am using RCPP to build a C++ function for quicksort called qsort.
This function is compiled and loaded through the cxxfunction in R
I am getting the message in R error: no matching function for call to
'qsort(int*&)' The code is below.
It will not run for me and I was wondering if you could he
Den 2015-07-24 kl. 00:33, skrev Dera:
Hi, I have a question about how to use the mlogit package in R to do analysis
of discrete choice survey data. Our survey is about asking people to choose
from different insurance policies(with two attributes of deductible and
premium).
The code I used to fi
Dear Linus Holtermann,
thank a lot for telling me the key to calculate the effects. I will try it.
thank you for your help!
best regards,
Wenyue Yang
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-calculate-the-average-direct-effect-average-total-effect-and-average-i
Hi,
I'm having problem simulating multivariate gamma. Is there anyone to assist in
simulating multivariate gamma.
I know that for multivariate normal, we can use;
mvrnorm (n, means, sigma)
Thanks.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE a
Hi Henric,
Thank you for your reply! It really helps. I should have noticed this
earlier. I don't have a negative input, the error is because our survey
allowed people to choose neither of the choices we gave, so we added a
choice "Neither" with both deductible and premium being 0, which caused
th
Hello,
first of all: my english is horrible but I try to explain what I want to
say.
I am new to R and thank to your help I managed to create an interactive map
of Germany for some weather data. I used
States = data.frame(Datensatz)
require(googleVis)
G4 = gvisGeoChart(States,
cumsum(1/(1:100)^2)[100]
> On Jul 24, 2015, at 4:37 PM, Janh Anni wrote:
>
> Hello Jeff,
>
> Thanks a lot. I tried it and see that it prints out the entire 100 partial
> sums, so I can take the last value as the partial sum for the first 100
> terms. Would there be any way cumsum can print on
Thanks Bert!
On Fri, Jul 24, 2015 at 7:57 PM, Bert Gunter wrote:
> Janh:
>
> It sounds like you really need to go through an R tutorial or two
> before posting further, as this is a pretty basic query. Or am I wrong
> about this?
>
> An answer: Just use indexing
>
> cumsum(1/seq_len(100)^2)[seq(
Wow! So many (simpler) ways to skin a cat. Thanks!
On Fri, Jul 24, 2015 at 8:07 PM, David Winsemius
wrote:
>
> On Jul 24, 2015, at 4:37 PM, Janh Anni wrote:
>
> > Hello Jeff,
> >
> > Thanks a lot. I tried it and see that it prints out the entire 100
> partial
> > sums, so I can take the last v
On 25/07/15 07:59, gmoyeyemi wrote:
Hi, I'm having problem simulating multivariate gamma. Is there
anyone to assist in simulating multivariate gamma. I know that for
multivariate normal, we can use; mvrnorm (n, means, sigma)
For starters you have to specify exactly what you mean by "multivari
Dear sir,
I am using currently R 3.1.3. But i wnat to upgrade this version to R 3.2.0
but i am feared that the libraries which i have installed may be remove?
please guide me.
thanks
--
Waqas Shafqat Chattha
Ph. D Scholar
Department of Plant Breeding and Genetics
University of Agriculture, Faisa
hello
i'm trying to plot multiple image (.png) and plot as a single image using
mfrow().
i have already image1.png image2.png image.png image4.png and a can't plot
them in single fig1.png?
thank you
Said FILAHI
morocco
[[alternative HTML version deleted]]
_
but you get a different hide with sum vs. cumsum. David is right if you want
the sum of n terms.
> sum(1/(1:100)^2) - pi^2/6
[1] -0.009950167
> sum(1/(1:1000)^2) - pi^2/6
[1] -0.0009995002
etc.
> On Jul 24, 2015, at 7:24 PM, Janh Anni wrote:
>
> Wow! So many (simpler) ways to skin a cat. Th
38 matches
Mail list logo