ec 2020 at 13:47, Dan Bolser wrote:
> Hello,
>
> I'm reading this and one part is confusing me (the most ;-)
>
> library(dotwhisker)
> library(broom)
> library(dplyr)
>
> m1 <- lm(mpg ~ wt + cyl + disp + gear, data = mtcars)
>
> # Please compare:
> dwplot(m1)
944-0.490445
Sorry if I'm being stupid, but the latter looks right while the former
looks wrong (i.e. I can't work out what the former is actually plotting).
Many thanks,
Dan.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing l
Dear Frauke,
Thank you very much for taking the time to respond.
You explanation was very helpful, and I now have that part figured out!
Best Wishes,
Dan
Frauke
Message: 3
Date: Mon, 12 Oct 2020 08:33:44 +0200 (CEST)
From: =?UTF-8?Q?Frauke_G=C3=BCnther?=
To: "r-help@r-project.org
and
constant.weights vectors.
Question: Can someone point me to an example where exclude and contant.weights
are used. I have search the R help archive, and haven't found any examples
which use these on the web.
Thank you in advance for any help.
Sincerely
Dan
[[alternative HTML
Hi there
I am in an intro to R course and the professor has not been much help. One of
the questions on the latest homework has me stumped. The question is below,
along with my answers so far.
8. [15 points] Given the following code,
#
# x <- rnorm(10)
#
# Do the following.
#
# (1) create a
words<-c(paste(0:9,"\\)"),paste(0:9,"\\)",sep=""),
paste(0:9,"."),paste(0:9,".",sep=""),"-","*")}
keywords
Count<-str_count(text3,keywords)
===
I am looking for Count<-c(3,0)
Any suggestions?
Thanks!
Dan
., easier)
way to go about this?
boundaries<-(0:16)/16
rand<-runif(1)
Which bin number (1:16) does rand fall in?
Thanks,
Dan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
For a reproducible example, you need to give us some example data, at least
dput(head(leafbiom97))
dput(head(Litterfall_Ahmed97))
dput(head(GPP_Ahmed13))
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Depart
;
}
Here is some normal text. It is a 12-point font. The table is in 8-point .
```{r example, echo=FALSE, results='asis'}
tmp <- data.frame(a=1:5, b=letters[1:5])
print( knitr::kable(tmp, row.names=FALSE))
```
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Divi
lse(Class=='character',shQuote(Value), Value), sep = '=', collapse = ","))
Hope this helps,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message
h blah blah 1. 2. blah blah
blah. blah blah blah.")
text1
Thank you in advance for your suggestions and/or guidance.
Best,
Dan
On Wed, Apr 26, 2017 at 12:52 AM, Michael Hannon <jmhannon.ucda...@gmail.com
> wrote:
> Thanks, Ista. I thought there might be a "tidy" way to do t
2),
then I expect that will be easy enough to differentiate sentences ending
with a number from enumerated items. However, I imagine it would be much
more difficult to differentiate the two for example 4.
Any suggestions are appreciated.
Best,
Dan
[[alternative HTML version deleted]]
__
igits=20)
[1] 57.5
>
Your example with all.equal evaluates TRUE because all.equal uses a 'fuzz
factor'. From the all.equal man page
"all.equal(x, y) is a utility to compare R objects x and y testing 'near
equality'."
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and
session and may be disabled by setting
options("getSymbols.warning4.0"=FALSE). See ?getSymbols for more details.
downloading SPY .
trying URL
'http://ichart.finance.yahoo.com/table.csv?s=SPY=0=01=2007=3=18=2017=d=q=0=SPY=.csv'
Content type 'text/csv' length unknown
downloaded 187
This is pretty basic stuff which suggests you need to (re)read the intro to R
that comes with your R installation. One approach would be :
xFrame <- data.frame(x=x, Transits=NA)
hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise
;{\"Q0\":\"37\",\"Q1\":\"f\"}"
s
cat(s,'\n')
'"'# single quote, double quote, single quote
strsplit(s, '"')
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support
cribe in more detail what you are
trying to do with it, someone may be able to offer a solution.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
On March 9, 2017 2:34:40 AM P
Another alternative (which didn't work last night when I was tired and
obviously doing something wrong) is to use the built-in function, rev():
df[,1:3] <- apply(df[,1:3], 2, rev)
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Adminis
The rms and Hmisc packages can be found on CRAN. Just run install packages
from the console menu.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original
The compiler package may be installed on your computer, but did you load it with
library(compiler)
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original
year_week_day, format = "%Y-%U-%u"))
> ## [1] "2015-12-21 PST" "2015-12-28 PST" NA "2016-01-04 PST"
Why do you say it works fine on Ubuntu? The date "2016-01-01" is in week 0 of
2016. There is no Monday in week 0. So I would
of these for different samples of n=25, so the manual
approach would be very painful...
Thanks,
Dan
hist1.pdf
Description: Adobe PDF document
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
Hi all,
I have 2 vectors and need to extract only the elements from v2 that do not
appear in v1. What is the most efficient way to do this?
In the example below, I need to extract "var1".
v1<-"b0"
v2<-c("b0","var1")
Thanks,
D
Hi Bert,
Thank you for the response. Let me re-phrase:
What is the most efficient way to generate variates from a unimodal
symmetric distribution that are leptokurtic or platykurtic in R? There does
not appear to be a kurtosis parameter for rnorm().
Thanks all,
Dan
On Fri, Dec 16, 2016 at 10
Hi all,
I need to generate heavy and light-tailed normal variates separately for
demonstration purposes. I figure for the heavy-tailed, I will just generate
variates from a t distribution with low degrees of freedom. How does one
generate light-tailed normal variates?
Thanks,
Dan
://stat.ethz.ch/mailman/listinfo/r-sig-db
Good luck!
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-p
I don't know what version Linux or other OS you are using, but have you
installed the bzip2 development package? It would be named something like
libbz2-dev (that is what it is in Ubuntu, I believe).
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Sup
pages. But you are
right, using any numeric vector of appropriate size as the first argument does
what I need.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -O
g to get a numeric vector back. I apparently have missed
something in the documentation. If vector v is character, then the numeric
sequence is converted to character before returning. I can work around by
doing something like
ave(seq_along(v), list(v), FUN=seq_along)
[1] 1 2 3 1 2 3 1 2 3 4
Or, you can just use read.csv with sep=';'
read.csv("test.csv", sep=';') -> don
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message
don't want to
start writing in the first row of the cell block region. I didn't look around
much to see if the addDataFrame() function could be used with a cell block
region.
You can play with the various functions and parameters to decide if the xlsx
package will meet your needs
Hope this is helpfu
maintainer of the package directly with your
questions.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-pr
want to "predict" what clusters NEW data would fall into, then use
predict(). It is not surprising that predict() used on the original data would
predict the fitted results.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administrat
You still seem to be having problems, so where is the promised reproducible
example?
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> Fr
eturn one row per minimum and maximum date in the month. My approach would
return all rows where d$Date was equal to the minimum or maximum dates in a
month. Which to use depends on what the OP needs.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Suppo
Using William Dunlap's data, here is another alternative:
library(zoo)
aggregate(d$Date,list(as.yearmon(d$Date)),min)
aggregate(d$Date,list(as.yearmon(d$Date)),max)
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administra
Can anyone help me calculating CIs from a GAM analysis?
I have calculated a GAM fit (m3) and the associated std errors using
predict.gam
I assume that the 95% CI around each fit value would be 1.96
times the se.But when I do this both on the original and a test
dataset, I find the CI's only
A quick Google search suggests that the package, NMF, might be of help.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-help
We really need a reproducible example. Otherwise, we can only guess what the
starting point was, how the merge was done, what the expected result was, and
how the obtained result differed from the expected result.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services
king things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
>
> On Tue, May 31, 2016 at 11:32 AM, Dan Kolubinski <kolub...@lsbu.ac.uk>
> wrote:
> > That makes perfect sense. Thank you, Michael. I take your point about
>
the dataset to make sure that there are not any errors and
will report the results as we see them. I much appreciate you taking the
time!
Best wishes,
Dan
On Tue, May 31, 2016 at 12:02 PM, Michael Dewey <li...@dewey.myzen.co.uk>
wrote:
> In-line
>
> On 30/05/2016 19:27, Dan K
Much appreciated,
Dan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.
Another option
Daily$tmdiff <- with(Daily, c(NA, diff(Date, units='days')))
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Origin
"computing on the language" in R, but I can't help but think
you are going about your task in the wrong way. If you provide more detail
about what you are trying to do, someone will probably be able to provide you a
solution where you don't need to do it this way.
Hope this is helpful,
Dan
))
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf
ly(dataset[,variable_list], 1, function(x) sum(is.na(x)))
}
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-he
Hi all,
I want to select all variables in the data.frame with a name that
includes are certain string. Something like the following:
merge3[,names(merge3) %in% c("Email","Email.x")]
But there are too many variations on the Email variable names to list them all.
Can anyone a
SE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
> David Winsemius
> Alameda, CA, USA
>
I agree that what is wanted is not clear. However, if dfrm is created with x2
you receive?
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Santanu
> Muk
I will suggest that you read the documentation on t.test.
?t.test
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-help [mai
If you google "R Statistical Programming software" you will find all the
information you could possibly want. In particular, for your purposes you
should probably start with
https://www.r-project.org/
and read the "About" section. Then follow other links as needed.
A Google search suggested the use of the boot package to bootstrap a confidence
interval for R-squared.
http://www.statmethods.net/advstats/bootstrapping.html
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Depart
So, you need to download and install the mnormt package.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
> -Original Message-
> From: R-help [mailto:r-help
much so it may not be
real noticeable. Try a value like 2 or 3, just to make sure you easily see the
change in position before concluding that nothing is happening.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Depart
Ista,
You are correct, I was not at the latest release of ggplot2. I updated to the
latest version and am now seeing the same result as you and the OP. So it does
look like an issue with the latest version of ggplot2.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services
Which is why England and the United States have been described as two countries
divided by a common language. (Could probably throw Scotland and Australia,
and others, into the mix as well ... notice the parethenses, or nice round
brackets, or ? :-} )
Dan
Daniel Nordlund, PhD
Research
Hello, first time poster so forgive any mistakes.
I have limited familiarity with R, but am working on a project to find the
relative risk of mortality due to changes in diurnal temperature range.
What I am trying to do is find the relative risk of mortality at the 10th,
50th and 90th percentiles
CO2
and logTrop_Aerosol as the function arguments. Those arguments don't refer to
variables in the global environment. Function parameters have local scope in
the function.
Trend <- function(x,CO2,logTrop_Aerosol) { lm(x ~ CO2 + logTrop_Aerosol)}
Dan
Daniel Nordlund, PhD
Resea
ces?
So, I find the package listed on CRAN but there appears to be only source
there, not a binary. I tried a few different mirrors with the same result.
What have I missed?
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washingto
You might want to upgrade to R-3.2.2 as there appears to be a RWinEdt binary
available for it.
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
-Original Message-
Fro
you might want something
like this
"C:\Program Files\HDF_Group\H4TOH5\2.2.2\bin\h4toh5convert.exe "
"D:\Guanacos_3\Consultoria Santa Cruz\Datos SC\Clima\MODIS
Snow\AMSR_E_L3_5DaySnow_V09_20050126.hdf"
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support
I have a tkwidget table (say, tbl1) that may be reconfigured at various times
depending on user input. Is there an easy way to later extract table
properties? Something like...
nrow<-tkgetproperties(tbl1, rows)
Muchas thanks in advance.
-Dan
--
View this message in context:
http://r.789
20)
junk<-outer(x, x, '-')
junk[junk>0] # yields: c(3, 7, 20, 4, 17, 13) as needed, but it has to go
through
junk
# [,1] [,2] [,3] [,4]
#[1,]0 -3 -7 -20
#[2,]30 -4 -17
#[3,]740 -13
#[4,] 20 17 130
Anyone have a better idea?
-Dan
--
View this mes
Can anyone think of a slick way to create an array that looks like c(1:n,
1:(n-1), 1:(n-2), ... , 1)?
The following works, but it's inefficient and a little hard to follow:
n<-5
junk<-array(1:n,dim=c(n,n))
junk[((lower.tri(t(junk),diag=T)))[n:1,]]
Any help would be greatly appreciated!
Very nice variety of solutions to create c(1:n, 1:(n-1), 1:(n-2), ... , 1)
#Testing the methods with n=1000 (microbenchmark)
n<-1000
# by far the nicest-looking, easiest to follow, and fastest is Frank
Schwidom's:
# it also requires the minimum amount of memory (as do several of the
others)
#
Another option is
apply(X,2,function(x) x-mean(x))
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
-Original Message-
From: R-help [mailto:r-
VAS<-c("Green","Green","Black","Green","White","Yellow","Yellow","Black","Green","Black")
c(factor(VAS)) # to give integer indexing to the colors
---
This is very nice, Frank. And it can be easily adjusted to match the
original criterion that the numbers match the order of appearance of the
Great!
--
View this message in context:
http://r.789695.n4.nabble.com/Help-with-vectors-tp4711801p4712023.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
he given year and
month and sum
}
}
Does that help?
- Dan
--
View this message in context:
http://r.789695.n4.nabble.com/Counting-number-of-rain-tp4712007p4712011.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing
press ESC.
You may have entered a command that was missing a parenthesis or something
else that R needs before it can make sense out of your code (e.g., entering
"sum(X" without the closing paren will give you that pattern). ESC brings
back the command line and you can try ag
# or:
strsplit("junk",split=NULL)[[1]][(1:nchar("junk"))%%2==1]
strsplit("junk",split=NULL)[[1]][(1:nchar("junk"))%%2==0]
--
View this message in context:
http://r.789695.n4.nabble.com/extracting-every-nth-character-from-a-string-tp4711908p4711962.html
Sent from the R help mailing list
# as a complete function
StrSubset<-function(junk,n){
ifelse(n==1,junk,
paste(strsplit(junk,split=NULL)[[1]][(1:nchar(junk))%%n==1],collapse=''))
}
--
View this message in context:
http://r.789695.n4.nabble.com/extracting-every-nth-character-from-a-string-tp4711908p4711963.html
Sent from
# it's not clear what your question is, but here's a stab in the dark at a
solution!
ind<- !is.na(dataframe$A) & !is.na(dataframe$B)
dataframe$A[ind] + dataframe$B[ind]
- Dan
P.S. I'm sure there are ways to do this using one of R's functions for
automatically removing NA's (na
length(post) is 1 (i.e., it is just a single function), but length(post(t))
== length(t)
--
View this message in context:
http://r.789695.n4.nabble.com/Plots-Help-tp4711894p4711897.html
Sent from the R help mailing list archive at Nabble.com.
__
The code has an error so it won't run as written.
Instead of:
infectrate[n]= (400)(1.1)^(n);
try:
infectrate[n]= 400*1.1^n;
What I get after making this change looks right.
--
View this message in context:
http://r.789695.n4.nabble.com/For-Loops-please-help-tp4711882p4711884.html
Sent
# your data
VAS<-c("Green","Green","Black","Green","White","Yellow","Yellow","Black","Green","Black")
# declare the new vector
New_Vector<-numeric(length(VAS))
# brute force:
New_Vector[VAS=="White"]<-1
New_Vector[VAS=="Yellow"]<-2
New_Vector[VAS=="Green"]<-3
New_Vector[VAS=="Black"]<-4
# a
As written, the code does not run because you are trying to plot post vs. t.
Try instead:
plot(t, post(t)), or, more simply, plot(t, dbeta(t,1.05,30))
-Dan
--
View this message in context:
http://r.789695.n4.nabble.com/Plots-Help-tp4711894p4711896.html
Sent from the R help mailing list
d(1:30,log(infectrate))# display
-Dan
--
View this message in context:
http://r.789695.n4.nabble.com/For-Loops-please-help-tp4711882p4711885.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list -- To U
ifference can easily be a few seconds
vs. an hour or more. And if many such arrays need to be run, the difference
is between "difficult" and "not feasible".
-Dan
--
View this message in context:
http://r.789695.n4.nabble.com/For-Loops-please-help-tp4711882p4711887.html
Sent
.
[Note: I used cx as the parameter name rather than c because 'c' has a
special meaning in R.]
-Dan
--
View this message in context:
http://r.789695.n4.nabble.com/Bayesian-Methods-Riemann-Sums-for-Posterior-expected-loss-tp4711900p4711901.html
Sent from the R help mailing list ar
Hi all,
I have a number of columns with spaces in the column names exactly as
I want them in R. When I go to export the data table to csv using
write.csv(), the fn adds periods in place of the spaces.
Is there a way to suppress the addition of the periods?
Thanks,
Dan
Pick the mean (mu) and variance (sig2) you want. Then, shape = mu^2/sig2 and
scale = sig2/mu. This should work fine if your mean is large enough so that
p(x = 0 or 1) is small.
--
View this message in context:
http://r.789695.n4.nabble.com/Gamma-count-tp4711845p4711853.html
Sent from the R
The file.show() function seems to be exactly what I'm needing for displaying
file contents for users, but I need something like "file.close()" to close
the "R Information" window to clean up afterwards. Does anyone know if there
is such a thing?
-Dan
--
View this message i
I'd like to edit the GUI preferences for the current (Windows) session via
command line rather than the Edit|GUI preferences menu. In particular, is
there a way to change the pagerstyle to singlewindow without using the menu
or editing the RConsole file?
Any ideas?
Thanks!
-Dan
--
View
Or to provide data without using an attachment, use dput() and cut-n-paste
the result into an email.
dput(Mac[1:10,])
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services Enterprise Support Administration
Washington State Department of Social and Health Services
WorkingDirectoryc:\biocbld\bbs-3.2-bioc\meat/WorkingDirectory
/Exec
/Actions
/Task
Thanks in advance for any help,
Dan
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
),rep(green,2))
values=c(1:12)
values[col==blue cycle==1]
Or save the data frame and return the rows that you want like this
df - data.frame(cycle,col,values)
df[df$col==blue df$cycle==1, ]
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services
Why are you using paste() ? Why not just
setwd(Sys.getenv(EDC_HOME))
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services Enterprise Support Administration
Washington State Department of Social and Health Services
-Original Message-
From: R-help [mailto:r-help
$A - rowSums(df[,c(2,4)])
df$B - rowSums(df[,c(3,5)])
want - as.zoo(df[,-c(2:5)])
want
Hope this is helpful,
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services Enterprise Support Administration
Washington State Department of Social and Health Services
-Original Message
(bc(1)))
in R and got this result
262537412640768743.2500725971981856888793538563373369908627075374103782106479101186073116295306145602054347
I don't know if this is helpful, but ...
Dan
Daniel Nordlund, PhD
Research and Data Analysis Division
Services Enterprise Support
and 31 timepoints.
What am I doing wrong?
Thanks,
Dan
Dr Dan Bebber
Senior Research Fellow
Biosciences
University of Exeter
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
simply change the backslash to a forward slash
and therefore not need gsub at all...
Thanks,
Dan
On Tue, May 26, 2015 at 9:56 PM, Ista Zahn istaz...@gmail.com wrote:
Escape the backslash with another backslash, i.e.,
gsub(\\,/,X:\\Classes\\TT\\Automation, fixed = TRUE)
best,
Ista
On Tue
Hi all,
I realize that the backslash is an escape character in R, therefore, I
am trying to replace it with a forward slash. Can someone please
suggest how to get this code to work?
lib-gsub(\,/,X:\Classes\TT\Automation)
Error: unexpected symbol in lib-gsub(\,/,X
Thanks,
Dan
?
Dan
Daniel J. Nordlund
Research and Data Analysis Division
Services Enterprise Support Administration
Washington State Department of Social and Health Services
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
of the packages which need updating.
Dan
Daniel J. Nordlund, PhD
Research and Data Analysis Division
Services Enterprise Support Administration
Washington State Department of Social and Health Services
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE
Thanks,
I will do that.
Dan
Daniel J. Nordlund, PhD
Research and Data Analysis Division
Services Enterprise Support Administration
Washington State Department of Social and Health Services
-Original Message-
From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
Sent: Tuesday, May
Or maybe even better, the r-sig-debian list. They are very helpful with R and
Ubuntu issues.
https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Hope this is helpful,
Dan
Daniel J. Nordlund
Research and Data Analysis Division
Services Enterprise Support Administration
Washington State
That is probably the number one reason for requesting a reproducible example
when writing to R-help. In the proce3ss of working that out, you often solve
your own problem.
Best of luck with your bootstrapping,
Dan
Daniel J. Nordlund, PhD
Research and Data Analysis Division
Services
: 416.864.5776 Fax: 416.864.3016
Another option would be to stack your strata and then sample from the combined
data frame, something like this:
sample_size - 10
population - rbind(df1,df2,df3)
sim.sample - pop[sample(nrow(pop),sample_size, replace=FALSE),]
Hope this is helpful,
Dan
Daniel J
in a web interface (asp.net
http://asp.net) without the need to install it?*
thanks
Well, somebody has to have R installed where you can access it. That being
said, you might look at RStudio Server to see if that meets your needs.
http://www.rstudio.com/products/RStudio/
Dan
Daniel J
1 - 100 of 739 matches
Mail list logo