Displaying 20 results from an estimated 1000 matches similar to: "R: lines and glm"
2004 Apr 08
2
lines and glm
Dear R-helpers,
I'm a beginner using R 1.8.1 on Windows 2000. I'm trying to replicate some
examples in Franses' & Paap's Quantitative Models in Marketing Research.
> t <- 1:1000
> e1 <- rnorm(1000)
> e2 <- rnorm(1000)
> x <- 0.0001*t+e1
> y2 <- -2+x+e2
> y <- ifelse(y2>0,1,0)
>
> plot(x, y, pch = 16, col = "darkblue",
+
2002 Oct 10
1
NEdit Highligth patterns for R
Hi
I've just submitted to the NEdit development team a R highligth patterns
for NEdit (www.nedit.org).
NEdit is a text editor for LINUX which I use to write small R functions.
In my opinion is a very good tool for small scripts, maybe for huge
projects is not the best.
I'm attaching the R-5.1.pats file so you can try it.
As usual contributions and comments are welcome.
Regards
EJ
2008 Dec 09
0
forestplot and x axis scale
Hello R users,
I would like to create several forestplots with the same X axis, so,
if you were to look at the plots lined up all the X axes would be
identical (and the different plots could be compared). Here is one
version of code I've used:
mytk10<-c(0.1, 0.5, 1, 2, 5, 10)
pdf(file = "myfile.pdf",
pointsize = 7, paper="letter", width=6, height=9)
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
libswfdec/swfdec_as_strings.c | 1
libswfdec/swfdec_html_parser.c | 43 +++---
libswfdec/swfdec_text_field.c | 2
libswfdec/swfdec_text_field.h | 2
libswfdec/swfdec_text_field_movie.c | 166 ++++++++++++++++-----------
libswfdec/swfdec_text_field_movie.h | 6
libswfdec/swfdec_text_field_movie_as.c
2007 Oct 25
0
18 commits - libswfdec/swfdec_player_internal.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_format.c libswfdec/swfdec_text_format.h libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/trace
dev/null |binary
libswfdec/swfdec_player_internal.h | 2
libswfdec/swfdec_text_field_movie_as.c | 57 +++++---
libswfdec/swfdec_text_format.c | 13 +
libswfdec/swfdec_text_format.h | 1
libswfdec/swfdec_xml.c | 72 ++++++----
libswfdec/swfdec_xml_node.c
2004 Mar 15
1
Correct Computer Modern font in postscript(..) output
Hi,
I'm trying to get the correct font used when generating italic text in an R
grahic. I have a set of labels that print correctly except it seems the
italic text is justr a slanted version of the TeX computer modern normal
font... I'm using R v1.8.1 on Windows XP, and I get the same result if I
build the pdf using Adobe Acrobat or using MikTeX
The labels:
2007 Oct 22
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
libswfdec/swfdec_html_parser.c | 8 +++---
libswfdec/swfdec_text_field_movie.c | 31 ++++++++++++++++++++-------
libswfdec/swfdec_text_field_movie_as.c | 18 ++++++++-------
test/trace/text-field-html-input-6.swf |binary
test/trace/text-field-html-input-6.swf.trace | 28 ++++++++++++++++++++++++
test/trace/text-field-html-input-7.swf |binary
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
2014 Dec 12
0
Aw: Re: rsync not copy all information for font file
Some more details on my problem.
The machine have Ubuntu 12.04 with rsync version 3.0.9
I am using this server as data server using "Netatalk" for share with apple OS for my graphics work, so here i save my work containing file created by (indesign, photoshop, illustrator, quark xpress, mathtype etc.)
I have try to backup my shared folder on external HDD using "rsync" mounting
2017 Dec 20
0
outlining (highlighting) pixels in ggplot2
Hi Eric,
you can use an annotate-layer, eg
ind<-which(sig>0,arr.ind = T)
ggplot(m1.melted, aes(x = Month, y = Site, fill = Concentration), autoscale
= FALSE, zmin = -1 * zmax1, zmax = zmax1) +
geom_tile() +
coord_equal() +
scale_fill_gradient2(low = "darkred",
mid = "white",
high = "darkblue",
2009 Jul 25
1
yaxp problem for more irregular time series in one plot
Good day,
I'm trying to get more time series in one plot. As there are bigger
differences in values of variables I need logaritmic y axis.
The code I use is the following:
nvz_3_data <- read.csv('/home/tomas/R_outputs/nvz_3.csv')
date <- (nvz_3_data$date)
NO3 <- (nvz_3_data$NO3)
NH4 <- (nvz_3_data$NH4)
date_p <- as.POSIXct(date, "CET")
par(mfrow=c(2,1), ylog
2008 Oct 19
1
convert lines to inches
Hi,
how can I convert the unit "lines" of par("mar") into inches?
par("mai") could help, but does not (see code below).
I want to plot a curve in a predefined size in pdf (I add some margin
space to the plot width&height, everything is in cm):
pdf("test.pdf",width=(20+2+4)/2.54,height=(10+3+1)/2.54)
plot(10:30,
2024 Mar 22
1
geom_edge & color
Hi,
this seems to work (assuming that your problem was the setting of
colours...):
--- snip ---
network %>%
ggraph(., layout = "auto") +
# This produces an error...
# geom_edge_arc(curvature=0.3, aes(width=(E(network)$weight/10),
color=c("darkblue", "red")[as.factor(edge_list$relationship)], alpha=0.5))
+
# ... this works :-)
2024 Mar 20
1
geom_edge & color
Dear community
I am using ggraph to plot a network analysis. See part 2 in the working
example.
Besides different colors for different groups of nodes:
--> geom_node_point(aes(size = V(network)$hub_score*200, color=
as.factor(V(network)$community)))
I additionally want to consider different colors for different edge groups
The grouping is defined in the edge_list$relationship: negative
2014 Dec 14
0
rsync not copy all information for font file
Hi Ram,
In OS X, some font types (not all) put the font payload in the resource fork. Netatalk provides AFP filesharing, imitating the resource forks by creating secondary files in ?.Appledouble? folders within each folder. Netatalk tracks the resource forks, and other metadata, by keeping a ?Desktop database? at the root of the shared volume ? look for .AppleDesktop, and .AppleDB.
You can
2006 May 04
1
plot greek letter in italic
Hi,
Could someone please let me know how to plot greek letters in italic.
text(0,14,expression(italic(rho)[italic(f)])) only plots the f in italic and
text(37,40,expression(italic(rho))) doesn't plot rho in italic.
I have checked demo(plotmath), ?plotmath, FAQ, and the archives
2004-2006 without finding the answer.
I'm using R 2.1.1. and Windows XP.
Thanks!
Tord
--
Tord Sn?ll
2010 Nov 26
1
How to use expression(italic()) in a "vectorized" way (within a function)?
Dear expeRts,
I would like to use expression() for creating labels in a splom, as shown in the
first minimal example below. Is there any way I can simplify having to write
"expression(italic(...))" several times?
The second example is what I tried so far, but I can't manage to get italic() to
work. Moreover, it still seems bulky...
Cheers,
Marius
## minimal example (working but
2004 Mar 16
1
Changing ComputerModern in postscript(...): A first attempt at contributing....
Hi
First off, thanks to all the various R developers, your package is very
impressive.
I'm not sure what the protocols are for contributing, and I've not done this
before, so please excuse nay obvious errors or oversights... Also I'm by no
means an R,TeX/LaTeX, or typesetting expert, I have largely stumbled my way
to this point.
Objective: I'd like to get R postscript(...) to
2007 Dec 09
1
Setting the grid of a graph of timeseries
I have the following code
####################################################################
library(zoo)
miedate <- yearmon((2006)+seq(0,23)/12)
tab <- zoo(cbind(A = c(79.47, 89.13, 84.86, 75.68, 72.82, 78.87, 93.46,
78.18, 82.46, 77.25, 80.95, 84.39, 81.7, 74.76, 65.29, 60.3,
66.59, 73.19, 92.39, 65.76, 77.45, 74.22, 101.36, 100.01), B = c(77.95,
76.73, 51.2, 51.86, 51.29, 49.45,
2014 Dec 12
3
Aw: Re: Re: rsync not copy all information for font file
what is the source and destination filesystem?
here is some report that rsync has some problem with HFS+ filesystems and "ressource forks": http://quesera.com/reynhout/misc/rsync+hfsmode/
but as you are using ubuntu and not osx i`m curious what`s the problem, so i think we need more information here.
regards
roland
> Gesendet: Freitag, 12. Dezember 2014 um 15:31 Uhr
> Von: