Displaying 20 results from an estimated 200 matches similar to: "Plotting the explanatory against the dependent in a GAM"
2011 Apr 04
2
Examples of web-based Sweave use?
I appreciate that this is OT, but I'd be grateful for pointers to examples of
where
Sweave has been used for web-based applications. In particular, examples of
where reports/analyses are produced automatically through submission of data
to a web-sever. I am mostly interested in situations where pdf reports have
been produced rather than, say, a plot/table etc shown on a web page.
2010 May 28
5
difference in sort order linux/Windows (R.2.11.0)
Dear R users,
I'm a bit perplexed with the effect sort has here, as it is different on
Windows vs. linux.
It makes my factor levels and subsequent plots different on the two systems.
Given:
types <- c("PC-D-Euro-0", "PC-D-Euro-1", "PC-D-Euro-2", "PC-D-Euro-3",
"PC-D-Euro-4", "PC-D-Euro-5", "PC-D-Euro-6",
2008 Aug 22
1
subset grouped data with quantile and NA's
I can't quite seem to solve a problem subsetting a data frame. Here's a
reproducible example.
Given a data frame:
dat <- data.frame(fac = rep(c("a", "b"), each = 100),
value = c(rnorm(130), rep(NA, 70)),
other = rnorm(200))
What I want is a new data frame (with the same columns as dat) excluding the
top 5% of "value"
2011 Jun 17
1
question about split
Dear R-users
I seem to be stumped on something simple. I want to split a data frame
by factor levels given in one or more columns e.g. given
dat <- data.frame(x = runif(100),
fac1 = rep(c("a", "b", "c", "d"), each = 25),
fac2 = rep(c("A", "B"), 50))
I know I can split it by fac1, fac2 by:
2008 Sep 09
1
how to split a data framed with sequences
Hi all,
Given a data frame:
my.df <- data.frame(a = c(1:5, 1:10, 1:20), b = runif(35))
I want to split it by "a" such that I end up with a list containing 3
components i.e. the first containing a = 1 to 5, the second a = 1 to 10 etc.
In other words, sets of sequences of a.
I can't seem to find the right form using the split function - can you help?
Much appreciated.
David
2013 Feb 08
2
aggregation-type question
I seem to have a Friday afternoon block and can't see the easiest way of
doing this.
Given a data frame like:
dat <- data.frame(x = runif(100), y = runif(100), group = rep(letters[1:10],
each = 10))
> head(dat)
x y group
1 0.876751503 0.6518345 a
2 0.627067150 0.8801790 a
3 0.632465192 0.1768305 a
4 0.060359554 0.8835652 a
5 0.675868776 0.7721177
2000 Jan 19
2
using samba to authenticate
Hi all,
I need some help with samba, I have RH6.0 and samba 2.0.5 now I would like
to set the system
so that any user from the windows network can log on to the Linux box
without creating a new user
everytime. Is this possible?
Kevin Saenz
Dell Computer Australia Pty Ltd
Office: +61 2 89725560
E-Mail: kevin_saenz@dell.com
2008 Jan 02
2
Proxies
I really like the idea of Mock Proxies as explained in Brian Takita''s post here:
http://pivots.pivotallabs.com/users/brian/blog/articles/352-introducing-rr
I posted to this list eariler with an incomplete implementation of
.stops_mocking in the thread "Mocking Time, delegating to original
object." The Mock Proxy pattern would make this simpler.
2007 Jun 29
0
[networking-discuss] Re: DTraceNetwork Providers, take 2
> Brendan Gregg - Sun Microsystems wrote:
> > So, apart from Solaris routers, DNS servers and IPsec
> gateways, what
> > other servers would be under heavy load and be using
> something other than TCP?
>
> Finance houses, running Tibco Rendevous.
Further to this, as someone who works in this area, I can say that many
stock exchange data feeds are provided over UDP -
2005 Dec 21
0
ustack() issues && correlating SIGSEGV activ ity?
Hi Ryan,
> Does anyone happen to know why the ustack() doesn''t show lex,
> yak, main
> and _start?
A quick look with the source browser seems to indicate that _rt_boot is code
executed very early in the lifetime of your process by ld.so.1. What seems
to be happening is that ld.so.1 has allocated some memory before DTrace got
control of your process - long before main() was
2007 Jan 10
2
[DTrace] using C preprocessor in dtrace scripts
Hi Max/DTrace list,
> At any rate, without the -C, I can''t use #include <sys/stream.h>.
> Without the #include <sys/stream.h>, I can''t use the M_DATA.
> As it is, I get the following:
>
> # ./strrput.d 0xd595a6c0 <-- this is a vnode for a socket
> ftp is using (not important here)
> dtrace: failed to compile script ./strrput.d: line 7:
>
2005 Dec 21
1
ustack() issues && correlating SIGSEGV activity?
Howdy,
I was playing around with the malloc/free D script provided by
Philip Beevers:
http://www.opensolaris.org/jive/thread.jspa?threadID=4224&tstart=15
And decided to change the free:entry probe from:
pid24169::free:entry
/ sz[arg0] /
{
printf("Freeing %p (size %d)\n", arg0, sz[arg0]);
sz[arg0] = 0;
}
to:
pid24169::free:entry
/ ! sz[arg0] /
{
printf("[ *
1998 Feb 27
5
cross subnet browsing
It seems to be working for us now. I have the following relevant
settings in the [global] section of smb.conf ...
remote announce = 199.170.245.255/ENGINEER 199.170.224.255/ENGINEER 199.170.232.255/ENGINEER
workgroup = ENGINEER
wins support = no
wins server = 199.170.224.6
domain master = yes
local master = yes
preferred master = yes
; os level = 0 don't want Samba to
2005 Sep 15
10
Can I use printa() for printing multiple agg regations?
Hi Bryan,
> Does that sit well with everyone?
Seems fine to me.
Just revisiting one of Dragan''s points, though (sorry if I missed the
answer) - is there a reason for making this global (via a #pragma) rather
than, say, simply providing two functions which print in the different
orders? e.g. printa() for sort by sample, printak() for sort by key.
My reason for wanting to do both in
2009 Jun 16
0
ui and ci explanatory documentation
Hi Livia and everyone,
Did you ever get a response on this question from last year (Jan 2008)?
I am also looking for more explanatory documentation on the
ui and ci parameters for the function constrOptim().
The examples provided in the R help and the full reference
manual are not working for me. Goodle and Nabble searches have not resulted
in any explanation
2017 Oct 06
0
Using response variable in interaction as explanatory variable in glm crashes R
It is actually model.matrix that crashes, not glm. Same crash occurs
with e.g. lm.
model.matrix(dob_mon ~ dob_day*dob_mon, data = tab)
also crashes R.
Jan
On 06-10-17 12:08, Jan van der Laan wrote:
>
> The following code crashes R (I know I shouldn't try to estimate such
> a model; this was a bug in some code of mine). I also tried with
> R-devel; same result.
>
>
2007 Nov 13
1
FW: Reference category for explanatory factors
(Oops first mistake was posting to the wrong area)
I am not sure what is needed to be posted in terms of what I have done
but will explain nonetheless.
I am using the msm.package and trying to specify my reference category
for an outcome covariate. The following command line works:
## age of respondent - using year5a: categorical
preg_fyear5a.msm<-msm(outcome~ipi, subject=id, data,
2008 Jan 16
1
Non linear regression with 2 explanatory variables
Hello!
I want to do a non-linear regression with 2 explanatory variables
(something like : length ~ a * time * exp( b* temperature)), having a
data set (length, time, temperature). Which function could I use (I
tried nls but I think it doesn't work)
Thanks a lot!
Janice
2009 Jun 15
1
Linear Models: Explanatory variables with uncertainties
One of the assumptions, on which the (General) Linear Modelling is
based is that the response variable is measured with some
uncertainties (or weighted), but the explanatory variables are fixed.
Is it possible to extend the model by assigning the weights to the
explanatory variables as well? Is there a package for doing such a
model fit?
Thanks
2009 Nov 25
0
Backfitting with Missing Explanatory Values
Hi, I just wanted to check I'm not re-inventing the wheel here.
I'm developing a new algorithm for backfitting (i.e. additive models)
and for computing partial residuals, where partial residuals are still
computed even where there are missing values. Noting additive models
here contain both linear terms and smooth terms.
If I am re-inventing the wheel could some one please let me know.