id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
R_base_all/split-data-frame-string-column-into-multiple-columns0_11_0.txt | 10. Communities for your favorite technologies. Explore all Collectives
2. Teams | |
R_base_all/R_base_all_221_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# funprog: Common Higher-Order Functions in Functional Programming Languages
## Description
... | |
R_base_all/getting-started-simulating-data8_108_0.txt |
set.seed(16)
list1 = list() # Make an empty list to save output in
for (i in 1:3) { # Indicate number of iterations with "i"
list1[[i]] = rnorm(n = 5, mean = 0, sd = 1) # Save output in list for each iteration
}
list1
[[1]]
[1] 0.4764134 -0.1253800 1.0962162 -1.... | |
R_base_all/R_base_all_405_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# Memory: Memory Available for Data Storage
## Description
How R manages its workspace.
#... | |
R_base_all/weighted-average-excel4_122_0.txt | @James
.
Actual
=25*0.80 + 1*0.15 + 1*0.05
=20.2
.
Goal
=50*0.80 + 3*0.15 + 3*0.05
=40.6
Reply | |
R_base_all/Simulation.html9_22_0.txt |
rpois(5, 10)
## [1] 8 5 16 11 13
Now use replicate(100, rpois(5, 10)) to perform this operation 100 times.
Store the result in a new variable called my_pois. | |
R_base_all/1370168_1_0.txt | General
rstudio , forloops | |
R_base_all/weighted-average-excel4_127_0.txt | You can use
=SUMPRODUCT(A1:A5,B1:B5)/SUM(A1:A5)
or
=(A1*B1+A5*B5)/(A1+A5) | |
R_base_all/getting-started-simulating-data8_112_0.txt |
str(simlist)
List of 3
$ :'data.frame': 6 obs. of 2 variables:
..$ group : chr [1:6] "a" "a" "a" "b" ...
..$ response: num [1:6] -0.314 -0.183 1.47 -0.866 1.527 ...
$ :'data.frame': 6 obs. of 2 variables:
..$ group : chr [1:6] "a" "a" "a" "b" ...
.... | |
R_base_all/R_base_all_363_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# svd: Singular Value Decomposition of a Matrix
## Description
Compute the singular-value de... | |
R_base_all/R_base_all_330_2.txt | elper functions to
enable standard output and standard error units in ` gfortran ` when executing
external code via ` system ` and ` system2 ` . By default, these units are
disabled by the Windows profile when running inside RGui.
Powered by [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/weighted-average-excel4_37_0.txt | Excel School made me great at work.
5/5 | |
R_base_all/weighted-average-excel4_180_0.txt | (120 seconds, 3 transactions per day
180 seconds, 87 transactions per day
208 seconds, 2954 transactions per day)
AHT Per_Day_Tran
120 3
180 87
208 2954
240 354
293 4
300 79
322 2464
380 19
381 229
396 182
401 655
480 49
540 33
987 251
1080 47 | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_2_0.txt | Loading…
1. ### current community | |
R_base_all/80542_6_0.txt |
rowwise()
reduces the number of rows massively | |
R_base_all/R_base_all_360_4.txt | content=run_example_in_workspace)
# NOT RUN {
## locale-specific version of date()
format(Sys.time(), "%a %b %d %X %Y %Z")
## time to sub-second accuracy (if supported by the OS)
format(Sys.time(), "%H:%M:%OS3")
## read in date info in format 'ddmmmyyyy'
## This will giv... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_88_0.txt | Add a comment |
36 | |
R_base_all/R_base_all_108_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# by: Apply a Function to a Data Frame Split by Factors
## Description
Function ` by ` is an... | |
R_base_all/R_base_all_158_1.txt | rdcoded to ` "showAttributes" ` , which
is the default currently; ` deparseCtrl = "all" ` may be preferable, when
strict back compatibility is not of importance.
chdir
logical; if ` TRUE ` and ` file ` is a pathname, the R working directory is
temporarily changed to the directory containing ` file ` for evaluating.... | |
R_base_all/R_base_all_199_2.txt | on and it causes performance overhead when loading packages.
` keep.source ` :
When ` TRUE ` , the source code for functions (newly defined or loaded) is
stored internally allowing comments to be kept in the right places. Retrieve
the source by printing or using ` deparse(fn, control = "useSource") ` .
The def... | |
R_base_all/R_base_all_360_1.txt | version=3.6.2) ` ):
positive values are East of the meridian. Although there have been time zones
with offsets like 00:09:21 (Paris in 1900), and 00:44:30 (Liberia until 1972),
offsets are usually treated as whole numbers of minutes, and are most often
seen in RFC 5322 email headers in forms like ` -0800 ` (e.g., used ... | |
R_base_all/R_base_all_57_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# col: Column Indexes
## Description
Returns a matrix of integers indicating their column nu... | |
R_base_all/R_base_all_209_1.txt | _source=r-docs&utm_medium=docs&utm_term=Quotes&utm_content=run_example_in_workspace)
# NOT RUN {
<!-- %% NOTE: Quote the \ even "once more" ! -->
# }
# NOT RUN {
'single quotes can be used more-or-less interchangeably'
"with double quotes to create character vectors"
## Sing... | |
R_base_all/weighted-average-excel4_359_0.txt | #### Online Classes
* Excel School
* VBA Classes
* Power BI Classes
* 50 ways to analyze data
* Mini Courses | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_73_0.txt |
data.frame(before$attr, do.call(rbind, out))
Share | |
R_base_all/Simulation.html9_29_0.txt | Gee, whizz; that’d be great!
| |
R_base_all/R_base_all_199_7.txt |
a non-empty character string or an R function that sets the default text
editor, e.g., for ` [ edit ](/link/edit?package=base&version=3.6.2) ` and ` [
file.edit ](/link/file.edit?package=base&version=3.6.2) ` . Set from the
environment variable ` EDITOR ` on UNIX, or if unset ` VISUAL ` or ` vi ` . As
a string ... | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_34_0.txt | * * * © Copyright 2024 StataCorp LLC
* Terms of use
* Privacy
* Help
* Contact Us
Working... | |
R_base_all/weighted-average-excel4_362_0.txt | Twitter Facebook-f Youtube Linkedin-in
© All rights reserved. | |
R_base_all/R_base_all_36_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# basename: Manipulate File Paths
## Description
` basename ` removes all of the path up to ... | |
R_base_all/R_base_all_268_1.txt | c)
readChar(zz, nchar(x)+3) # need to read the terminator explicitly
close(zz)
unlink(zzfil)
# }
Run the code above in your browser using [ DataCamp Workspace
](https://app.datacamp.com/workspace/preview?_tag=rdocs&rdocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2FreadChar&utm_source=r-docs... | |
R_base_all/index.html6_12_0.txt | Sampling from a normal distribution
The ` rnorm ` function returns some number ( ` n ` ) of randomly generated
values given a set mean ( \\(\mu\\) ; ` mean ` ) and standard deviation (
\\(\sigma\\) ; ` sd ` ), such that \\(X\sim\mathcal N(\mu,\sigma^2)\\) .
The default is to draw from a standard normal (a.k.a., ... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_46_0.txt | Answer recommended by R Language Collective
You can use the ` tidyr ` package. | |
R_base_all/index.html6_34_0.txt | # Simulating data with known correlations
We can generate variables \\(X_{1}\\) and \\(X_{2}\\) that have known
correlations \\(\rho\\) with with one another. The code below does this for
two standard normal random variables with a sample size of 10000, such that
the correlation between them is 0.3. | |
R_base_all/R_base_all_333_1.txt | ](/link/dyn.load?package=base&version=3.6.2) ` for comments
about diagnostic messages which may be seen on Windows.
` library.dynam.unload ` is designed for use in ` [ .onUnload
](/link/.onUnload?package=base&version=3.6.2) ` : it unloads the DLL and
updates the value of ` .dynLibs() `
` .dynLibs ` is used for getti... | |
R_base_all/getting-started-simulating-data8_90_0.txt | These can then be combined into a data.frame. Working out this process is
another reason why sometimes we build each vector separately prior to
combining them into a data.frame.
data.frame(group,
response)
group response
1 a 4.413753
2 b 12.484499
3 ... | |
R_base_all/weighted-average-excel4_197_0.txt | 0
0
9
7
0
2
0
8
5
2 | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_45_0.txt | | Show 3 more comments
274 | |
R_base_all/R_base_all_33_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# char.expand: Expand a String with Respect to a Target Table
## Description
Seeks a unique ... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_1_0.txt | 1. About
2. Products
3. For Teams
1. Stack Overflow Public questions & answers
2. Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
3. Talent Build your employer brand
4. Advertising Reach developers & technologists worldwide
5. Labs The future... | |
R_base_all/R_base_all_335_1.txt | pace
](https://app.datacamp.com/workspace/preview?_tag=rdocs&rdocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Fdput&utm_source=r-docs&utm_medium=docs&utm_term=dput&utm_content=run_example_in_workspace)
Powered by [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/weighted-average-excel4_71_0.txt | @Yair -
You can write your version of the formula with the SUMPROUDCT instead of the
CSE SUM:
.
SUMPRODUCT(A2:A6*B2:B6/SUM($B$2:$B$6))
.
Why bother? SUMPRODUCT is about 10% faster than the equivalent array formula.
I write about this on my blog: | |
R_base_all/R_base_all_237_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# load: Reload Saved Datasets
## Description
Reload datasets written with the function ` sav... | |
R_base_all/R_base_all_83_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# readRenviron: Set Environment Variables from a File
## Description
Read as file such as ` ... | |
R_base_all/pandas.Series.str.split.html8_14_0.txt | * If ` False ` , return Series/Index, containing lists of strings.
regex bool, default None | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_181_0.txt | or ask your own question .
R Language Collective Join the discussion | |
R_base_all/weighted-average-excel4_76_0.txt | Reply
9. Steve-O says: | |
R_base_all/getting-started-simulating-data8_40_0.txt | Now let’s simulate a second explanatory variable with values between 200 and
300. This variable is also unrelated to the other two.
x2 = runif(n = 100, min = 200, max = 300)
head(x2)
[1] 220.0617 263.4875 209.6036 245.3125 265.1869 257.4817 | |
R_base_all/80542_13_0.txt | * Home
* Categories
* FAQ/Guidelines
* Terms of Service
* Privacy Policy
Powered by Discourse , best viewed with JavaScript enabled | |
R_base_all/R_base_all_219_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# detach: Detach Objects from the Search Path
## Description
Detach a database, i.e., remove... | |
R_base_all/index.html6_20_0.txt | The above result shows that the coin came up heads 496 times. Note, however,
the (required) argument ` n ` above. This allows the user to set the number of
sequences to run. In other words, if we set ` n = 2 ` , then this could
simulate the flipping of a fair coin 1000 times once to see how many times
heads comes up, t... | |
R_base_all/R_base_all_122_2.txt | low
on the Windows version of this help page. What happens on a FAT or SMB-mounted
file system is OS-specific.)
File arguments with a marked encoding (see ` [ Encoding
](/link/Encoding?package=base&version=3.6.2) ` are if possible translated to
the native encoding, except on Windows where Unicode file operations are u... | |
R_base_all/R_base_all_413_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# libcurlVersion: Report Version of libcurl
## Description
Report version of ` libcurl ` in ... | |
R_base_all/80542_3_0.txt |
suppressMessages(library(tidyverse))
df <- tibble(
x = c(
"a_b",
"a_b_c",
"a_b_c_d",
"a_b_l",
"a_b_q_r_s_h"
)
)
df %>%
mutate(
splits = strsplit(x, "_")
) %>%
rowwise() %>... | |
R_base_all/R_base_all_347_4.txt | ply(regmatches(s, gregexpr(pattern, s)),
function(e) regmatches(e, regexec(pattern, e)))
# }
Run the code above in your browser using [ DataCamp Workspace
](https://app.datacamp.com/workspace/preview?_tag=rdocs&rdocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Fgrep&utm_source=r-docs&utm_medi... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_178_0.txt | 351 1 1 gold badge 3 3 silver badges 8 8 bronze badges
Add a comment | | |
R_base_all/weighted-average-excel4_62_0.txt | Cyril Z.
Reply | |
R_base_all/ts_moving_averages6_26_0.txt | A moving average of a moving average can be thought of as a symmetric MA that
has different weights on each nearby observation. For example, the 2x4-MA
discussed above is equivalent to a weighted 5-MA with weights given by . In
general, a weighted m -MA can be written as
where and the weights are given by . It is... | |
R_base_all/R_base_all_312_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# abbreviate: Abbreviate Strings
## Description
Abbreviate strings to at least ` minlength `... | |
R_base_all/getting-started-simulating-data8_35_0.txt | > runif(n, min = 0, max = 1)
Let’s generate 5 numbers between 0 and 1. | |
R_base_all/R_base_all_82_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# parse: Parse R Expressions
## Description
` parse() ` returns the parsed but unevaluated e... | |
R_base_all/R_base_all_128_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# Sys.time: Get Current Date and Time
## Description
` Sys.time ` and ` Sys.Date ` returns t... | |
R_base_all/R_base_all_71_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# log: Logarithms and Exponentials
## Description
` log ` computes logarithms, by default na... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_65_0.txt | * 1
if the number of your ` '_and_' ` patterns vary, you can find out the maximum
number of matches (i.e. future columns) with `
max(lengths(strsplit(before$type, '_and_'))) ` | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_7_0.txt | * Search
* Page of 1 | |
R_base_all/R_base_all_107_1.txt | IXct" ` will validate times in the selected time zone. One issue is what
happens at transitions to and from DST, for example in the UK
as.POSIXct(strptime("2011-03-27 01:30:00", "%Y-%m-%d %H:%M:%S"))
as.POSIXct(strptime("2010-10-31 01:30:00", "%Y-%m-%d %H:%M:%S"))
are respectively invalid (the ... | |
R_base_all/R_base_all_18_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# seq.Date: Generate Regular Sequences of Dates
## Description
The method for ` [ seq ](/lin... | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_10_0.txt | All Discussions only Photos only Videos only Links only Polls only
Filtered by: | |
R_base_all/R_base_all_120_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# with: Evaluate an Expression in a Data Environment
## Description
Evaluate an R expressi... | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_32_0.txt | ## Comment
Post Cancel | |
R_base_all/index.html6_2_0.txt | #### 14 February 2024
# Contents | |
R_base_all/R_base_all_199_9.txt | t
getOption("width") == options()$width # the latter needs more memory
options(digits = 15)
pi
# set the editor, and save previous value
old.o <- options(editor = "nedit")
old.o
options(check.bounds = TRUE, warn = 1)
x <- NULL; x[4] <- "yes" # gives a warning
opti... | |
R_base_all/R_base_all_430_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# list2env: From A List, Build or Add To an Environment
## Description
From a _named_ ` [ li... | |
R_base_all/ts_moving_averages6_7_0.txt | The most straightforward method is called a simple moving average. For this
method, we choose a number of nearby points and average them to estimate the
trend. When calculating a simple moving average, it is beneficial to use an
odd number of points so that the calculation is symmetric. For example, to
calculate a 5 po... | |
R_base_all/weighted-average-excel4_337_0.txt | November 22, 2016 at 1:27 am
Hello, | |
R_base_all/weighted-average-excel4_361_0.txt | #### Downloads
* 20+ Excel Templates
* 200+ Dashboards
* 40+ VBA Code samples
* Ebooks & More | |
R_base_all/getting-started-simulating-data8_78_0.txt | Now let’s add another categorical variable to this dataset.
Say we are in a situation involving two factors, not one. We have a single
observations for every combination of the two factors (i.e., the two factors
are crossed ). | |
R_base_all/R_base_all_26_1.txt | = c(4:1, 2:5) - 5i)
x[3, ] <- NA; x[4, 2] <- NA
rowSums(x); colSums(x); rowMeans(x); colMeans(x)
rowSums(x, na.rm = TRUE); colSums(x, na.rm = TRUE)
rowMeans(x, na.rm = TRUE); colMeans(x, na.rm = TRUE)
# }
Run the code above in your browser using [ DataCamp Workspace
](https://app.datacamp.com... | |
R_base_all/weighted-average-excel4_119_0.txt | Hi, i need some help creating a weight average for some account under me. we
have 3 product lines (growing to 5 soon). I need to create a formula that
shows a weight average to rank the account 1-50.
so product 1 goal is 50 product 2 goal is 3 and product 3 goal is 3. i would
weight these based on importance at 80% p... | |
R_base_all/R_base_all_9_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# solve: Solve a System of Equations
## Description
This generic function solves the equatio... | |
R_base_all/pandas.Series.str.split.html8_16_0.txt | * If ` True ` , assumes the passed-in pattern is a regular expression
* If ` False ` , treats the pattern as a literal string. | |
R_base_all/R_base_all_15_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# t: Matrix Transpose
## Description
Given a matrix or ` [ data.frame
](/link/data.frame?pac... | |
R_base_all/weighted-average-excel4_183_0.txt | Reply
42. Mahesh says: | |
R_base_all/R_base_all_303_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# Extract.data.frame: Extract or Replace Parts of a Data Frame
## Description
Extract or rep... | |
R_base_all/R_base_all_334_2.txt | browser using [ DataCamp Workspace
](https://app.datacamp.com/workspace/preview?_tag=rdocs&rdocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Fall.equal&utm_source=r-docs&utm_medium=docs&utm_term=all.equal&utm_content=run_example_in_workspace)
Powered by [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/weighted-average-excel4_228_0.txt | 48. Fred says:
January 10, 2013 at 2:12 pm | |
R_base_all/weighted-average-excel4_315_0.txt | Reply
67. Kevin says: | |
R_base_all/getting-started-simulating-data8_47_0.txt | We’ll draw 100 values from a Poisson distribution with a mean of 5. We’ll name
this vector ` y ` and take a look at a summary of those values.
y = rpois(100, lambda = 5) | |
R_base_all/R_base_all_383_1.txt | < total)
if (!keep.me)
cat("handler removing itself\n")
# return
keep.me
}
}
# add the callback that will work for
# 4 top-level tasks and then remove itself.
n <- addTaskCallback(times(4))
# now remove it, assuming it is still first in the lis... | |
R_base_all/R_base_all_5_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# delayedAssign: Delay Evaluation
## Description
` delayedAssign ` creates a _promise_ to ev... | |
R_base_all/1188876_7_0.txt | ysc October 26, 2021, 7:07am 3
Thanks so much for the reply. It certainly works but you're right it got a bit
messy! I wonder if I'm missing something much simpler and obvious. Ultimately
the goal is to transform these columns to numeric, so perhaps there's another
specialised function that saves us the "splitting"? | |
R_base_all/weighted-average-excel4_159_0.txt | April 28, 2012 at 6:52 am
Hi, i have a typical problem where i have around 15 transactions which have
different AHT's for each of the transaction. I would like to know what will be
the weighted average of all these AHT & Transactions, can u pls help me out | |
R_base_all/R_base_all_397_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# Extremes: Maxima and Minima
## Description
Returns the (regular or **p** arallel) maxima a... | |
R_base_all/R_base_all_88_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# pos.to.env: Convert Positions in the Search Path to Environments
## Description
Returns th... | |
R_base_all/R_base_all_240_1.txt | lers
are checked, starting with the most recently established ones, for one
matching the class of the condition. When several handlers are supplied in a
single ` tryCatch ` then the first one is considered more recent than the
second. If a handler is found then control is transferred to the ` tryCatch `
call that estab... | |
R_base_all/weighted-average-excel4_213_0.txt | * Jeff says:
September 12, 2012 at 7:04 pm | |
R_base_all/R_base_all_94_1.txt | References
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S Language_ .
Wadsworth & Brooks/Cole.
## See Also
` [ double ](/link/double?package=base&version=3.6.2) ` , ` [ integer
](/link/integer?package=base&version=3.6.2) ` , ` [ storage.mode
](/link/storage.mode?package=base&version=3.6.2) ` .
#... | |
R_base_all/getting-started-simulating-data8_114_0.txt | I’m ending here, but there’s still more to learn about simulations. For a
simulation to explore long-run behavior, some process is going to be repeated
many times. We did this via ` replicate() ` . The next step would be to
extract whatever results are of interest. This latter process is often going
to involve some sor... | |
R_base_all/simulation.html8_26_0.txt | ## 20.4 Random Sampling
Watch a video of this section | |
R_base_all/R_base_all_45_0.txt | [ RDocumentation ](/)
Moon [ ](https://github.com/datacamp/rdocumentation-2.0) [ Learn R
](https://www.datacamp.com/learn/r)
Search all packages and functions
[ base (version 3.6.2 ) ](/packages/base/versions/3.6.2)
# NULL: The Null Object
## Description
` NULL ` represents the null object in R : it is a ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.