Displaying 20 results from an estimated 65 matches for "istazahn".

2017 Aug 23

1

Getting all possible combinations

> On 23 Aug 2017, at 20:51 , Ista Zahn <istazahn at gmail.com> wrote:
>
> On Wed, Aug 23, 2017 at 12:35 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
>> ummm, Ista, it's 2^n.
>
> ummm yes ughhhh.
>
You didn't really say otherwise: sum(choose(n,0:n)) == 2^n by the binomial expansion of (1+1)^n (but yo...

2013 Jan 15

6

readHTMLTable (XML package)

Hi,
I am using XML::readHTMLTable and getting the below error. Does anyone know why? Does this function not work with https? I didn''t see anything in help about that.
> library(XML)
> wampage<-readHTMLTable(''https://hr-workforce-analytics.llnl.gov/wf_pi_pop.html'',1)
Error in htmlParse(doc) :
File

2017 Aug 23

1

Getting all possible combinations

...rt
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
>
> On Wed, Aug 23, 2017 at 8:52 AM, Ista Zahn <istazahn at gmail.com> wrote:
>> On Wed, Aug 23, 2017 at 11:33 AM, Christofer Bogaso
>> <bogaso.christofer at gmail.com> wrote:
>>> Hi again,
>>>
>>> I am exploring if R can help me to get all possible combinations of
>>> members in a group.
>>&...

2013 Jan 28

5

Adding 95% contours around scatterplot points with ggplot2

Hi all,
I have been looking for means of add a contour around some points in a
scatterplot as a means of representing the center of density for of the
data. I''m imagining something like a 95% confidence estimate drawn around
the data.
So far I have found some code for drawing polygons around the data. These
look nice, but in some cases the polygons are strongly influenced by
outlying

2017 Aug 23

2

Getting all possible combinations

ummm, Ista, it's 2^n.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Aug 23, 2017 at 8:52 AM, Ista Zahn <istazahn at gmail.com> wrote:
> On Wed, Aug 23, 2017 at 11:33 AM, Christofer Bogaso
> <bogaso.christofer at gmail.com> wrote:
>> Hi again,
>>
>> I am exploring if R can help me to get all possible combinations of
>> members in a group.
>>
>> Let say I have...

2016 Apr 25

0

Splitting Numerical Vector Into Chunks

...what do you want?
Cheers
Petr
> -----Original Message-----
> From: Sidoti, Salvatore A. [mailto:sidoti.23 at buckeyemail.osu.edu]
> Sent: Sunday, April 24, 2016 1:48 AM
> To: PIKAL Petr <petr.pikal at precheza.cz>; William Dunlap
> <wdunlap at tibco.com>; Ista Zahn <istazahn at gmail.com>
> Subject: RE: [R] Splitting Numerical Vector Into Chunks
>
> There are terrific suggestions and I so appreciate everyone's help!
>
> Just one additional question: I also have some time data that accompanies
> this analysis. It is in the format h:m:s:00 where...

2017 Jul 06

1

Efficient swapping

...h(tl %in%
tmp[ii,'R1'], arr.ind = TRUE)
if(kk%%2!=0) { # swap the their levels between the two factors
qq <- tmp[ii,]$R1
tmp[ii,]$R1 <- tmp[ii,]$R2
tmp[ii,]$R2 <- qq
}
}
How to go about this case? Thanks!
On Thu, Jul 6, 2017 at 5:16 PM, Ista Zahn <istazahn at gmail.com> wrote:
> How about
>
> foo <- with(list(r1 = tmp$R1,
> r2 = tmp$R2,
> swapme = (as.numeric(tmp$R1) - as.numeric(tmp$R2)) %% 2
!= 0),
> {
> tmp[swapme, "R1"] <- r2[swapme]
> tmp[swapme, "R2"]...

2013 Feb 20

5

ggplot2 customizing a plot

Dear all,
I want some help improve my ggplot as following:
Make the plottable area with grid, so is easy one to see where each box refers to x and y values.
Add a color bar but with fixed values, that I want to specify.
How I can do those two?
Before is some code what I have tried so far.
Regards
Alex

2018 Feb 20

1

Take the maximum of every 12 columns

...ng regular
subsetting, e.g.
Y <- sapply(seq(from = 0, to = 2880, by = 12), FUN = function(offset) {
rowMaxs(X[, offset + 1:12])
})
Subsetting data frames by columns is already efficient, so the same
argument does not apply there.
/Henrik
On Tue, Feb 20, 2018 at 10:00 AM, Ista Zahn <istazahn at gmail.com> wrote:
> On Tue, Feb 20, 2018 at 11:58 AM, Bert Gunter <bgunter.4567 at gmail.com>
> wrote:
>
>> Ista, et. al: efficiency?
>> (Note: I needed to correct my previous post: do.call() is required for
>> pmax() over the data frame)
>>
>> >...

2013 Jul 23

7

cbind error with check.names

Here is an example where cbind fails with an error when check.names=TRUE is set.
data(airquality)
airQualityBind =cbind(airquality,airquality,check.names =TRUE)
I understand that cbind is a call to data.frame and the following works:
airQualityBind =data.frame(airquality,airquality,check.names =TRUE)
but I would like to understand why cbind throws an error.
I asked this question on SO here:

2017 Aug 23

1

Getting all possible combinations

...g an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Aug 23, 2017 at 1:58 PM, peter dalgaard <pdalgd at gmail.com> wrote:
>
>> On 23 Aug 2017, at 20:51 , Ista Zahn <istazahn at gmail.com> wrote:
>>
>> On Wed, Aug 23, 2017 at 12:35 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
>>> ummm, Ista, it's 2^n.
>>
>> ummm yes ughhhh.
>>
>
> You didn't really say otherwise: sum(choose(n,0:n)) == 2^n by the binomia...

2017 Nov 09

1

Sharing an R installation via NFS on ubuntu cluster

...problem, and indeed, not my question. my question was how
could I share the resulting R installation over NFS? Do I have to export
every location where apt-get installs a component or can I force apt-get to
place the installation in a certain location?
On 8 November 2017 at 17:37, Ista Zahn <istazahn at gmail.com> wrote:
> On Wed, Nov 8, 2017 at 6:14 AM, Florian Oswald <florian.oswald at gmail.com>
> wrote:
> > hi all,
> >
> > i want to share an R installation from a master node to several compute
> > nodes via NFS. all nodes run ubuntu 16.04. I tried bui...

2010 May 11

4

Table and Sweave

Hi,
in Latex I get the table using:
\begin{table}[H]
\centering
\renewcommand{\arraystretch}{1.3}
\setlength{\tabcolsep}{18pt}
\begin{tabular}{cc} \hline
Idade & Frequ?ncia \\ \hline
$18 \vdash 26$ & 11 \\
$26 \vdash 34$ & 8 \\
$34 \vdash 42$ & 26 \\
$42 \vdash 50$ & 20 \\
$50 \vdash 58$ & 23 \\
$58 \vdash 66$ & 30 \\
$66

2017 Jul 06

2

Efficient swapping

...h(tl %in%
tmp[ii,'R1'], arr.ind = TRUE)
if(kk%%2!=0) { # swap the their levels between the two factors
qq <- tmp[ii,]$R1
tmp[ii,]$R1 <- tmp[ii,]$R2
tmp[ii,]$R2 <- qq
}
}
How to go about this case? Thanks!
On Thu, Jul 6, 2017 at 5:16 PM, Ista Zahn <istazahn at gmail.com> wrote:
> How about
>
> foo <- with(list(r1 = tmp$R1,
> r2 = tmp$R2,
> swapme = (as.numeric(tmp$R1) - as.numeric(tmp$R2)) %% 2 != 0),
> {
> tmp[swapme, "R1"] <- r2[swapme]
> tmp[swapme, "R2"]...

2010 May 02

4

Scree diagram,

hello,
I''ve two questions today.
1) I''m trying to do a scree diagram, I did a Google for a specific command I
could used to do so. All I could find is a screeplot. Are they the same
command?
2) what command can I used to present a PC scores, eigenvectors of the PC
scores, and component correlations?
thanks!
--
View this message in context:

2018 Feb 20

1

Take the maximum of every 12 columns

...https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#m_4297398466082743447_m_6071581590498622123_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Tue, Feb 20, 2018 at 5:10 PM, Ista Zahn <istazahn at gmail.com> wrote:
>>
>>> Hi Milu,
>>>
>>> byapply(df, 12, function(x) apply(x, 1, max))
>>>
>>> You might also be interested in the matrixStats package.
>>>
>>> Best,
>>> Ista
>>>
>>> On Tue, Feb 2...

2017 Dec 15

2

Errors in reading in txt files

...n MacQueen
> Lawrence Livermore National Laboratory
> 7000 East Ave., L-627
> Livermore, CA 94550
> 925-423-1062
> Lab cell 925-724-7509
>
>
>
> On 12/14/17, 11:01 AM, "R-help on behalf of Ista Zahn" <
> r-help-bounces at r-project.org on behalf of istazahn at gmail.com> wrote:
>
> On Thu, Dec 14, 2017 at 1:58 PM, Berend Hasselman <bhh at xs4all.nl>
> wrote:
> >
> >> On 14 Dec 2017, at 19:36, lily li <chocold12 at gmail.com> wrote:
> >>
> >> Hi R users,
> >>
>...

2013 Jan 02

11

suggestions about import SAS results to R.

Hello all,
I have got some data in SAS, and I export it to one excel workbook with multiple sheets, for example, each sheet has the sales information for each state. Then I need to use R to do plotting, analysis on those sales data, where I need to load the data from excel to R.
When I read the article at this link:

2017 Jul 05

1

Help with reshape/reshape2 needed

Hi Tom,
Or perhaps:
#assume the data frame is named "tadf"
library(prettyR)
stretch_df(tadf,1,2)
Jim
On Thu, Jul 6, 2017 at 6:50 AM, Ista Zahn <istazahn at gmail.com> wrote:
> The reason it doesn't work easily with reshape/reshape2 is that the
> order of the rows is not determined. Your answer could be
>
> 1957 1958 ... 1985 1986
> 0.8625000 0.7500000 ... 0.7307692 0.23750000
> 0.0733945 0.6435644 ....

2013 Mar 21

3

Control variables in mediation analysis

Hi everyone,I would like to test a mediation model, that has several control variables. More specifically, I would like to test the indirect effect with bootstrapping. However, all the packages I have found so far (e.g. MBESS) only allow testing a simple mediation model (One independent, one mediator, one dependent) so that I cannot include any controls.
Can somebody help me?
[[alternative HTML