I am using bootstrap and cannot figure how to tell R to ignore missing values
(NA)
I tried this syntax and it did not work. The name of the file is banks the
column two.
bootmean(banks$two,na.rm = True, conf = 90,nrep = 1000)
--
View this message in context:
http://r.789695.n4.nabble.com/M
this worked
bootmean(na.omit(Xt$Y), conf = 90,nrep = 1000)
thanks
From:
"Jeff Newmiller [via R]"
To:
grond
Date:
09/13/2012 04:48 PM
Subject:
Re: Missing Values
Don't give it any. Instead of banks$two, use na
actually this is what worked
bootmean(na.omit(X$Y), conf = 90,nrep = 1000)
From:
"Nordlund, Dan (DSHS/RDA) [via R]"
To:
grond
Date:
09/13/2012 05:43 PM
Subject:
Re: Missing Values
> -Original Message-
> From: [hidden email] [mailto:r-help-bounces@r-
> projec
ws: nodes a, b, c have i. e. color blue as they
originate from gr1, nodes f, g, h, i, j, k, l, m have i. e. color red as
they originate from gr2, nodes d, e either have color blue or color red
(depending in which sequence the graphs are joined), or nodes d. e have
a third color,
Dear all,
I'm creating a list (which is a tbl_graph) by a function, and assign the
result to a variable:
subnet_MYSUBNET <- my_function(MYSUBNET)
# MYSUBNET: a tbl_graph
Because there are multiple subnets to create, I can get the names of the
subnets (MYSUBNET1, MYSUBNET2, MYSUBNET3, etc.) fr
2021 11:48:55 +0200
>Wolfgang Grond wrote:
>
>> I want to assign the subnets to variables whose names contain the
>> name of the subnet
>
>Apologies if this sounds too opinionated, but creating variable names
>from variable values is a FAQ in a different dynamic language:
Ivan,
same situation when I try your list() solution:
Error in eval ... : object 'function' not found ( I think anything about
my_function is meant).
Am 9. April 2021 13:43:57 MESZ schrieb Ivan Krylov :
>Dear Wolfgang,
>
>On Fri, 9 Apr 2021 11:48:55 +0200
>Wolfgang Gro
", val, sep = ""), my_function(val))
>
>(which i would think should work)?
>
>cheers, Greg
>
>__
>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.
$column) {
> results[[as.character(val)]] <- my_function(val)
>}
>
>
>To keep extending a vector or list object in a loop is inefficient,
>this
>creates the list with the right length beforehand.
>
>
>Hope this helps,
>
>Rui Barradas
>
>Às 13
David,
I don't think that this is the case.
When I do the calculation like this
subnet_MYSUBNET <- my_function(MYSUBNET),
i.e. assigning a variable by hand to each function result, all is fine.
Am 9. April 2021 17:22:05 MESZ schrieb David Winsemius :
>
>On 4/9/21 5:21 AM,
ore neccessary to assign the result of the
function to a variable whose name consists of a fixed string and the content of
a further variable.
That was the intention for me to ask.
Am 9. April 2021 17:22:05 MESZ schrieb David Winsemius :
>
>On 4/9/21 5:21 AM, Wolfgang Grond wrote:
>> G
Dear all,
I'm joining differnts graphs to one with command graph_join from ggraph,
and try to color the nodes depending on the subgraph they come from.
To do that, I have these commands in my ggraph:
...
geom_node_point(size = 8, aes(colour
size = 8) +
> scale_color_manual(name = "Project / Projekt",
> values = c("blue", "red"))
>
>
>Hope this helps,
>
>Rui Barradas
>
>
>Às 15:57 de 15/04/21, Wolfgang Grond es
Dear all,
What I want to create is an interactive 3D plot from a data frame like this:
#: number
TLD: Countrycode
Date: date
String: a label
Because plot3d can only deal with numbers I converted Date to Year and
TLD as well as String to a numeric value like this:
numTLD <- as.numeric(factor(df
14 matches
Mail list logo