Displaying 20 results from an estimated 242 matches for "comprehending".
2011 Jun 11
2
Inspecting C code in an R package
Hello everyone,
Trying to comprehend code of an R package, I encountered the problem that
the interesting part of the
function I'm inspecting is written in C-Code and called by ".C("somename",
....)". Now I can't inspect the C-Code the function is calling since I can't
find it in the folder of the package.
Does someone know, where the corresponding C-Code ist
2007 Dec 09
1
List comprehensions for R
Below is code that introduces a list comprehension syntax into R,
allowing expressions like:
> .[ sin(x) ~ x <- (0:11)/11 ]
[1] 0.00000000 0.09078392 0.18081808 0.26935891 0.35567516 0.43905397
[7] 0.51880673 0.59427479 0.66483486 0.72990422 0.78894546 0.84147098
> .[ .[x*y ~ x <- 0:3] ~ y <- 0:4]
[,1] [,2] [,3] [,4] [,5]
[1,] 0 0 0 0 0
[2,] 0 1 2
2008 Jan 09
6
as.date - german date format
Hi,
I have a data.frame with the following variable:
$ xx :Factor w/ 66 levels "01.02.2006","01.03.2006",..: 3 3 3 3 3 3 3 3 3
now I?d like use "as.date" on it - if I comprehend the instructions on
http://finzi.psych.upenn.edu/R/library/base/html/format.Date.html
it should work like this:
as.date(xx, "%d.%m.%Y") - but it doesn?t...
the survival Package
2008 Mar 07
5
Puzzling coefficients for linear fitting to polynom
Hi,
I can not comprehend the linear fitting results of polynoms. For
example, given the following data (representing y = x^2):
> x <- 1:3
> y <- c(1, 4, 9)
performing a linear fit
> f <- lm(y ~ poly(x, 2))
gives weird coefficients:
> coefficients(f)
(Intercept) poly(x, 2)1 poly(x, 2)2
4.6666667 5.6568542 0.8164966
However the fitted() result makes sense:
>
2018 Feb 15
2
Codes to conduct network meta-analysis, gemtc package
Hi,I want codes that could help me do NMA from the data. I would appreciate if you could give a dummy table with which I could practice the codes that would help read the data and calculateOdds ratio (OR)
Mean difference (MD)
forest plot
Density plot of posterior samples
Estimates of ranks probabilities
Rank probabilities plot (rankogram)?
Network plots?
The manual by?Gert van Valkenhoef is
2008 Jun 17
4
[LLVMdev] LLVM on OpenBSD
...eall] Error 2
gmake[1]: Leaving directory `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib'
gmake: *** [all] Error 1
*** Error code 2
This is not a gcc bug, but the assertion failing. A quick diff against
this file shows a huge amount of changes and I have nowhere near
enough knowledge to start comprehending this code. I am only starting
to learn about compilers for my dissertation :)
Any help is much appreciated
--
Best Regards
Edd
http://students.dec.bournemouth.ac.uk/ebarrett
2010 Mar 01
3
[LLVMdev] paramter attributes and function types
On Mar 1, 2010, at 04:43, Duncan Sands wrote:
> [I wrote:]
>>
>> Nevertheless, the LLVM Language Reference document suggests, in the examples for the Function Types section, that parameter attributes are part of function types.
>
> Where exactly? I don't see it in the online version.
See <http://llvm.org/docs/LangRef.html#t_function> and look at the second
2008 Aug 28
4
Help with shading a polygon below a segment of a curve (normal distribution)
Dear R users,
I still feel new to R so please apologize if I am doing something stupid
here. My use of the polygon() function produces a result that I cannot
comprehend: In a plot, I would like to shade the area below a normal
distribution. However, I do not want the entire area to be shaded, but
just the area on the right side of a vertical line that I draw through
the distribution (in
2005 Feb 25
2
display full form in args
Forgive me for I do not fully comprehend the idea of classes and methods
but I was wondering if someone could help explain why the function args
() behaves the way it does.
Why does args(cut) show the simplified version instead of the more
complete one as in help("cut"). This is true for few other functions
(e.g. plot, rep).
> args(cut)
function (x, ...)
Sometime I can get
2004 Nov 28
5
Newbie-needs help
Hello all:
I''ve read the documentation and am not quite sure where to start.
What I''m trying to do is build a network with a 3 NIC Shorewall router.
My system is behind a routed /49 network.
I''d like to use 2 or 3 of the static IP addresses for my DMZ ( DNS server, mail, webserver etc ) and
then have my remaining machines in a private network NATed is some way.
My
2010 Mar 16
2
Retrieving latitude and longitude via Google Maps API
...address, city, state,
and zip code and returns the coordinates. So far, I've been submitting
the coordinates from another program, then loading the coordinates in R
and merging them back into the data frame I want to use. It'd be nice
to be able to do it all in one script, but I'm not comprehending the API
thing very well.
I'm using R 2.9.1 on Windows XP. Any suggestions or pointers?
Benjamin
Benjamin Nutter | Biostatistician | Quantitative Health Sciences
Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 |
(216) 445-1365
===================================...
2013 Nov 08
0
[LLVMdev] [cfe-dev] RFC: A proposal to move toward using C++11 features in LLVM & Clang / bounding support for old host compilers
Chandler Carruth <chandlerc at google.com> writes:
> The overwhelming majority of contributors and users of trunk seem to
> be fine with this, so while I'm interested in anything we can do to
> make it easier for you, unless we see significantly more concerns
> about this plan, I think we should move forward.
>
> Fundamentally, we aren't going to be able to make
2011 Oct 23
4
summarizing a data frame i.e. count -> group by
Hello,
This is one problem at the time :)
I have a data frame df that looks like this:
time partitioning_mode workload runtime
1 1 sharding query 607
2 1 sharding query 85
3 1 sharding query 52
4 1 sharding query 79
5 1 sharding query 77
6 1 sharding query 67
7 1
2010 Jul 26
0
[LLVMdev] LLVM Dependency Graph
On Jul 26, 2010, at 9:41 AM, David Piepgrass wrote:
> Based on cmake/modules/LLVMLibDeps.cmake, I produced a graphviz dot file and then manually removed components and edges until the graph was small enough to be presentable. I don’t know if I can actually use LLVM due to its humongousness, but I hope the graph will be helpful to others attempting to comprehend LLVM. PNG attached; dot file
2008 Jan 18
1
modifing barplot
Hi,
I would like to modify how barplot .... plots. For reasons only my supervisor comprehends i need to do the crisscross lines in the bar thicker. If i use lwd=2 the y-axis is thicker, (i use the option beside = TRUE) but nothing else is affected by this parameter - it seems. I looked at the barplot.r code but i am afraid i don't quite understand it so ..... i am at loss.
I am using
2011 Oct 07
1
Permissions option
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
rsync v3.0.7
I am backing up data to a USB memory drive that is formatted FAT32,
which does not comprehend linux permissions.
I added the "--no-perms" option to the option set. rsync still
attempts to change the permissions.
OPTS = "--no-perms --archive --stats --delete --itemize-changes
- --quiet
2004 May 14
1
friendly printer name
Hi,
I have sucessfully installed an ad-integrated samba server. We mainly
use the server for printer sharing and are very happy with it. We only
have one problem or missing feature:
On a Windows Server, you change the name of a printer, so that it is
different to the share name. We use 8-letter sharenames for being
compatible to old Win9x-Clients, bbut we would like to have logner, more
2013 Nov 07
4
[LLVMdev] [cfe-dev] RFC: A proposal to move toward using C++11 features in LLVM & Clang / bounding support for old host compilers
On Tue, Nov 5, 2013 at 10:12 AM, <dag at cray.com> wrote:
> Chandler Carruth <chandlerc at google.com> writes:
> > So far, I'm not hearing any significant objections.
> >
> > I'm going to put the plan of record about this into the release notes,
> > and I'll write up a blog post about it and do some other things which
> > will likely make
2012 Sep 26
2
specifying arguments in functions and calling functions, within functions
Esteemed R UseRs,
Regarding specifying arguments in functions and calling functions
within functions:
## beginning ##
## some data
ex <- rnorm(10)
ex[5] <- NA
## example function
Scale <- function(x, method=c("mean", "median")) {
scl <- method
scl(x)
}
## both return NA
Scale(ex, method=median)
median(ex, na.rm=FALSE)
## both return the median
Scale(ex,
2010 Jan 18
3
The role of self and :: within a method of a model
...el.new.abc). However, what is its role when located in a method inside a
model like in the code below.
Also in the code below, you see :: located in the method. Isn''t that used
for modules and namespaces? If so, why is it located in the method here.
These two things are preventing me from comprehending the below code:
def hash_new_password
# First reset the salt to a new random string. You could choose a
# longer string here but for a salt, 8 bytes of randomness is probably
# fine. Note this uses SecureRandom which will use your platform''s
secure
# random n...