search for: maubach

Displaying 17 results from an estimated 17 matches for "maubach".

2017 Jun 12
2
Paths in knitr
...plan to try that shortly. On my path to become better in analytics using R, I will try to use modules of Rmd files which can then easily be integrated into a Rmd report. I have yet to see how I can include these file into a complete report. Kind regards Georg ----- Weitergeleitet von Georg Maubach/WWBO/WW/HAW am 12.06.2017 08:47 ----- Von: Yihui Xie <xie at yihui.name> An: G.Maubach at gmx.de, Kopie: R Help <r-help at r-project.org> Datum: 09.06.2017 20:53 Betreff: Re: [R] Paths in knitr Gesendet von: "R-help" <r-help-bounces at r-pro...
2017 Jun 12
0
Paths in knitr
Will there be anything wrong if you do not set these options? Regards, Yihui -- https://yihui.name On Mon, Jun 12, 2017 at 2:24 AM, <G.Maubach at weinwolf.de> wrote: > Hi Yihui, > Hi Duncan, > > I corrected my typo. Unfortunately knitr did not find my plots in the > directory where they reside which is different from the Rmd document. > > The documentation of knitr says: > > base.dir: (NULL) an absolute direc...
2016 Apr 26
0
Antwort: Fw: Re: Creating variables on the fly (SOLVED)
...ufend", "kaufend") ) } str(Kunden01) This way a new variable is created by building it from a string concatenation. I also like the cat() function to document the process within the loop while running the program. Many thanks for your help. Kind regards Georg Von: G.Maubach at gmx.de An: g.maubach at weinwolf.de, Datum: 25.04.2016 21:37 Betreff: Fw: Re: [R] Creating variables on the fly > Gesendet: Montag, 25. April 2016 um 19:35 Uhr > Von: "MacQueen, Don" <macqueen1 at llnl.gov> > An: "G.Maubach at gmx.de" <G.Ma...
2016 Apr 22
4
Creating variables on the fly
Hi all, I would like to use a loop for tasks that occurs repeatedly: # Groups # Umsatz <= 0: 1 (NICHT kaufend) # Umsatz > 0: 2 (kaufend) for (year in c("2011", "2012", "2013", "2014", "2015")) { paste0("Kunden$Kunde_real_", year) <- (paste0("Kunden$Umsatz_", year) <= 0) * 1 +
2016 Apr 28
0
Antwort: RE: Interdependencies of variable types, logical expressions and NA
.../ 2 levels "NOT ok","OK": NA NA $ value_and_logical: logi NA NA $ logical_and_na : logi NA NA $ value_and_na : logi NA NA > so | operation is not valid for factor variables and results to NA values. Cheers Petr > -----Original Message----- > From: G.Maubach at weinwolf.de [mailto:G.Maubach at weinwolf.de] > Sent: Thursday, April 28, 2016 12:00 PM > To: PIKAL Petr <petr.pikal at precheza.cz> > Subject: Antwort: RE: [R] Interdependencies of variable types, logical > expressions and NA > > Hi Petr, > > many thanks for your r...
2016 Apr 27
1
Antwort: RE: Missing Values in Logical Expressions
...e is a problem and not being able to replicate it a day later even if it did not work all day before is very strange. If the problem arises again, I will raise my hand. Many thanks again for your help. Kind regards Georg Von: PIKAL Petr <petr.pikal at precheza.cz> An: "G.Maubach at weinwolf.de" <G.Maubach at weinwolf.de>, "r-help at r-project.org" <r-help at r-project.org>, Datum: 26.04.2016 11:11 Betreff: RE: [R] Missing Values in Logical Expressions Hm Based on Jim's data your construction gives me correct result. > Umsatz...
2017 Jun 09
0
Paths in knitr
...nly option. If you do not understand what it means, I strongly recommend you not to set it. Similarly, you set the root_dir option and I don't know why you did it, but it is a typo anyway (should be root.dir). Regards, Yihui -- https://yihui.name On Fri, Jun 9, 2017 at 4:50 AM, <G.Maubach at gmx.de> wrote: > Hi Yi, > > many thanks for your reply. > > Why I do have to se the base.dir option? Cause, to me it is not clear from > the documentation, where knitr looks for data files and how I can adjust > knitr to tell it where to look. base.dir was a try, but did...
2016 Apr 26
3
Missing Values in Logical Expressions
Hi All, I need to evaluate missing values in my data. I am able to filter these values and do simple statistics on it. But I do need new variables based on variables with missing values in my dataset: Check_Kunde_2011 <- ifelse(is.na(Umsatz_2011) == TRUE & Kunde_2011 == 1, 1, 0) Check_Kunde_2011 <- factor(Check_Kunde_2011, levels = c(1,0), labels = c("Check",
2017 Jun 07
2
purrr::pmap does not work
Hi All, I try to do a scatterplot for a bunch of variables. I plot a dependent variable against a bunch of independent variables: -- cut -- graphics::plot( v01_r01 ~ v08_01_up11, data = dataset, xlab = "Dependent", ylab = "Independent #1" ) -- cut -- It is tedious to repeat the statement for all independent variables. Found an alternative, i.e. : -- cut -- mu
2016 Apr 26
0
Missing Values in Logical Expressions
...t code you did not get appropriate result. Instead ifelse you can also use Check_Kunde_2011 <- (is.na(Umsatz_2011)&(Kunde_2011==1))*1 to get desired 0/1 vector. Cheers Petr > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of > G.Maubach at weinwolf.de > Sent: Tuesday, April 26, 2016 10:10 AM > To: r-help at r-project.org > Subject: [R] Missing Values in Logical Expressions > > Hi All, > > I need to evaluate missing values in my data. I am able to filter these values > and do simple statistics on it. But I d...
2016 Apr 20
2
Merging Data Sets with Full Outer Join
Hi All, I would like to match some datasets. Both deliver variables AND cases which might or might not be present in all datasets: This sequence Kunden <- Kunden_2011 Kunden <- merge(Kunden, Kunden_2012, by.x = "Debitor", by.y = "Debitor") Kunden <- merge(Kunden, Kunden_2013, by.x = "Debitor", by.y = "Debitor")
2017 Jun 08
3
Paths in knitr
Hi All, I have to compile a report for the management and decided to use RMarkdown and knitr. I compiled all needed plots (using separate R scripts) before compiling the report, thus all plots reside in my graphics directory. The RMarkdown report needs to access these files. I have defined ```{r setup, include = FALSE} knitr::opts_knit$set( echo = FALSE, xtable.type = "html",
2016 Apr 27
0
R Script Template
...email is missing. Perhaps you need to read the Posting Guide (again?) about attachments. Embedding your example directly in the body of the email is generally more accessible in archives than attaching it. -- Sent from my phone. Please excuse my brevity. On April 27, 2016 1:14:17 PM GMT+01:00, G.Maubach at gmx.de wrote: >Hi All, > >I am addressing this post to all who are new to R. > >When learing R in the last weeks I took some notes for myself to have >code snippets ready for the data analysis process. I put these snippets > >together as a script template for future use....
2016 Apr 27
2
R Script Template
Hi All, I am addressing this post to all who are new to R. When learing R in the last weeks I took some notes for myself to have code snippets ready for the data analysis process. I put these snippets together as a script template for future use. Almost all of the given command prototypes are tested. The template script contains snippets for best practices and leaves out the commands that
2016 Apr 28
0
Interdependencies of variable types, logical expressions and NA
...can decide that regardless value in NA the result must be T) F&NA = NA (you cannot decide hence NA) And I believe that all your results can be explained by this logic. Cheers Petr > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of > G.Maubach at weinwolf.de > Sent: Thursday, April 28, 2016 9:08 AM > To: r-help at r-project.org > Subject: [R] Interdependencies of variable types, logical expressions and NA > > Hi All, > > my script tries to do the following on factors: > > > ## Check for case 3: Umsatz = 0 &a...
2016 Apr 28
4
Interdependencies of variable types, logical expressions and NA
Hi All, my script tries to do the following on factors: > ## Check for case 3: Umsatz = 0 & Kunde = 1 > for (year in 2011:2015) { + Umsatz <- paste0("Umsatz_", year) + Kunde <- paste0("Kunde01_", year) + Check <- paste0("Check_U_0__Kd_1_", year) + + cat('Creating', Check, 'from', Umsatz, "and", Kunde,
2017 Jun 13
0
WG: Fw: Re: rmarkdown and font size
Hi Dan, Hi All, I read the below post. I am wondering how do I know which "keys" are available, e.g. "core.r" and "pre". Where kind I find the definition of what can be adjusted and which "words" to use? Kind regards Georg > Gesendet: Donnerstag, 08. Juni 2017 um 16:16 Uhr > Von: "Nordlund, Dan (DSHS/RDA)" <NordlDJ at