id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
R_base_all/R_base_all_19_1.txt | t possible, an error is
thrown.
If a ` by.x ` column name matches one of ` y ` , and if ` no.dups ` is true
(as by default), the y version gets suffixed as well, avoiding duplicate
column names in the result.
The complexity of the algorithm used is proportional to the length of the
answer.
In SQL database terminolog... | |
R_base_all/getting-started-simulating-data8_94_0.txt | We had 2 groups with 10 observations each and 2*10 = 20. So we need to use ` n
= 20 ` in ` runif() ` .
Here is the dataset made in a single step. | |
R_base_all/R_base_all_302_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)
# switch: Select One of a List of Alternatives
## Description
` switch ` evaluates ` EXPR ` ... | |
R_base_all/weighted-average-excel4_226_0.txt | Then, you can use a formula like,
=SUMPRODUCT(points, scores)/SUM(points) | |
R_base_all/weighted-average-excel4_311_0.txt | * Hui... says:
March 8, 2015 at 2:13 am | |
R_base_all/weighted-average-excel4_149_0.txt | 36. Danielle says:
January 3, 2012 at 7:36 pm | |
R_base_all/1188876_3_0.txt | Notice that some values are two integers separated by a comma. I would like to
identify all cases in which this occurs and then replace that case using the
highest integer, so "2,3" becomes "3" instead and so on. I have been trying
with ` separate() ` and ` strsplit() ` to no avail.
Ultimately, my goal is to transform... | |
R_base_all/getting-started-simulating-data8_70_0.txt | ## Combining each with length.out
Similarly we can use ` each ` with ` length.out ` . This can lead to some
imbalance. | |
R_base_all/R_base_all_143_1.txt | kage=base&version=3.6.2) ` for an
efficient way of both checking existence and getting an object.
` [ assign ](/link/assign?package=base&version=3.6.2) ` , the inverse of `
get() ` , see above.
Use ` [ getAnywhere ](/link/getAnywhere?package=base&version=3.6.2&to=utils) `
for searching for an object anywhere, includi... | |
R_base_all/R_base_all_285_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)
# readLines: Read Text Lines from a Connection
## Description
Read some or all text lines fr... | |
R_base_all/getting-started-simulating-data8_120_0.txt | I currently work as an applied statistician in aviation and aeronautics. In a
previous role as a consulting statistician in academia I created and taught R
workshops for applied science graduate students who are just getting started
in R, where my goal was to make their transition to a programming language as
smooth as... | |
R_base_all/weighted-average-excel4_117_0.txt | I really only need the results in one cell, taking into account something like
a 5 day moving weighted average (if such a thing exists). I'm essentially
trying to see if the price is trending upwards, estimating the price based on
more recent sales data and working out if the difference between most recent
price ($5.00... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_26_0.txt | Share
Follow | |
R_base_all/weighted-average-excel4_286_0.txt | 61. Tarun says:
August 6, 2014 at 8:31 am | |
R_base_all/R_base_all_151_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)
# .Device: Lists of Open/Active Graphics Devices
## Description
A pairlist of the names of o... | |
R_base_all/R_base_all_408_1.txt |
different compression scheme (and see ` [ resaveRdaFiles
](/link/resaveRdaFiles?package=base&version=3.6.2) ` for a way to do so from
within R ).
## Parallel compression
That ` file ` can be a connection can be exploited to make use of an external
parallel compression utility such as ` pigz ` ( [ http://zlib.net/... | |
R_base_all/R_base_all_14_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)
# xtfrm: Auxiliary Function for Sorting and Ranking
## Description
A generic auxiliary funct... | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_0_0.txt |
* Login or Register
* * Log in with | |
R_base_all/R_base_all_116_1.txt | value for other types of argument is
undocumented.
` list ` , ` is.list ` and ` is.pairlist ` are [ primitive
](/link/primitive?package=base&version=3.6.2) functions.
## References
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S Language_ .
Wadsworth & Brooks/Cole.
## See Also
` [ vector ](/li... | |
R_base_all/R_base_all_300_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)
# drop: Drop Redundant Extent Information
## Description
Delete the dimensions of an array w... | |
R_base_all/R_base_all_212_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)
# Arithmetic: Arithmetic Operators
## Description
These unary and binary operators perform a... | |
R_base_all/R_base_all_167_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.setenv: Set or Unset Environment Variables
## Description
` Sys.setenv ` sets environm... | |
R_base_all/weighted-average-excel4_148_0.txt | Hi, I am not sure if this falls under weighted average or how to figure this..
I have different payment terms for different vendors and am trying to figure
out how to figure my average payment terms on a montly basis.
25 days = 5% of spend
30 days = 60% of spend
45 days = 20% of spend
60 days = 15% of spend. ... | |
R_base_all/R_base_all_251_1.txt | n the user's workspace: see the
examples.) For this reason ` attach ` can lead to confusion.
One useful ‘trick’ is to use ` what = NULL ` (or equivalently a length-zero
list) to create a new environment on the search path into which objects can be
assigned by ` [ assign ](/link/assign?package=base&version=3.6.2) ` or ... | |
R_base_all/R_base_all_410_1.txt | ocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Fcut&utm_source=r-docs&utm_medium=docs&utm_term=cut&utm_content=run_example_in_workspace)
# NOT RUN {
Z <- stats::rnorm(10000)
table(cut(Z, breaks = -6:6))
sum(table(cut(Z, breaks = -6:6, labels = FALSE)))
sum(graphics::hist(Z, breaks =... | |
R_base_all/R_base_all_192_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)
# Encoding: Read or Set the Declared Encodings for a Character Vector
## Description
Read or... | |
R_base_all/weighted-average-excel4_305_0.txt | 64. Osama Masood Khan says:
March 5, 2015 at 6:18 am | |
R_base_all/R_base_all_154_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)
# factor: Factors
## Description
The function ` factor ` is used to encode a vector as a fac... | |
R_base_all/R_base_all_225_1.txt | tions and ` [ Bessel
](/link/Bessel?package=base&version=3.6.2) ` for the real Bessel functions.
For the incomplete gamma function see ` [ pgamma
](/link/pgamma?package=base&version=3.6.2) ` .
## Examples
[ Run this code
](https://app.datacamp.com/workspace/preview?_tag=rdocs&rdocsPath=packages%2Fbase%2Fversions%2F... | |
R_base_all/weighted-average-excel4_184_0.txt | May 8, 2012 at 9:40 pm
HI Chandoo, | |
R_base_all/getting-started-simulating-data8_81_0.txt |
rep(letters[1:2], each = 3)
[1] "a" "a" "a" "b" "b" "b"
We need to repeat the three values twice. But what argument do we use in `
rep() ` to do so? | |
R_base_all/R_base_all_370_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)
# ns-topenv: Top Level Environment
## Description
Finding the top level ` [ environment
](/l... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_61_0.txt |
setDT(before)[, paste0("type", 1:2) := tstrsplit(type, "_and_", type.convert = TRUE, fixed = TRUE)]
Share | |
R_base_all/R_base_all_193_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)
# readBin: Transfer Binary Data To and From Connections
## Description
Read binary data from... | |
R_base_all/weighted-average-excel4_114_0.txt | @Raju
You cannot simply average the averages, because as you see each input has a
different weighting. Your 604 hrs they worked very hard and in the 1425 hrs
they slowed down.
What you've done by summing the Production and dividing by the sum of the hrs
is correct
Reply | |
R_base_all/weighted-average-excel4_299_0.txt | September 8, 2014 at 1:27 pm
@Claudia
Can you post a sample file in the Forums
http://chandoo.org/forum/ | |
R_base_all/weighted-average-excel4_109_0.txt | Run hr Produ prod/hr
1425.5 431380 302.61
873 290894 333.21
604 232249 384.51
If I take average of individual row, I find a prod/hr figure which is given in
last column above. And while taking average of prod/hr, means
(302.61+333.21+384.51/3), I find an average value 340.11. | |
R_base_all/weighted-average-excel4_151_0.txt | 37. Payroll Dashboard says:
March 23, 2012 at 5:39 am | |
R_base_all/R_base_all_380_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)
# scan: Read Data Values
## Description
Read data into a vector or list from the console or ... | |
R_base_all/index.html6_58_0.txt | Box, G E P, and Mervin E Muller. 1958. “ A note on the generation of random
normal deviates .” The Annals of Mathematical Statistics 29 (2): 610–11.
https://doi.org/10.1214/aoms/1177706645 .
Ives, Anthony R. 2015. “ For testing the significance of regression
coefficients, go ahead and log-transform count data ... | |
R_base_all/weighted-average-excel4_198_0.txt | 0
0
0
11
9
0
4
4
8
5 | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_9_0.txt | All Time Today Last Week Last Month
* Show | |
R_base_all/weighted-average-excel4_16_0.txt |
=SUMPRODUCT(<your values>, <your weights>)
## What if my percentage weights don’t add up to 100%? | |
R_base_all/R_base_all_409_1.txt | tacamp.com/)
| |
R_base_all/R_base_all_90_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)
# system: Invoke a System Command
## Description
` system ` invokes the OS command specified... | |
R_base_all/weighted-average-excel4_349_0.txt | 74. Tacticlight 360 Review says:
May 28, 2017 at 12:19 am | |
R_base_all/getting-started-simulating-data8_1_0.txt | ##### I currently work as an applied statistician in aviation and
aeronautics. In a previous role as a consulting statistician in academia I
created and taught R workshops for applied science graduate students who are
just getting started in R, where my goal was to make their transition to a
programming language as sm... | |
R_base_all/weighted-average-excel4_174_0.txt | 15.94%
1 WEAK
5.80%
1 WAEK
8.70%
1 WEAK
2.42%
1 WEAK
7.25%
1 WEAK
4.83%
2 BETTER
0.48%
2 BETTER
| |
R_base_all/R_base_all_202_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)
# isS4: Test for an S4 object
## Description
Tests whether the object is an instance of an S... | |
R_base_all/R_base_all_342_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)
# deparse: Expression Deparsing
## Description
Turn unevaluated expressions into character s... | |
R_base_all/R_base_all_277_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)
# slotOp: Extract or Replace A Slot
## Description
Extract or replace the contents of a slot... | |
R_base_all/getting-started-simulating-data8_0_0.txt | Very statisticious
#### Ariel Muldoon | |
R_base_all/weighted-average-excel4_251_0.txt | HUI: Hello, I use wtd grades for student grading. I was wonndering if there is
a way to determine a students grade at a certain date along the program. For
example, say Alex is mid way through the course and at this point, 60% of the
total points for the course could be achieved. Using the template I have
created, it g... | |
R_base_all/weighted-average-excel4_282_0.txt | May 2, 2014 at 11:42 pm
Weighted grade
48.07/70
68.94 what grade is that? | |
R_base_all/R_base_all_301_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)
# Comparison: Relational Operators
## Description
Binary operators which allow the compariso... | |
R_base_all/weighted-average-excel4_85_0.txt | Reply
13. Joel says: | |
R_base_all/R_base_all_185_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)
# UseMethod: Class Methods
## Description
R possesses a simple generic function mechanism w... | |
R_base_all/index.html6_40_0.txt | \\[ V = \begin{pmatrix} Var(M_{1}), & Cov(M_{1}, M_{2}), & Cov(M_{1}, M_{3})
\\\ Cov(M_{2}, M_{1}), & Var(M_{2}), & Cov(M_{2}, M_{3}) \\\ Cov(M_{3},
M_{1}), & Cov(M_{3}, M_{2}), & Var(M_{3}) \\\ \end{pmatrix}. \\]
In R, we can create this matrix as follows. | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_60_0.txt |
library(data.table) ## v 1.9.6+
setDT(before)[, paste0("type", 1:2) := tstrsplit(type, "_and_")]
before
# attr type type1 type2
# 1: 1 foo_and_bar foo bar
# 2: 30 foo_and_bar_2 foo bar_2
# 3: 4 foo_and_bar foo bar
# 4: 6 foo_and_bar_2 foo... | |
R_base_all/weighted-average-excel4_203_0.txt | 1 | 3 | 0 | 2 | 0 | 0
---|---|---|---|---|---
2 | 1 | 0 | 0 | 0 | 4
3 | 0 | 9 | 8 | 0 | 4
4 | 10 | 7 | 5 | 11 | 8
5 | 7 | 0 | 2 | 9 | 5
Also what is the weighting factor in your data ?
Reply | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_109_0.txt | The subject is almost exhausted, I 'd like though to offer a solution to a
slightly more general version where you don't know the number of output
columns, a priori. So for example you have
before = data.frame(attr = c(1,30,4,6), type=c('foo_and_bar','foo_and_bar_2', 'foo_and_bar_2_and_bar_3', 'foo_and... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_101_0.txt | answered Sep 27, 2014 at 15:46
A5C1D2H2I1M1N2O1R2T1 A5C1D2H2I1M1N2O1R2T1 | |
R_base_all/R_base_all_414_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)
# maxCol: Find Maximum Position in Matrix
## Description
Find the maximum position for each ... | |
R_base_all/getting-started-simulating-data8_110_0.txt | We could put this process as the ` expr ` argument in ` replicate() ` to get
many simulated datasets. I would do something like this if I wanted to compare
the long-run performance of two different statistical tools using the exact
same random datasets.
I’ll replicate things 3 times again to easily see the output. I s... | |
R_base_all/weighted-average-excel4_254_0.txt | Reply
53. Saw-Fro says: | |
R_base_all/R_base_all_95_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)
# setTimeLimit: Set CPU and/or Elapsed Time Limits
## Description
Functions to set CPU and/o... | |
R_base_all/getting-started-simulating-data8_101_0.txt | * ` simplify ` , which controls the type of output the results of ` expr ` are saved into. Use ` simplify = FALSE ` to get output saved into a list instead of in an array.
## Simple example of replicate() | |
R_base_all/R_base_all_109_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)
# unname: Remove ` names ` or ` dimnames `
## Description
Remove the ` [ names ](/link/names... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_79_0.txt | This is the correct solution. Simple and doesn't require thrid-party packages.
– Cole | |
R_base_all/weighted-average-excel4_355_0.txt | Website
Notify me of when new comments are posted via e-mail | |
R_base_all/R_base_all_218_1.txt | s enabled on a byte compiled function then the interpreted
version of the function will be used until debugging is disabled.
## See Also
` [ debugcall ](/link/debugcall?package=base&version=3.6.2) ` for conveniently
debugging methods, ` [ browser ](/link/browser?package=base&version=3.6.2) `
notably for its ‘ _comma... | |
R_base_all/R_base_all_198_4.txt | ost likely be all or some of the input up to the error.
It may be possible to deduce the current native encoding from ` [
Sys.getlocale ](/link/Sys.getlocale?package=base&version=3.6.2) ("LC_CTYPE") `
, but not all OSes record it.
## Blocking
Whether or not the connection blocks can be specified for file, url (defa... | |
R_base_all/R_base_all_392_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)
# formatDL: Format Description Lists
## Description
Format vectors of items and their descri... | |
R_base_all/index.html6_5_0.txt | * * *
# Introduction: Simulating data | |
R_base_all/Simulation.html9_0_0.txt | # Simulation
One of the great advantages of using a statistical programming language like R
is its vast collection of tools for simulating random numbers. | |
R_base_all/R_base_all_8_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)
# formals: Access to and Manipulation of the Formal Arguments
## Description
Get or set the ... | |
R_base_all/R_base_all_0_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)
# as.environment: Coerce to an Environment Object
## Description
A generic function coercing... | |
R_base_all/R_base_all_189_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)
# La_version: LAPACK Version
## Description
Report the version of LAPACK in use.
## Usage
... | |
R_base_all/R_base_all_324_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)
# Vectorize: Vectorize a Scalar Function
## Description
` Vectorize ` creates a function wra... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_176_0.txt | Share
Follow | |
R_base_all/R_base_all_254_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)
# .bincode: Bin a Numeric Vector
## Description
Bin a numeric vector and return integer code... | |
R_base_all/weighted-average-excel4_306_0.txt | Hello Chandoo,
I have company attendance data of employees in the following form which
extract it from MS SharePoint 2010. I need to know that extract data is in the
form of decimal value for e.g. clock in time is like 9.34 so do I consider it
9:31 AM, if not how to convert it in a time value. | |
R_base_all/R_base_all_61_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)
# which: Which indices are TRUE?
## Description
Give the ` TRUE ` indices of a logical objec... | |
R_base_all/weighted-average-excel4_320_0.txt | Thank you so much for looking into this!
Reply | |
R_base_all/R_base_all_404_1.txt | ers, J. M. and Wilks, A. R. (1988) _The New S Language_ .
Wadsworth & Brooks/Cole.
## See Also
the convenience functions ` [ by ](/link/by?package=base&version=3.6.2) ` and
` [ aggregate ](/link/aggregate?package=base&version=3.6.2) ` (using ` tapply
` ); ` [ apply ](/link/apply?package=base&version=3.6.2) ` , ` [ l... | |
R_base_all/R_base_all_136_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)
# function: Function Definition
## Description
These functions provide the base mechanisms f... | |
R_base_all/getting-started-simulating-data8_53_0.txt | Quantitative variables are great, but in simulations we’re often going to need
categorical variables, as well.
In my own work these are usually sort of “grouping” or “treatment” variable,
with multiple individuals/observations per group/treatment. This means I need
to have repetitions of each character value. The ` re... | |
R_base_all/R_base_all_309_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)
# extSoftVersion: Report Versions of Third-Party Software
## Description
Report versions of ... | |
R_base_all/pandas.Series.str.split.html8_38_0.txt |
>>> s.str.rsplit()
0 [this, is, a, regular, sentence]
1 [https://docs.python.org/3/tutorial/index.html]
2 NaN
dtype: object
The n parameter can be used to limit the number of splits on the delimiter.
The outputs of... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_182_0.txt | This question is in a collective: a subcommunity defined by tags with
relevant content and experts.
* The Overflow Blog
* Upcoming research at Stack Overflow | |
R_base_all/weighted-average-excel4_201_0.txt | Can you maybe post a sample file with some field headers
I assume the 1st 1-5 are the question No's | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_64_0.txt | 92k 18 18 gold badges 141 141 silver badges 199 199 bronze badges
3 | |
R_base_all/index.html6_49_0.txt | Putting everything together, here I will create a data set of three different
species from which three different measurements are taken. We can just call
these measurements ‘length’, ‘width’, and ‘mass’. For simplicity, let us
assume that these measurements always covary in the same way that we saw with
\\(\textbf{V}\\... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_201_0.txt | Split an string by number of characters in a column of a data frame to create
multiple columns in R?
0 | |
R_base_all/weighted-average-excel4_271_0.txt | * Hui... says:
October 24, 2013 at 1:21 pm | |
R_base_all/weighted-average-excel4_234_0.txt | * Hui... says:
March 10, 2013 at 3:59 am | |
R_base_all/R_base_all_227_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.names: Get and Set Row Names for Data Frames
## Description
All data frames have a row... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_8_0.txt | 3. Tags
4. 5. Users | |
R_base_all/weighted-average-excel4_253_0.txt | @Happy Healer
As you aren't weighting the individual tests,
Wouldn't it simply be the average of his scores to date?
=Average(90, 87, 94)
=90.33
ps: Sorry for the delay, I was traveling in April and obviously missed the
post | |
R_base_all/1358206-date-manipulation-volume-weighted-average1_20_0.txt | Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input long rating_date str4 reason str14 cusip_id long execution_date double(quanti price)
19402 "UPG" "200300606" 19054 4860364.5 40.5
19402 "UPG" "200300606" 19072 770000 38.5
19402 "UPG" "200300... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.