
Aktuelle Beiträge
Kategorien
 Bibliometrics (3)
 Data Management (16)
 Fav R Packages (7)
 Indroduction (7)
 Miscellaneous (4)
 Text Mining (5)
 Tips & Tricks (11)
 Visualizing Data (19)
 Web Apps (1)
Schlagwörter
 animation
 Box Plots
 casecontrol studies
 Citation Management
 Citavi
 cryptography
 dfg
 Evernote
 Excel
 Excel to R
 flow diagram
 function
 functional programming
 ggplot2
 gps
 hash
 Heat Maps
 Import
 Jitter Plots
 Leipzig
 linux
 lists
 loops
 maps
 Matching
 missing values
 multiple imputations
 network
 odds ratio
 pvalue
 Politics
 Postleitzahl
 power
 Propensity Score
 Psychooncology
 PubMed
 qualityoflife
 questionnaires
 R Markdown
 RMarkdown
 R to Word
 sample size
 scoring
 Shapefiles
 Shiny
 spatial data
 SPSS
 sqlite
 statistics
 Tables
 Telegram
 tidyverse
 Time Series
 Tips & Tricks
 ubuntu
 variable labels
 venn diagram
 word cloud
 Wordcloud
 XML
Category Archives: Tips & Tricks
Formatting pvalues: A curated list of R functions
Intro Reporting results of statistical analyses usually goes along with reporting pvalues which indicate the probability under the null hypothesis of sampling a test statistic at least as extreme as that which was observed. R offers quite a lot of … Continue reading
How to Vectorize a Function in R
Last year I came across the base R function Vectorize(). Vectorize() vectorizes the action of a nonvectorized function. Let's give an example. In one of my current research projects, I need to hash patient ids to fulfill the requirements of … Continue reading
R Markdown Inline Code: Adding a Conjunction to Listings
In my last blog post, I wrote a couple of lines about EFFECT, a clinical trial I'm currently involved in. EFFECT is a crossover trial with two washout and two study phases. After each of the four phases, the participating … Continue reading
Drawing a Fish Curve using R and ggplot2
Intro Recently, I wondered whether there is a way to draw a fish shape using a mathematical function. Since I did not find a readymade R function, I tried to write the function by myself. The equations, I've used for … Continue reading
How to order factors by level frequency and level name
Intro Quite frequently, factor variables are ordered by level frequency. However, factor levels having only a few observations are sometimes collapsed into one level usually named “others”. Since this level is usually not of particular interest, it may be a … Continue reading
Postleitzahlen mit führender Null richtig formatieren
Intro Importiert man Postleitzahlen aus anderen Datenformaten (z.B. Excel, Access) in R, ist es nicht selten, dass Postleitzahlen programmintern tatsächlich auch als Zahlen abgespeichert werden. Wie ein Blick auf einen im Internet frei verfügbaren Datensatz zeigt, kann dies zu folgendem … Continue reading