Displaying 20 results from an estimated 242 matches for "comprehend".
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 packa...
2007 Dec 09
1
List comprehensions for R
...5 6
[[5]]
[1] 4 5 6 7 8
> .[ x*y ~ {x <- 1:4; y<-1:x} ]
[1] 1 2 4 3 6 9 4 8 12 16
These constructions are supported by the following code.
Regards,
David
##
## Define syntax for list/vector/array comprehensions
##
. <<- structure(NA, class="comprehension")
comprehend <- function(expr, vars, seqs, comprehension=list()){
if(length(vars)==0) # base case
comprehension[[length(comprehension)+1]] <- eval(expr)
else
for(elt in eval(seqs[[1]])){
assign(vars[1], elt, inherits=TRUE)
comprehension <- comprehend(expr, vars[-1], seqs[-1], co...
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 ist loaded - is there a problem with the german format?
Or did I understand something wrong?
Much better than...
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...
2018 Feb 15
2
Codes to conduct network meta-analysis, gemtc package
...ctice 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 difficult for me to understand and comprehend.
[[alternative HTML version deleted]]
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
...that should be sign extended
and a pointer to i32, returning float.
Hence, my confusion over the issue. If parameter attributes aren't included in function types, then I'd like to know how to call a function through a pointer of the type in the example above. I must be failing still to comprehend an important concept in the language.
—
j h woodyatt <jhw at conjury.org>
http://jhw.vox.com/
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 order to illustrate the function of a t-test). Here
is what I do:
scale &...
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)....
2004 Nov 28
5
Newbie-needs help
...need some help in setting this up. I''ve read the documentation and I''m not quite sure and I don''t
want to mess things up as I am hosting several sites now.
I figured it was time to set things up properly, but I just don''t have the networking background to
fully comprehend the documentation...
I have two seperate switches... one will be for the DMZ and the other will be for the private network.
Thanks all,
--
Jim Norton - http://www.jimnorton.org
"The art of listening is indispensable for the right use of the mind.
It is also the most gracious, the most ope...
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
...able to make everyone happy. Some
> people will be seriously inconvenienced by this, but thus far the
> benefit seems to significantly outweigh the cost.
But the benefit is still there even if it takes a month or two longer.
This is a *serious* issue. It doesn't seem like people really
comprehend the challenges of upgrading toolchains in large software
projects. We're talking about millions and millions of lines of code
spread out over many independent modules. These all have to fit
together to create a usable tool.
What is so hard about waiting an extra month to give people a chance...
2011 Oct 23
4
summarizing a data frame i.e. count -> group by
...:
incorrect number of dimensions
> throughput <- aggregate(x=df, by=list(df$time,df$partitioning_mode), count)
Error in `[.default`(df2, u_id, , drop = FALSE) :
incorrect number of dimensions
>throughput <- tapply(X=df$time, INDEX=list(df$time,df$partitioning), FUN=count)
I cant comprehend what comes out from this one ... :(
and I thought C++ template errors were the most cryptic ;P
Many many thanks in advance,
Best regards,
Giovanni
2010 Jul 26
0
[LLVMdev] LLVM Dependency Graph
...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 follows.
This is really cool. Do you have a script that produces the .dot file? If so, we could check it in and add a makefile target,
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-de...
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 usin...
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 --exclude-from='${EXCL_FILE}"
Typical entry in the log file:
2011/10/07 10:27:1...
2004 May 14
1
friendly printer name
...rinter 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
comprehendable names for our Win2k/XP users. The printer name on Windows
in the Properties under the general-tab; the textbox next to the
printer icon can be altered and pressing ok saves the new name on the
server.
I tries to track the problem, and it seems like windows saves this name
under the value...
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
...the following but i was wrong.
## '...' has no apparent effect
Scale <- function(x, method=c("mean", "median"),...) {
scl <- method
scl(x)
}
## both return NA
Scale(ex, method=median, na.rm=TRUE)
Scale(ex, method=median, na.rm=FALSE)
## end ##
I failed to comprehend anything google returned when trying to
understand this myself. Greatly appreciate any thoughts &/or
examples on this.
Tia, Karl
--
Karl Brand
Dept of Cardiology and Dept of Bioinformatics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
T +31 (0)10 703 2460 |M +31 (0)642 777 268 |F +31 (0)...
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
# rando...