id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
R_base_all/split-data-frame-string-column-into-multiple-columns0_76_0.txt | 2
* 8 | |
R_base_all/R_base_all_415_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)
# comment: Query or Set a ` "comment" ` Attribute
## Description
These functions set and que... | |
R_base_all/pandas.Series.str.split.html8_1_0.txt | ` Ctrl ` \+ ` K `
Site Navigation | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_158_0.txt | Share
Follow | |
R_base_all/weighted-average-excel4_45_0.txt | ### How to convert test scores to letter grades in Excel?
### How to calculate the Gender Pay Gap using Excel Formulas? (Free
Calculator Template) | |
R_base_all/getting-started-simulating-data8_30_0.txt | ## Example of using the simulated numbers from rnorm()
Up to this point we’ve printed the results of each simulation. In reality we’d
want to save our vectors as objects in R to use them for some further task. | |
R_base_all/getting-started-simulating-data8_91_0.txt | ## Multiple quantitative variables with groups
For our last dataset we’ll have two groups, with 10 observations per group. | |
R_base_all/R_base_all_240_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)
# conditions: Condition Handling and Recovery
## Description
These functions provide a mecha... | |
R_base_all/weighted-average-excel4_202_0.txt | But why are there values > 5?
I thought you would layout the data as: | |
R_base_all/weighted-average-excel4_0_0.txt | * Home
* About
* All posts
* Contact
* Ask a question
* Home
* About
* All posts
* Contact
* Ask a question | |
R_base_all/index.html6_42_0.txt |
## M1 M2 M3
## M1 12.68 13.95 3.07
## M2 13.95 30.39 4.70
## M3 3.07 4.70 2.18
Now we can add the means to a vector in R. | |
R_base_all/R_base_all_74_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)
# R.Version: Version Information
## Description
` R.Version() ` provides detailed informatio... | |
R_base_all/R_base_all_426_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)
# force: Force Evaluation of an Argument
## Description
Forces the evaluation of a function ... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_172_0.txt | 1
Another base R solution that also is a general way to split a column in
several columns is: | |
R_base_all/R_base_all_428_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-load: Loading and Unloading Name Spaces
## Description
Functions to load and unload nam... | |
R_base_all/getting-started-simulating-data8_82_0.txt |
rep(LETTERS[3:5], ?)
Does ` each ` work? | |
R_base_all/R_base_all_90_3.txt | ed by [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/R_base_all_360_3.txt | cepted.
` %z `
Signed offset in hours and minutes from UTC, so ` -0800 ` is 8 hours behind
UTC. Values up to ` +1400 ` are accepted. (Standard only for output. For input
R currently supports it on all platforms.)
` %Z `
(Output only.) Time zone abbreviation as a character string (empty if not
available... | |
R_base_all/R_base_all_67_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)
# integer: Integer Vectors
## Description
Creates or tests for objects of type ` "integer" `... | |
R_base_all/getting-started-simulating-data8_119_0.txt | * %!(EXTRA string=Facebook)
* %!(EXTRA string=Twitter)
#### Ariel Muldoon | |
R_base_all/pandas.Series.str.split.html8_11_0.txt |
Limit number of splits in output. ` None ` , 0 and -1 will be interpreted as
return all splits. | |
R_base_all/R_base_all_258_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)
# norm: Compute the Norm of a Matrix
## Description
Computes a matrix norm of ` x ` using LA... | |
R_base_all/getting-started-simulating-data8_12_0.txt | ## rnorm() to generate random numbers from the normal distribution
I use ` rnorm() ` a lot, sometimes with good reason and other times when I
need some numbers and I really don’t care too much about what they are. 😜 | |
R_base_all/R_base_all_294_1.txt | stopifnot(all(rx[,1] == rx))
# }
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%2Frank&utm_source=r-docs&utm_medium=docs&utm_term=rank&utm_content=run_example_in_workspace)
Powered ... | |
R_base_all/R_base_all_93_1.txt | S and R < 2.5.0. For
compatibility with S, integer values of double vectors are deparsed with a
trailing decimal point. Backticks are not used.
` "hexNumeric" ` :
Real and finite complex numbers are output in "%a" format as binary
fractions (coded as hexadecimal: see ` [ sprintf
](/link/sprintf?package=base... | |
R_base_all/R_base_all_334_1.txt | o zero: First,
the mean absolute difference of the two numerical vectors is computed. If this
is smaller than ` tolerance ` or not finite, absolute differences are used,
otherwise relative differences scaled by the mean absolute ` target ` value.
Note that these comparisons are computed only for those vector elements w... | |
R_base_all/R_base_all_169_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)
# rep: Replicate Elements of Vectors and Lists
## Description
` rep ` replicates the values ... | |
R_base_all/R_base_all_52_3.txt | ant to see more:
trace(pt, tracer = quote(cat(sprintf("tracing pt(*, ncp = %.15g)\n", ncp))),
print = FALSE) # <- not showing typical extra
power.t.test(20, 1, power=0.8, sd=NULL) ##--> showing the ncp root finding:
untrace(pt)
# }
# NOT RUN {
<!-- %% methods is loaded when neede... | |
R_base_all/weighted-average-excel4_49_0.txt | Learn Excel
### How to calculate the Gender Pay Gap using Excel Formulas? (Free
Calculator Template) | |
R_base_all/getting-started-simulating-data8_28_0.txt |
rnorm(n = 10, mean = c(0, 5, 20), sd = c(1, 5, 20) )
[1] 1.5274670 10.2708903 40.6014202 0.8401609 6.0848235 6.5494885
[7] 0.1325985 4.6453633 1.1460906 -1.0220310
Things are different for the ` n ` argument. If a vector is passed to ` n ` ,
the length of that vector is taken... | |
R_base_all/1188876_14_0.txt | 1 Like
system Closed November 3, 2021, 4:11am 6 | |
R_base_all/weighted-average-excel4_29_0.txt | ## Do you use Weighted Mean / Weighted Average?
What do you use it for? What kind of challenges you face? Do you apply any
tweaks to weighted average calculations? Please share your ideas / tips using
comments. | |
R_base_all/weighted-average-excel4_235_0.txt | Frustrated Analyst!!
Isn't it simply
=(23+9+55+1088+1030)/5
=441 things per day
So it really depends on the speed at what your doing things
If you have to make 2205 things
it will take 2 days at 1088 per day
but several weeks at 9 per day
Reply | |
R_base_all/Simulation.html9_19_0.txt | The standard normal distribution has mean 0 and standard deviation 1. As you
can see under the ‘Usage’ section in the documentation, the default values for
the ‘mean’ and ‘sd’ arguments to rnorm() are 0 and 1, respectively. Thus,
rnorm(10) will generate 10 random numbers from a standard normal distribution.
Give it a t... | |
R_base_all/weighted-average-excel4_187_0.txt | Just was wondering.....................
thanks in advance.............. | |
R_base_all/Simulation.html9_18_0.txt | Similar to rbinom(), we can use R to simulate random numbers from many other
probability distributions. Pull up the documentation for rnorm() now.
?rnorm | |
R_base_all/1370168_9_0.txt | 1 Like
ernijs12 May 12, 2022, 9:21pm 3 | |
R_base_all/getting-started-simulating-data8_31_0.txt | For example, maybe we want to simulate two unrelated variables and then look
to see how correlated they appear to be. This can be a fun exercise to
demonstrate how variables can appear to be related by chance even when we know
they are not, especially at small sample sizes.
Let’s generate two quantitative vectors of l... | |
R_base_all/weighted-average-excel4_317_0.txt | =SUMPRODUCT(AC3:AO3, AC1:AO1)/SUM(AC1:AO1)
So I'd want to use this formula for different data in each row I have, but
keep the weighted data "AC1:AO1" the same for each row. So the next row would
have the formula: | |
R_base_all/R_base_all_418_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)
# cut.POSIXt: Convert a Date or Date-Time Object to a Factor
## Description
Method for ` [ c... | |
R_base_all/R_base_all_166_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)
# matrix: Matrices
## Description
` matrix ` creates a matrix from the given set of values.
... | |
R_base_all/R_base_all_52_1.txt | he
other of those values sets the state. If the tracing state is ` FALSE ` , none
of the trace actions will actually occur (used, for example, by debugging
functions to shut off tracing during debugging).
expr, msg
arguments to the support function ` .doTrace ` , calls to which are inserted
into the modified function... | |
R_base_all/getting-started-simulating-data8_93_0.txt | How many observations should we draw from each uniform distribution?
runif(n = ?, min = 10, max = 15) | |
R_base_all/getting-started-simulating-data8_95_0.txt |
data.frame(group = rep(LETTERS[3:4], each = 10),
x = runif(n = 20, min = 10, max = 15),
y = runif(n = 20, min = 100, max = 150))
group x y
1 C 13.20331 126.7004
2 C 13.91440 137.0772
3 C 12.72031 134.8689
4 C ... | |
R_base_all/R_base_all_239_1.txt | assign("Global.res", x^2, envir = .GlobalEnv)
innerf(x+1)
}
myf(3)
Global.res # 16
a <- 1:4
assign("a[1]", 2)
a[1] == 2 # FALSE
get("a[1]") == 2 # TRUE
# }
Run the code above in your browser using [ DataCamp Workspace
](https://app.datacamp.com/worksp... | |
R_base_all/pandas.Series.str.split.html8_20_0.txt | Series, Index, DataFrame or MultiIndex
| |
R_base_all/Simulation.html9_10_0.txt |
flips <- sample(c(0,1), 100, replace = TRUE, prob = c(0.3, 0.7))
View the contents of the flips variable. | |
R_base_all/getting-started-simulating-data8_51_0.txt | And the distribution is now pretty symmetric.
hist(y) | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_128_0.txt | Since R version 3.4.0 you can use ` strcapture() ` from the utils package
(included with base R installs), binding the output onto the other column(s).
out <- strcapture(
"(.*)_and_(.*)",
as.character(before$type),
data.frame(type_1 = character(), type_2 = character())
)
... | |
R_base_all/weighted-average-excel4_291_0.txt | I need to calculate the weighted average yield only on the filtered assets
(which total well below the $2.5 billion). How can I create the weights for
the resulting assets since the denominator changes every time I change the
filters?
Thanks. | |
R_base_all/getting-started-simulating-data8_111_0.txt |
simlist = replicate(n = 3,
expr = data.frame(group = rep(letters[1:2], each = 3),
response = rnorm(n = 6, mean = 0, sd = 1) ),
simplify = FALSE)
We can see this result is a list of three data.frames. | |
R_base_all/R_base_all_27_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)
# nlevels: The Number of Levels of a Factor
## Description
Return the number of levels which... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_193_0.txt | How to extract the results of R's strsplit()
0 | |
R_base_all/R_base_all_148_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)
# find.package: Find Packages
## Description
Find the paths to one or more packages.
## Us... | |
R_base_all/Simulation.html9_25_0.txt |
cm <- colMeans(my_pois)
And let’s take a look at the distribution of our column means by plotting a
histogram with hist(cm). | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_48_0.txt |
before %>%
separate(type, c("foo", "bar"), "_and_")
## attr foo bar
## 1 1 foo bar
## 2 30 foo bar_2
## 3 4 foo bar
## 4 6 foo bar_2
Share | |
R_base_all/ts_moving_averages6_5_0.txt | There are four R packages outside of the base set of functions that will be
used in the tutorial:
library(tidyverse) # data manipulation and visualization
library(lubridate) # easily work with dates and times
library(fpp2) # working with time series data
library(zoo) ... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_104_0.txt | – Nicki
Aug 3, 2017 at 13:21 | |
R_base_all/R_base_all_186_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)
# sample: Random Samples and Permutations
## Description
` sample ` takes a sample of the sp... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_84_0.txt | Follow
edited Sep 2, 2016 at 5:20 | |
R_base_all/weighted-average-excel4_272_0.txt | @NM
What field are you weighting on?
Can you explain your request maybe with an example?
Reply | |
R_base_all/R_base_all_347_3.txt | 4
txt[i]
## Double all 'a' or 'b's; "\" must be escaped, i.e., 'doubled'
gsub("([ab])", "\\1_\\1_", "abc and ABC")
txt <- c("The", "licenses", "for", "most", "software", "are",
"designed", "to", "take", "away", "your", "freedom",
"to", "share", "and", "change", "it.",
"", "... | |
R_base_all/pandas.Series.str.split.html8_5_0.txt | * * API reference
* Series
* pandas.Serie...
# pandas.Series.str.split # | |
R_base_all/weighted-average-excel4_265_0.txt | October 2, 2013 at 2:59 pm
It's really a great and helpful piece of info. I am satisfied that you shared
this helpful info with us. Please stay us up to date like this. Thanks for
sharing. | |
R_base_all/R_base_all_366_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.factor: Extract or Replace Parts of a Factor
## Description
Extract or replace sub... | |
R_base_all/R_base_all_360_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)
# strptime: Date-time Conversion Functions to and from Character
## Description
Functions to... | |
R_base_all/weighted-average-excel4_249_0.txt | can you post a sample file?
Refer: http://chandoo.org/forums/topic/posting-a-sample-workbook
Reply | |
R_base_all/R_base_all_228_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)
# stopifnot: Ensure the Truth of R Expressions
## Description
If any of the expressions (in ... | |
R_base_all/R_base_all_246_1.txt | A?package=base&version=3.6.2) ` and ` [ NaN
](/link/NaN?package=base&version=3.6.2) ` in numeric or complex vectors, or
for strings with different encodings, see also above.
## Examples
[ Run this code
](https://app.datacamp.com/workspace/preview?_tag=rdocs&rdocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Fmat... | |
R_base_all/getting-started-simulating-data8_25_0.txt | ### Using vectors of values for the parameter arguments
We can pull random numbers from multiple different normal distributions
simultaneously if we use a vector for the parameter arguments. This could be
useful, for example, for simulating data with different group means but the
same variance. We might want to use s... | |
R_base_all/pandas.Series.str.split.html8_27_0.txt | Splits string around given separator/delimiter, starting from the right.
` Series.str.join ` | |
R_base_all/R_base_all_363_1.txt | ://www.datacamp.com/)
| |
R_base_all/R_base_all_159_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)
# rev: Reverse Elements
## Description
` rev ` provides a reversed version of its argument. ... | |
R_base_all/R_base_all_308_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)
# getLoadedDLLs: Get DLLs Loaded in Current Session
## Description
This function provides a ... | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_132_0.txt | 1
* 1 | |
R_base_all/weighted-average-excel4_92_0.txt | Reply
16. Krunal Patel says: | |
R_base_all/R_base_all_199_3.txt | al" ` , which uses a pager similar to the GUI console.
Another possibility is ` "console" ` to use the console itself.
Can be a character string or an R function, in which case it needs to accept
the arguments ` (files, header, title, delete.file) ` corresponding to the
first four arguments of ` [ file.show
](/link/... | |
R_base_all/weighted-average-excel4_123_0.txt | 26. Ryan says:
September 21, 2011 at 12:33 pm | |
R_base_all/weighted-average-excel4_247_0.txt | Reply
* Hui... says: | |
R_base_all/R_base_all_367_1.txt | in the base package,
with ‘mangled’ names.
## See Also
` [ library ](/link/library?package=base&version=3.6.2) ` , ` [ detach
](/link/detach?package=base&version=3.6.2) ` , ` [ loadNamespace
](/link/loadNamespace?package=base&version=3.6.2) ` .
See ` [ :: ](/link/%3A%3A?package=base&version=3.6.2) ` for a discussio... | |
R_base_all/weighted-average-excel4_153_0.txt | Do you have one?
Reply | |
R_base_all/split-data-frame-string-column-into-multiple-columns0_32_0.txt | 357
Use ` stringr::str_split_fixed ` | |
R_base_all/simulation.html8_10_0.txt | ## 20.2 Setting the random number seed
When simulating any random numbers it is essential to set the random number
seed . Setting the random number seed with ` set.seed() ` ensures
reproducibility of the sequence of random numbers. | |
R_base_all/R_base_all_236_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)
# Rhome: Return the R Home Directory
## Description
Return the R home directory, or the fu... | |
R_base_all/index.html6_46_0.txt | And we can check to confirm that the covariance structure of the data is
correct using ` cov ` .
cov(sim_data);
## M1 M2 M3
## M1 12.233584 17.090830 3.596888
## M2 17.090830 33.898138 5.655008
## M3 3.596888 5.655008 1.871685 | |
R_base_all/R_base_all_305_1.txt | kages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Ffile.show&utm_source=r-docs&utm_medium=docs&utm_term=file.show&utm_content=run_example_in_workspace)
Powered by [ DataCamp ](https://www.datacamp.com/)
| |
R_base_all/weighted-average-excel4_47_0.txt | * Excel for beginners
* Advanced Excel Skills
* Excel Dashboards
* Complete guide to Pivot Tables
* Top 10 Excel Formulas
* Excel Shortcuts
* #Awesome Budget vs. Actual Chart
* 40+ VBA Examples
## Related Tips | |
R_base_all/R_base_all_393_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)
# Startup: Initialization at Start of an R Session
## Description
In R , the startup mecha... | |
R_base_all/getting-started-simulating-data8_60_0.txt |
rep(letters[1:2], each = 3)
[1] "a" "a" "a" "b" "b" "b"
## Repeat a whole vector with the times argument | |
R_base_all/R_base_all_247_1.txt | or(...)
lst <- unclass(attenu$station) > 20 # logical with NAs
## summary.default() for logicals -- different from *.factor:
summary(lst)
summary(as.factor(lst))
# }
Run the code above in your browser using [ DataCamp Workspace
](https://app.datacamp.com/workspace/preview?_tag=rdocs&rdoc... | |
R_base_all/weighted-average-excel4_307_0.txt | Name Clock In Clock Out Status Time Spent
XYZ 9.16 20.30 Present 11.14
I need to calculate team attendance averages but some employees come late or
even late which I think disturbs my average. | |
R_base_all/weighted-average-excel4_268_0.txt | Hello,
can you help me calculate the weighted average between these two time period
Reply | |
R_base_all/R_base_all_163_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)
# mapply: Apply a Function to Multiple List or Vector Arguments
## Description
` mapply ` is... | |
R_base_all/R_base_all_31_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)
# library: Loading/Attaching and Listing of Packages
## Description
` library ` and ` requir... | |
R_base_all/R_base_all_47_1.txt | m a1
print(c(a0, a2), digits = 16)
# }
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%2Fcharacter&utm_source=r-docs&utm_medium=docs&utm_term=character&utm_content=run_example_in_wo... | |
R_base_all/R_base_all_369_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)
# margin.table: Compute table margin
## Description
For a contingency table in array form, c... | |
R_base_all/R_base_all_177_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)
# tilde: Tilde Operator
## Description
Tilde is used to separate the left- and right-hand si... | |
R_base_all/weighted-average-excel4_338_0.txt | I have multiple tasks that I am measuring. I have the # of tasks that can be
completed in 1 hour. I want to weight the tasks so that all are measured
fairly.
Currently employees working the fast/easier tasks can process more per hour
than those working slow/easier tasks and are achieving a higher tasks/hour
rating. | |
R_base_all/Simulation.html9_27_0.txt | All of the standard probability distributions are built into R, including
exponential (rexp()), chi-squared (rchisq()), gamma (rgamma()), …. Well, you
see the pattern.
Simulation is practically a field of its own and we’ve only skimmed the
surface of what’s possible. I encourage you to explore these and other
function... | |
R_base_all/R_base_all_219_1.txt | rdocs&rdocsPath=packages%2Fbase%2Fversions%2F3.6.2%2Ftopics%2Fdetach&utm_source=r-docs&utm_medium=docs&utm_term=detach&utm_content=run_example_in_workspace)
# NOT RUN {
require(splines) # package
detach(package:splines)
## or also
library(splines)
pkg <- "package:splines"
# }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.