id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
R_base_all/R_base_all_160_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-limits: Memory Limits in R
## Description
R holds objects it is using in virtual m... | |
R_base_all/R_base_all_22_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)
# pretty: Pretty Breakpoints
## Description
Compute a sequence of about ` n+1 ` equally spac... | |
R_base_all/R_base_all_214_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)
# prmatrix: Print Matrices, Old-style
## Description
An earlier method for printing matrices... | |
R_base_all/R_base_all_290_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)
# showConnections: Display Connections
## Description
Display aspects of [ connections
](/li... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_77_0.txt | Another alternative on newer R versions is ` strcapture("(.*)_and_(.*)",
as.character(before$type), data.frame(type_1 = "", type_2 = "")) `
– alexis_laz | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_108_0.txt | Add a comment |
30 | |
R_base_all/index.html6_0_0.txt | Code
* Show All Code
* Hide All Code | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_15_0.txt | Learn more about Collectives
Teams | |
R_base_all/getting-started-simulating-data8_103_0.txt | Here I’ll generate 5 values from a standard normal distribution three times.
Notice the addition of ` simplify = FALSE ` to get a list as output.
The output below is a list of three vectors. Each vector is from a unique run
of the function, so contains five random numbers drawn from the normal
distribution with a mean... | |
R_base_all/weighted-average-excel4_56_0.txt | Reply
2. MogBlog » Blog Archive » Weighted Average in Excel says: | |
R_base_all/R_base_all_158_2.txt | .
## References
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S Language_ .
Wadsworth & Brooks/Cole.
## See Also
` [ demo ](/link/demo?package=base&version=3.6.2) ` which uses ` source ` ; `
[ eval ](/link/eval?package=base&version=3.6.2) ` , ` [ parse
](/link/parse?package=base&version=3.6.2) `... | |
R_base_all/weighted-average-excel4_50_0.txt | Excel Howtos
### How to fix SPILL Error in Excel Tables (3 easy solutions) | |
R_base_all/R_base_all_241_1.txt | ocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Fdiag&utm_source=r-docs&utm_medium=docs&utm_term=diag&utm_content=run_example_in_workspace)
Powered by [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/weighted-average-excel4_81_0.txt | June 17, 2010 at 3:34 pm
Thanks Chandoo, elegant solutions and helpful web site! | |
R_base_all/index.html6_15_0.txt |
rand_norms_10000 <- rnorm(n = 10000, mean = 0, sd = 1);
hist(rand_norms_10000, xlab = "Random value (X)", col = "grey",
main = "", cex.lab = 1.5, cex.axis = 1.5);
Generating a histogram using data from a simulated distribution like this is
often a useful way to visualise distributions, or to... | |
R_base_all/weighted-average-excel4_84_0.txt | August 11, 2011 at 11:19 am
superb For weighted avg | |
R_base_all/getting-started-simulating-data8_6_0.txt | ## Table of Contents
* Overview
* Generating random numbers
* rnorm() to generate random numbers from the normal distribution
* Example of using the simulated numbers from rnorm()
* runif() pulls from the uniform distribution
* Example of using the simulated numbers from runif()
* Discre... | |
R_base_all/R_base_all_98_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)
# any: Are Some Values True?
## Description
Given a set of logical vectors, is at least one ... | |
R_base_all/weighted-average-excel4_351_0.txt | 75. Carlos says:
September 19, 2019 at 5:27 pm | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_194_0.txt | split a column to two columns using r
1 | |
R_base_all/index.html6_21_0.txt | In the above, a fair coin was flipped 1000 times and returned 500 heads, and
then another fair coin was flipped 1000 times and returned 474 heads. As with
the ` rnorm ` and ` runif ` functions, we can check to see what the
distribution of the binomial function looks like if we repeat this process.
Suppose, in other wor... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_152_0.txt |
tmp <- matrix(unlist(strsplit(as.character(before$type), '_and_')), ncol=2,
byrow=TRUE)
after <- cbind(before$attr, as.data.frame(tmp))
names(after) <- c("attr", "type_1", "type_2")
Share | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_196_0.txt | #### Related
2 | |
R_base_all/R_base_all_223_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)
# row: Row Indexes
## Description
Returns a matrix of integers indicating their row number i... | |
R_base_all/getting-started-simulating-data8_8_0.txt | Today I’m going to take a closer look at some of the R functions that are
useful to get to know when simulating data. These functions are all from base
R packages, not in add-on packages, so some of them may already familiar to
you.
Here’s what we’ll do today: | |
R_base_all/R_base_all_347_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)
# grep: Pattern Matching and Replacement
## Description
` grep ` , ` grepl ` , ` regexpr ` ,... | |
R_base_all/R_base_all_194_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)
# agrep: Approximate String Matching (Fuzzy Matching)
## Description
Searches for approximat... | |
R_base_all/weighted-average-excel4_270_0.txt | @NM... I am not sure I understand this question. Can you tell me what you have
in mind when you say "weighted average between these two time periods" ?
Reply | |
R_base_all/R_base_all_32_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)
# gc.time: Report Time Spent in Garbage Collection
## Description
This function reports the ... | |
R_base_all/weighted-average-excel4_259_0.txt | August 17, 2013 at 6:06 am
@Saw-Fro | |
R_base_all/R_base_all_43_1.txt |
variable ` TZ ` set, yet have internal code that expects it (as does POSIX).
We have tried to work around this, but if you get unexpected results try
setting ` TZ ` . See ` [ Sys.timezone
](/link/Sys.timezone?package=base&version=3.6.2) ` for valid settings.
Great care is needed when comparing objects of class ` "POS... | |
R_base_all/weighted-average-excel4_11_0.txt | Well, it is because, in some situations normal averages give in-correct
picture. For eg. assume you are the CEO of ACME Widgets co.. Now you are
looking annual salary report and being the numbers-gal you are, you wanted to
find-out the average salary of your employees. You asked each department head
to give you the av... | |
R_base_all/R_base_all_25_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)
# hexmode: Display Numbers in Hexadecimal
## Description
Convert or print integers in hexade... | |
R_base_all/R_base_all_240_2.txt | 2) ` signal conditions, and ` [ try
](/link/try?package=base&version=3.6.2) ` is essentially a simplified version
of ` tryCatch ` . ` [ assertCondition
](/link/assertCondition?package=base&version=3.6.2) ` in package tools
_tests_ that conditions are signalled and works with several of the above
handlers.
## Example... | |
R_base_all/R_base_all_205_1.txt |
R version information.)
Function ` .libPaths ` always uses the values of ` .Library ` and `
.Library.site ` in the base namespace. ` .Library.site ` can be set by the
site in ` Rprofile.site ` , which should be followed by a call to `
.libPaths(.libPaths()) ` to make use of the updated value.
For consistency, the pa... | |
R_base_all/simulation.html8_15_0.txt |
> rpois(10, 1) ## Counts with a mean of 1
[1] 0 0 1 1 2 1 1 4 1 2
> rpois(10, 2) ## Counts with a mean of 2
[1] 4 1 2 0 1 1 0 1 4 1
> rpois(10, 20) ## Counts with a mean of 20
[1] 19 19 24 23 22 24 23 20 11 22
## 20.3 Simulating a Linear Model | |
R_base_all/weighted-average-excel4_224_0.txt | * Chandoo says:
September 29, 2012 at 1:57 am | |
R_base_all/R_base_all_393_2.txt | n Goodbye!\n\n")
## Example of Rprofile.site
local({
# add MASS to the default packages, set a CRAN mirror
old <- getOption("defaultPackages"); r <- getOption("repos")
r["CRAN"] <- "http://my.local.cran"
options(defaultPackages = c(old, "MASS"), repos = r)
## (for Unix termi... | |
R_base_all/R_base_all_383_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)
# taskCallback: Add or Remove a Top-Level Task Callback
## Description
` addTaskCallback ` r... | |
R_base_all/simulation.html8_17_0.txt | Suppose we want to simulate from the following linear model
\\[ y = \beta_0 + \beta_1 x + \varepsilon \\] | |
R_base_all/getting-started-simulating-data8_59_0.txt | Let’s repeat two characters three times each. The resulting vector is 6
observations long.
This is an example of how I might make a grouping variable for simulating data
to be used in a two-sample analysis. | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_122_0.txt |
> data.frame(t(sapply(out, `[`)))
X1 X2
1 foo bar
2 foo bar_2
3 foo bar
4 foo bar_2
` sapply() ` 's result is a matrix and needs transposing and casting back to a
data frame. It is then some simple manipulations that yield the result you
wanted: | |
R_base_all/R_base_all_192_1.txt | and ` gsub ` will give a marked
UTF-8 result if any of the inputs are UTF-8.
` [ paste ](/link/paste?package=base&version=3.6.2) ` and ` [ sprintf
](/link/sprintf?package=base&version=3.6.2) ` return elements marked as bytes
if any of the corresponding inputs is marked as bytes, and otherwise marked as
UTF-8 of any of... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_93_0.txt | * 1
Good catch, best solution for me. Though a bit slower than with the ` stringr
` package. | |
R_base_all/R_base_all_31_1.txt | he string ` "depends.ok" ` then
conflicts resulting from attaching declared dependencies will not produce
errors, but other conflicts will. This is likely to be the best setting for
most users wanting some additional protection against unexpected conflicts.
The policy can be tuned further by specifying the ` conflicts... | |
R_base_all/R_base_all_367_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)
# userhooks: Functions to Get and Set Hooks for Load, Attach, Detach and
Unload
## Descriptio... | |
R_base_all/weighted-average-excel4_189_0.txt | May 9, 2012 at 1:28 am
@Mahesh | |
R_base_all/pandas.Series.str.split.html8_23_0.txt |
* if regex is False and pat is a compiled regex | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_134_0.txt | Dec 24, 2022 at 2:40
Add a comment | | |
R_base_all/R_base_all_338_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)
# expression: Unevaluated Expressions
## Description
Creates or tests for objects of mode ` ... | |
R_base_all/R_base_all_304_1.txt | y [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/weighted-average-excel4_161_0.txt | * Hui... says:
April 28, 2012 at 6:58 am | |
R_base_all/R_base_all_86_1.txt | un_example_in_workspace)
# NOT RUN {
.Ob <- 1
ls(pattern = "O")
ls(pattern= "O", all.names = TRUE) # also shows ".[foo]"
# shows an empty list because inside myfunc no variables are defined
myfunc <- function() {ls()}
myfunc()
# define a local variable inside myfu... | |
R_base_all/weighted-average-excel4_285_0.txt | Once again you have guided me along the path of correctness. Thanks for the
help!
Reply | |
R_base_all/R_base_all_180_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)
# dump: Text Representations of R Objects
## Description
This function takes a vector of nam... | |
R_base_all/1188876_8_0.txt | Andrzej October 26, 2021, 6:54pm 4
Would you please care to elaborate a bit what is happening here in this code: | |
R_base_all/getting-started-simulating-data8_76_0.txt |
group = rep(letters[1:2], each = 3)
response = rnorm(n = 6, mean = 0, sd = 1)
data.frame(group,
response)
group response
1 a 0.4933614
2 a 0.5234101
3 a 1.2365975
4 b 0.3563153
5 b 0.5748968
6 b -0.4222890
When ... | |
R_base_all/weighted-average-excel4_69_0.txt | Hello Chandoo
First - your site is excellent and very enlightning
Second - I find it easir to use an array formula
SUM(A2:A6*B2:B6/SUM($B$2:$B$6))
Reply | |
R_base_all/index.html6_55_0.txt |
library(lme4);
## Loading required package: Matrix
mod <- glmer(offspring ~ Mass + (1 | species), data = dat, family = "poisson");
## boundary (singular) fit: see help('isSingular')
summary(mod);
## Generalized linear mixed model fit by... | |
R_base_all/R_base_all_46_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)
# file.choose: Choose a File Interactively
## Description
Choose a file interactively.
## ... | |
R_base_all/getting-started-simulating-data8_69_0.txt | Let’s repeat each value twice, 3 times.
rep(letters[1:2], each = 2, times = 3)
[1] "a" "a" "b" "b" "a" "a" "b" "b" "a" "a" "b" "b" | |
R_base_all/R_base_all_239_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)
# assign: Assign a Value to a Name
## Description
Assign a value to a name in an environment... | |
R_base_all/pandas.Series.str.split.html8_31_0.txt |
Standard library version for rsplit. | |
R_base_all/R_base_all_380_1.txt | be a character string containing just one
single-byte character. ( ` NULL ` and a zero-length character vector are also
accepted, and taken as the default.)
skip
the number of lines of the input file to skip before beginning to read data
values.
nlines
if positive, the maximum number of lines of data to be read.
n... | |
R_base_all/getting-started-simulating-data8_106_0.txt | ## An equivalent for() loop example
A ` for() ` loop can be used in place of ` replicate() ` for simulations. With
time and practice I’ve found ` replicate() ` to be much more convenient in
terms of writing the code. However, in my experience some folks find ` for() `
loops intuitive when they are starting out in R. ... | |
R_base_all/weighted-average-excel4_112_0.txt | 328.86
Reply | |
R_base_all/R_base_all_200_1.txt | , …. It is likely that there is a file
named something like ` zone.tab ` under that directory listing the locations
known as time-zone names (but not for example ` EST5EDT ` ). See also [
https://en.wikipedia.org/wiki/Zone.tab
](https://en.wikipedia.org/wiki/Zone.tab) .
Where R was configured with option \--with-in... | |
R_base_all/R_base_all_409_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)
# seek: Functions to Reposition Connections
## Description
Functions to re-position connecti... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_47_0.txt |
before <- data.frame(
attr = c(1, 30 ,4 ,6 ),
type = c('foo_and_bar', 'foo_and_bar_2')
)
library(tidyr)
before |>
separate_wider_delim(type, delim = "_and_", names = c("foo", "bar"))
# # A tibble: 4 × 3
# attr foo bar
# <dbl> <chr> <chr>
# 1 ... | |
R_base_all/weighted-average-excel4_284_0.txt | July 15, 2014 at 12:02 pm
Chandoo, | |
R_base_all/R_base_all_101_1.txt | nu <- seq(-10, 9, length.out = 2001)
## --- I() --- --- --- ---
matplot(nu, t(outer(xx, nu, besselI)), type = "l", ylim = c(-50, 200),
main = expression(paste("Bessel ", I[nu](x), " for fixed ", x,
", as ", f(nu))),
xlab = expression(nu))
abline(v... | |
R_base_all/simulation.html8_16_0.txt | Watch a video of this section
Simulating random numbers is useful but sometimes we want to simulate values
that come from a specific model . For that we need to specify the model and
then simulate from it using the functions described above. | |
R_base_all/R_base_all_200_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)
# timezones: Time Zones
## Description
Information about time zones in R . ` Sys.timezone ... | |
R_base_all/weighted-average-excel4_250_0.txt | 52. Happy Healer says:
April 23, 2013 at 10:48 pm | |
R_base_all/Simulation.html9_3_0.txt |
sample(1:6, 4, replace = TRUE)
## [1] 3 2 5 6
Now repeat the command to see how your result differs. (The probability of
rolling the exact same result is (1/6)^4 = 0.00077, which is pretty small!) | |
R_base_all/R_base_all_168_2.txt | nge to have warning messages emitted when unsupported options are used.
This is done by setting either of the options ` verbose ` or ` warn ` to be
non-zero via the ` [ options ](/link/options?package=base&version=3.6.2) `
function.
There is a short discussion of these additional arguments with some example
code avail... | |
R_base_all/R_base_all_402_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)
# file.access: Ascertain File Accessibility
## Description
Utility function to access inform... | |
R_base_all/weighted-average-excel4_1_0.txt | Login to online classes
* Start Here
* Blog
* Classes
* Excel School
* VBA Classes – Learn VBA Macros today
* Power BI Play Date
* 50 Ways to Analyze your Data
* Mini-Courses
* Power BI Remote Training Options
* Videos
* Intro to Excel
* Writing Formulas
* … more... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_9_0.txt | 6. Companies
7. Labs | |
R_base_all/simulation.html8_21_0.txt | Then we can procede with the rest of the model as before.
> e <- rnorm(100, 0, 2)
> y <- 0.5 + 2 * x + e
> plot(x, y) | |
R_base_all/R_base_all_160_1.txt | ^9\\),
which is also the limit on each dimension of an array.
## See Also
` [ object.size ](/link/object.size?package=base&version=3.6.2) (a) ` for the
(approximate) size of R object ` a ` .
Powered by [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/weighted-average-excel4_106_0.txt | 20. Krunal Patel says:
September 1, 2011 at 6:28 pm | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_140_0.txt | 8
This question is pretty old but I'll add the solution I found the be the
simplest at present. | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_31_0.txt | I have implemented both versions of the solutions and both work very well.
Thank you so much !!!
@ Clyde, I am sorry that my problem lacked some details. Your assumption were
exactly what I had in mind. Concerning the Note n°3, it is probable that
execution_date will never be the same as rating_date because of the... | |
R_base_all/R_base_all_139_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)
# proc.time: Running Time of R
## Description
` proc.time ` determines how much real and CPU... | |
R_base_all/weighted-average-excel4_255_0.txt | August 16, 2013 at 9:39 pm
Hi all, | |
R_base_all/R_base_all_284_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)
# sprintf: Use C-style String Formatting Commands
## Description
A wrapper for the C functio... | |
R_base_all/R_base_all_225_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)
# Special: Special Functions of Mathematics
## Description
Special mathematical functions re... | |
R_base_all/80542_2_0.txt | Andrew May 4, 2018, 12:04pm 1
I have a data frame with a column that contains strings with sections
separated by underscores. I'd like to create two new columns, with the section
after the last underscore in one column and the rest in another. The only
reliable way I've found is to use rowwise() as below: | |
R_base_all/R_base_all_156_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)
# Syntax: Operator Syntax and Precedence
## Description
Outlines R syntax and gives the pr... | |
R_base_all/getting-started-simulating-data8_45_0.txt | Let’s generate five values from a Poisson distribution with a mean of 2.5.
Note that mean of the Poisson distribution can be any non-negative value
(i.e., it doesn’t have to be an integer) even though the observed values will
be discrete integers.
rpois(n = 5, lambda = 2.5)
[1] 2 1 4 1 2 | |
R_base_all/R_base_all_292_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)
# Paren: Parentheses and Braces
## Description
Open parenthesis, ` ( ` , and open brace, ` {... | |
R_base_all/getting-started-simulating-data8_5_0.txt | You can see a written version of this talk as a PDF at the GitHub
repository I made for the talk materials. In June 2020 I added an
interactive tutorial so you can work through the same material in your
browser.
I’ve copied the R markdown code below, as well, for a “blog” version, although
this ends up being quit... | |
R_base_all/weighted-average-excel4_46_0.txt | ### How to get non-adjacent columns with FILTER function in Excel
Best of the lot | |
R_base_all/weighted-average-excel4_346_0.txt | * Hui... says:
February 20, 2017 at 2:34 am | |
R_base_all/R_base_all_52_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)
# trace: Interactive Tracing and Debugging of Calls to a Function or Method
## Description
A... | |
R_base_all/weighted-average-excel4_93_0.txt | August 30, 2011 at 5:27 pm
Hi Chandoo, | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_197_0.txt | How can I split a character string in a dataframe into multiple columns
1 | |
R_base_all/index.html6_10_0.txt |
## [1] 0.32624815 0.66646266 0.08118940 0.43764419 0.30294628 0.18661117
## [7] 0.19025308 0.26780157 0.53324194 0.05166473
We can visualise the standard uniform distribution that is generated by
plotting a histogram of a very large number of values created using ` runif `
. | |
R_base_all/pandas.Series.str.split.html8_12_0.txt | expand bool, default False
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.