:
CPS85$bogus <- as.numeric(rnorm(nrow(CPS85)) > 0)
-pd
> On 6 Sep 2019, at 11:57 , Paul Johnston
> wrote:
>
> Hi
>
> Anyone able to help me with this.
> I'm doing a datacamp course and the effect of adding a "bogus variable" to a
> linear model.
> I m
del((aug_model)))
I get
Error: variable 'bogus' was fitted with type "logical" but type "character" was
supplied
Any pointers gratefully accepted
Cheer Paul J
Paul Johnston
Field Support (Slough House)
University of Manchester
Room B29
Pariser B
m doesn't seem to allow for concordance analysis
... or perhaps it does and I just haven't figured out how to do it, so am happy
to be shown some documentation on that process, and whether that is applied
before or after the text is transformed into a DTM because searching on-line
hasn't (yet)
Suggest look at http://www.inside-r.org/packages/cran/tm/docs/stemDocument
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Andy Wolfe
Sent: 26 July 2016 08:10
To: r-help@r-project.org
Subject: [R] word stemming for corpus linguistics
Hi list
On a
session.
I've seen this
http://stackoverflow.com/questions/28377646/how-to-reconnect-to-the-pcorpus-in-the-r-tm-package
So can I create a corpus and just reload the file persistent copy or not?
Cheers Paul
Paul Johnston
Research Infrastructure
Room B39
Sackville Street Building
http:
Dear All
First post so sorry for any breaches of etiquette.
I have a csv containing the results for a series of experiments which record
the time taken for various sizes of iterations.
run_id,size,time
1,100,1.00
2,200,2.100
3,100,1.100
4,200,2.100
5,200,1.900
6,300,4.00
7,200,2.5
...
I read
What is the best way to report the standard error when publishing
Kaplan-Meier plots? In my field (Vascular Surgery), practitioners
loosely refer to the 10% error cutoff as the point at which to stop
drawing the KM curve. I am interpreting this as the *standard error
of the cumulative hazard*,
subscribe
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
I am calculating cox propotional hazards models with the coxph
function from the survival package. My data relates to failure of
various types of endovascular interventions. I can successfully
obtain the LR, Wald, and Score test p-values from the coxph.object, as
well as the hazard ratio as
Ok, so I'm new to R, but this is driving me crazy. In this example, I
am trying to process each element in a list.
code
s = 1,2
l = strsplit(s, ,, fixed=TRUE)
print(BEGIN)
n = length(l)
i = 1
while (i = n) {
x = l[[i]]
print(paste(x:, class(x), x))
print(BEFORE PRINT)
print(x)
My goal is to create a graph with one column and three rows into a
single graphic. The mfrow, mfcol, and layout functions all have the
same effect: three graphs are produced in a single pdf file, having
one graph per page. This is not what I want (I didn't want multiple
pages). Just before I
You are correct, thank you. I added a new subsection 'Graphics
Devices' in http://wiki.r-project.org/rwiki/doku.php?id=tips:surprises:traps
to document this behavior.
Paul
On Thu, Feb 5, 2009 at 4:58 AM, Peter Dalgaard p.dalga...@biostat.ku.dk wrote:
Paul Johnston wrote:
My goal is to create
12 matches
Mail list logo