blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e429cfd514469db5f198e16c37d4ac77acbbbc5e | ee036beea6789336117c6d05b0c9a4c622bf65c4 | /RCode/ts_3a.R | cfecc0c7da7fc1ea62cdfcaf56702cbe00803d25 | [] | no_license | ibrahim85/Thesis | 17d69ca75b05cd1e4446564b89c90cf141e91696 | 87ec5a2f7d0341a4467a99e8f8096de08d0d6cb5 | refs/heads/master | 2020-03-22T18:14:07.821060 | 2014-09-03T06:44:27 | 2014-09-03T06:44:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,235 | r | ts_3a.R | ts_3a <- function(Mkt, SLoss, MktName){
#
#
# Mkt: market data
# SLoss: stop loss
# MktName: market's name for print out
#
# Returns:
# results vector.
results <- createResultsVector(MktName, SLoss)
#browser()
Mkt$v <- as.numeric(Mkt$p)
lvl <- min(Mkt$v) + ((max(Mkt$v) - min(Mkt$... |
0d872f9c615faf99ecd65857981358a8e33d1847 | 051880099402393c9249d41526a5ac162f822f8d | /man/tg.sampleProblem.Rd | bf24409e8b8c098712d3e86910532e69d30007c5 | [
"MIT"
] | permissive | bbTomas/rPraat | cd2b309e39e0ee784be4d83a980da60946f4c822 | 4c516e1309377e370c7d05245f6a396b6d4d4b03 | refs/heads/master | 2021-12-13T19:32:38.439214 | 2021-12-09T18:42:48 | 2021-12-09T18:42:48 | 54,803,225 | 21 | 7 | null | null | null | null | UTF-8 | R | false | true | 445 | rd | tg.sampleProblem.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rpraat_sampleData.R
\name{tg.sampleProblem}
\alias{tg.sampleProblem}
\title{tg.sampleProblem}
\usage{
tg.sampleProblem()
}
\value{
TextGrid
}
\description{
Returns sample TextGrid with continuity problem.
}
\examples{
tg <- tg.sampleProblem()... |
f19528d0916d1c77841ba2d6a725119b67f4baeb | 825aae59c1c325e658cee4b7b9dd6101328f733e | /plot1.R | b913fe4a24f35e0fcabd2291e624ee701e6492fd | [] | no_license | prebrov/ExData_Project2 | bc9071076f0c5e760350e8c2d91e94f5e7784542 | a0659d994024d30dff8f72457739b9faf1475978 | refs/heads/master | 2021-01-22T09:27:05.836506 | 2014-09-21T19:04:38 | 2014-09-21T19:04:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 694 | r | plot1.R | ## Q1. Have total emissions from PM2.5 decreased in the United States from 1999 to 2008? Using the base plotting system, make a plot showing the total PM2.5 emission from all sources for each of the years 1999, 2002, 2005, and 2008.
## Read data sets
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classif... |
556220f30f91425d1a0e4c1c787e13899c27e32e | 90c5c8a79cb01f1a2475f01f8c0e4ba539492956 | /Scripts/R_Scripts/build_CMV_predictor.R | a33c638a1194d56df41b506f2bf74748a37f9d4b | [] | no_license | JacobBergstedt/MIMETH | 626725179fb37adf3853adafd19ccf33c4c1623a | c475440ee5bb3389fae72f1684d270641884ce0a | refs/heads/main | 2023-04-15T03:18:12.731765 | 2022-08-23T13:36:50 | 2022-08-23T13:36:50 | 527,968,587 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,160 | r | build_CMV_predictor.R |
# Initialize --------------------------------------------------------------
library(tidyverse)
library(stabs)
library(glmnet)
library(parallel)
source("./Scripts/R_scripts/Libraries/functions_for_CMV_prediction.R")
# Load data ---------------------------------------------------------------
meth <- readRDS("./Data/RD... |
6e16373a61b3e27ab9a2067a0ad0f831b02e2d33 | 5efdf8e274a4a34a4f73645a59bb67995b6e3f4d | /cachematrix.R | 7e7534e291b2932fa6af6877dd9cf85d60fdad4a | [] | no_license | mjgrav2001/ProgrammingAssignment2 | c658587c679790e10bf66c76f76361e9ea39592a | 12c6bf4c3a5393c095462b0ce0a02ad7775893db | refs/heads/master | 2021-01-18T12:44:19.582237 | 2015-04-25T00:57:14 | 2015-04-25T00:57:14 | 34,548,283 | 0 | 0 | null | 2015-04-25T00:20:00 | 2015-04-25T00:20:00 | null | UTF-8 | R | false | false | 1,927 | r | cachematrix.R | ## Caching the Inverse of a Matrix:
##
## This .R files contains two functions to compute the inverse of a given "matrix"
## but caching the inverse of the matrix rather than computing it repeatedly.
## The file contains following two functions:
##
## 1. makeCacheMatrix: This function creates a special "matrix" objec... |
be7070a1c8a1fb41e3c15a94bd6e7d80e36bf5a0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mdsstat/examples/test_as_row.Rd.R | 5073657c970e580f215d256b2cbd69d58a9763e4 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 168 | r | test_as_row.Rd.R | library(mdsstat)
### Name: test_as_row
### Title: Coerce mdsstat Test to 1-Row Data Frame
### Aliases: test_as_row
### ** Examples
test_as_row(prr(mds_ts[[3]]))
|
477a7255de3a954a00f43a8d7dbd385f65321b5a | 3eace8d25635ebbc9c9d498def0f32aae85d7d88 | /man/mc.calc.bca.Rd | 5e5f0f21d265b34e21e486c3e7bbc3c3e94a2e49 | [] | no_license | piodag/mcr | 4b7c10d61188e63afe1af5b8109e19bec8c59862 | 41b5f5b2c526b2da11568471d7101e965d4d0a30 | refs/heads/main | 2023-04-12T13:48:48.175023 | 2021-05-10T22:26:11 | 2021-05-10T22:26:11 | 360,986,672 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,186 | rd | mc.calc.bca.Rd | \name{mc.calc.bca}
\alias{mc.calc.bca}
\title{Bias Corrected and Accelerated Resampling Confidence Interval}
\usage{
mc.calc.bca(Xboot, Xjack, xhat, alpha)
}
\arguments{
\item{Xboot}{vector of point estimates for bootstrap
samples. The i-th element contains point estimate of the
i-th bootstrap sample.}
... |
7816cc68b30197a4a27a521888e43095a9e6d738 | cfe01977ef19f9f5ae8e39d7835cf979c9b67901 | /man/default_col_pal.Rd | c8f934bb57b24710122885a0acb3ec4914bd24a7 | [
"MIT"
] | permissive | InseeFr/disaggR | 27aecbf65f4fc65e539e90720660902a561d7d0c | f6c88857c7beb0a4d5c990bb253ed050302ba8c3 | refs/heads/master | 2023-08-22T13:44:32.143164 | 2023-08-05T17:42:55 | 2023-08-05T17:42:55 | 238,296,894 | 15 | 4 | NOASSERTION | 2023-09-06T16:29:02 | 2020-02-04T20:14:08 | R | UTF-8 | R | false | true | 361 | rd | default_col_pal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{default_col_pal}
\alias{default_col_pal}
\title{Default color palette}
\usage{
default_col_pal(object)
}
\description{
The default color palette for the graphics, inspired from the package
\pkg{scales} whose scales can also be us... |
c55aa2c5d221527f538bcac82ba29c13b3e988d8 | 277dbb992966a549176e2b7f526715574b421440 | /R_training/실습제출/신현정/lab_08.R | 06021ff08e122e33483a7e1dcaf3b1ea9bd60594 | [] | no_license | BaeYS-marketing/R | 58bc7f448d7486510218035a3e09d1dd562bca4b | 03b500cb428eded36d7c65bd8b2ee3437a7f5ef1 | refs/heads/master | 2020-12-11T04:30:28.034460 | 2020-01-17T08:47:38 | 2020-01-17T08:47:38 | 227,819,378 | 0 | 0 | null | 2019-12-13T12:06:33 | 2019-12-13T10:56:18 | C++ | UTF-8 | R | false | false | 875 | r | lab_08.R |
#문제 1
mySum <-function(...)
#(1)
{
data = c(...)
oddSum= 0
evenSum = 0
print(class(data))
if(!is.numeric(data)){
return(NULL)
}else{
for(i in data){
if(i %% 2 == 0)
}else{
}
}
data = list(evenSum,)
}
return(data)
}
testw... |
be3613f16524981778810b28e252c501137175b9 | ced0e8a0e6e8c40b64424b786356c34ef9c81a70 | /Rcode_clinicalDataNew/rubins_rule.R | d02cf69423b323cf9dd39c25c2cfdf1423b84a3d | [
"MIT"
] | permissive | AnacletoLAB/DataAnalysisR | 59bff492b3cc945aa42f01c1edf154323cd6df7e | 8c09903be89a1199869f0408f35378df77a0ebdc | refs/heads/main | 2023-03-22T09:37:57.271192 | 2021-03-17T18:46:06 | 2021-03-17T18:46:06 | 316,894,320 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,268 | r | rubins_rule.R | rubin_rule_pool <- function(imp){
#https://thomasleeper.com/Rcourse/Tutorials/mi.html
# imp is a list with num_imputations elements
# each element is a dataframe/matrix where rows are the repetitions of the classifier and each column is
# related to a different value (either performance value or importance... |
59429d3261b29a2211f5f8a8f5392c030594d822 | ae782ac681b8e5bbfc68561bb06c0f7786cad1a0 | /simulation_random_arrangement_successes_failures.R | 4827ec4df8959c6ca081913ffd7ed560a40c4812 | [] | no_license | SirRichter/R-code | dea56bd746b8ba8d087e53d244c07679eda2351c | 719aca4ae5779f07463ae36a96e0887e9249db5d | refs/heads/master | 2018-11-29T17:18:29.442930 | 2018-09-05T14:57:50 | 2018-09-05T14:57:50 | 117,899,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 566 | r | simulation_random_arrangement_successes_failures.R | success <- 21
attempt <- 30
fail <- attempt - success
streak <- function()
{
success.pos <- sort(sample(1:attempt, success))
fail.pos <- sort((1:attempt)[-success.pos])
streak <- 0
prev <- success.pos[1]
for(i in success.pos[-1])
{
current <- i
if(prev == current-1)
{
streak ... |
74f45c8425f84efb41772de56bdb1de89320d82f | 34a646deb8254171bd8e4882e3ea3c7e13fb63fb | /man/get_form_data.Rd | d97dc58a98a90401c7615b35788161dd84b26324 | [
"MIT"
] | permissive | mattmalcher/lift.tracker | 0e516bddb9570f1cdb4c83780f3e1c3c804291d2 | bfcdce90eb2dc9f97e5ce9a1107a7286ad192679 | refs/heads/main | 2023-02-05T11:33:10.629001 | 2020-10-13T10:45:22 | 2020-10-13T10:45:22 | 303,187,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 383 | rd | get_form_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_form_data.R
\name{get_form_data}
\alias{get_form_data}
\title{Get Form Data}
\usage{
get_form_data(form_url)
}
\arguments{
\item{form_url}{\itemize{
\item the share link for the sheet which the google form drops
data into
}}
}
\value{
a d... |
4f052962f0f61ec548127c2746febf28617ad29c | 7e38971daf48e04414cb0c65facd38c98648142b | /R/cleanAQRQMJDaily.R | 5e4b1c592daf3938205c61207456762fcef36ea6 | [] | no_license | yn1/FFAQR | 338800ec7209a10b33d79630ae2c082d7df1f22c | c173309a9415f9d83130650b8c7e4f5132fabdf4 | refs/heads/master | 2021-01-02T23:02:57.359761 | 2015-02-06T21:49:02 | 2015-02-06T21:49:02 | 29,973,189 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 740 | r | cleanAQRQMJDaily.R | #' Reads in, cleans, and subdivides daily QMJ data set in data folder.
#' Currently disabled, Java heap runs out of memory when reading xlsx.
cleanAQRQMJDaily <- function() {
temp <- tempfile()
QMJDaily <- "https://www.aqr.com/~/media/files/data-sets/quality-minus-junk-factors-daily.xlsx"
download.file(QMJDai... |
3f64c49c2fa4bc456019de2b8bce019d975e3a28 | 9916af82f94b822f233475296447adb486db56c1 | /R/cSimulator.R | 156762e26efc86010ef6f24e908f1aeeb4c01807 | [] | no_license | saezlab/CellNOptR | 865bc6cf866e00faf8718f1f61388fde7fbb58b8 | 4660813a35227bab86359d51f9f61a9e3deb0298 | refs/heads/master | 2022-05-20T06:58:25.273631 | 2022-05-11T08:59:33 | 2022-05-11T08:59:33 | 116,661,047 | 8 | 2 | null | 2022-03-21T13:28:13 | 2018-01-08T10:12:00 | R | UTF-8 | R | false | false | 2,343 | r | cSimulator.R | #
# This file is part of the CNO software
#
# Copyright (c) 2011-2012 - EMBL - European Bioinformatics Institute
#
# File author(s): CNO developers (cno-dev@ebi.ac.uk)
#
# Distributed under the GPLv3 License.
# See accompanying file LICENSE.txt or copy at
# http://www.gnu.org/licenses/gpl-3.0.html
#
# CNO we... |
9a307cb1df0b403439627a169cdb1784f9f5ca60 | 6f7ae9c734fda6fbd7338ce1af3945c65f609088 | /02_create_main_analysis_datasets/04_compute_market_access/03a_woreda_traveltime_dataset.R | 7ff8f68983a038cf367f5f1ee657ad25ea5382d4 | [] | no_license | mohammed-seid/Ethiopia-Corridors-IE | d9b16014f866d529f39720f434a5f5dda433f9eb | 401836d71d60a81faded25a18c19a5f14e082701 | refs/heads/master | 2022-11-09T01:23:41.471170 | 2020-06-15T22:00:30 | 2020-06-15T22:00:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,703 | r | 03a_woreda_traveltime_dataset.R | # Travel Time
#source("~/Documents/Github/Ethiopia-Corridors-IE/Code/_ethiopia_ie_master.R")
SEP_ROAD_SHAPEFILES <- T # Use separate road shapefiles
RESOLUTION_KM <- 3
WALKING_SPEED <- 5
for(SEP_ROAD_SHAPEFILES in c(TRUE, FALSE)){
# Load Data --------------------------------------------------------------------
... |
18f23d87f61b709e03d499d50bb1aab16a58dbd8 | d16d3a64c5707acf1faa5ab5db1ddf50f5bc48d6 | /ACE2_analysis/3_dseq2.R | 408dc70f892fbaaf3d56a6f5c0eb22fc6e2c2730 | [] | no_license | takeonaito/rnaseq | 80782d7e0366f50021b4bdef2469bfa21f871de1 | 39ce4cc8d92d1d9384ce46987b1bf3dadc43548e | refs/heads/master | 2021-03-04T22:41:43.103095 | 2020-04-08T22:44:18 | 2020-04-08T22:44:18 | 246,072,279 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,947 | r | 3_dseq2.R |
library(ggrepel)
library(DESeq2)
library(BiocParallel)
library(tidyverse)
library(readr)
library(data.table)
library(readxl)
library(AnnotationDbi)
library(org.Hs.eg.db)
library(ggbeeswarm)
# read necessary files (count, sample and serology)
count <- read_tsv("/home/takeo/rnaseq/WashU/data/all.gene_counts.xls")
sampl... |
8f3d23f9001aeb68a94a6dd0d29f817664816702 | 3a882c3eb6867a5ce5081747c9c538aec0d08705 | /man/read.txt.Renishaw.Rd | 695b3b26fabb58f39be21b934421849e54fc4e2d | [] | no_license | cran/hyperSpec | 02c327c0ea66014936de3af2cb188e9e30a4e6f7 | 4fc1e239f548e98f3a295e0521a2f99a5b84316d | refs/heads/master | 2021-09-22T07:57:28.497828 | 2021-09-13T12:00:02 | 2021-09-13T12:00:02 | 17,696,713 | 3 | 10 | null | 2016-10-31T16:36:46 | 2014-03-13T05:00:53 | R | UTF-8 | R | false | true | 2,540 | rd | read.txt.Renishaw.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deprecated.R, R/read.txt.Renishaw.R
\name{scan.txt.Renishaw}
\alias{scan.txt.Renishaw}
\alias{scan.zip.Renishaw}
\alias{read.txt.Renishaw}
\alias{read.zip.Renishaw}
\title{import Raman measurements from Renishaw ASCII-files}
\usage{
scan.txt.... |
cde8a7b882eb3dd2b5ef1823cdcd53a07a3a8171 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/chebpol/examples/chebcoef.Rd.R | 1d240bfeacc06be555c83c69777040cc3549d436 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 238 | r | chebcoef.Rd.R | library(chebpol)
### Name: chebcoef
### Title: Compute Chebyshev-coefficients given values on a Chebyshev grid
### Aliases: chebcoef
### ** Examples
## Coefficients for a 2x3x4 grid
a <- array(rnorm(24),dim=c(2,3,4))
chebcoef(a)
|
eb7e2ffbb6211b7dea202b78068e3676e7069fbb | 0ce3453dd3ea67d3d162486b1b78427a41d163d4 | /man/sea_ice_area.Rd | e4485107590970e368a3886c02c065e321d41ba2 | [
"MIT"
] | permissive | coolbutuseless/emphatic | 0d79045a4893285d0cb5028a60c5ec772457e88a | 32488dc0a91b7b461c6f3c592fdd1d2c1123b7dd | refs/heads/main | 2023-09-01T12:58:08.954192 | 2023-08-30T05:59:10 | 2023-08-30T05:59:10 | 308,440,058 | 100 | 3 | MIT | 2020-12-17T22:53:18 | 2020-10-29T20:17:47 | R | UTF-8 | R | false | true | 492 | rd | sea_ice_area.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-sets.R
\docType{data}
\name{sea_ice_area}
\alias{sea_ice_area}
\title{Monthly Southern Sea Ice Area over the last 40 years}
\format{
Matrix of sea ice area, monthly from 1978 to 2020.
}
\source{
\url{ftp://sidads.colorado.edu/DATASETS/NO... |
7a99d08ebe73bfb859ac32e51aa2763db81adcf5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BIEN/examples/BIEN_metadata_citation.Rd.R | ba11ed8c8b0aa8648fd043c77a12ab84f8b810e8 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 444 | r | BIEN_metadata_citation.Rd.R | library(BIEN)
### Name: BIEN_metadata_citation
### Title: Generate citations for data extracted from BIEN.
### Aliases: BIEN_metadata_citation
### ** Examples
## Not run:
##D BIEN_metadata_citation()#If you are referencing the phylogeny or range maps.
##D Xanthium_data<-BIEN_occurrence_species("Xanthium strumarium... |
2047a5561a3c7c7d51847fd4c2bcf2b0d8772260 | 6e8d099d91bc467c36a8a5e3b609de0b44380603 | /R/setTypes.R | f7f9ee829795f1d48b0bcf34e57c92eb8d3c60c4 | [] | no_license | Peder2911/Unfed_Gnostic | 4fb8bcb46880c978cd913d4c44a0b381cb2e8edf | aac66c233195a02447474d1c4f970a62680c250e | refs/heads/master | 2020-04-04T03:47:02.053555 | 2018-11-01T14:15:30 | 2018-11-01T14:15:30 | 155,725,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 579 | r | setTypes.R | #' Set Types By Vector
#'
#' Set the data types of a data frame using a character vector.
#' The vector can be created by sapply(data,class)
#' @param df A data frame
#' @param types A character vector of length ncol(df)
#' @keywords types metaprogramming
#' @export
#' @importFrom magrittr "%>%"
#' @examples
#' setT... |
682d60245ed92ad6f2d010f4593f68d795faa212 | bfe324beb0c335272362e7514938a82c08a9cc40 | /tests/testthat/test_calc_water_tax.R | d0c2e70b3b14a8f16b9ac76b9532d4b74201919e | [] | no_license | jkmiller-wildlife/PrecipPackage | 79157b7d394835f34a2999bdbaf380c74b09a7d0 | 070035c67dbdb496716c60e5d598b8315b7a4e3a | refs/heads/master | 2020-06-01T12:07:27.458399 | 2019-06-16T03:43:21 | 2019-06-16T03:43:21 | 190,774,172 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 180 | r | test_calc_water_tax.R | test_that(
"Tax is positive and higher than zero",
{
data(monthly_precip)
expect_true( calc_water_tax(monthly_precip, 100, "SANTA BARBARA", "OCT", 2012) > 0 )
}
)
|
66a640ef620d17507b83d958e8b4f676f8b2f82d | 7db5e131633d086c7a30675857c114615a9efe6f | /man/reverseList.Rd | df3a5b2428de4f4bb8ff567fc776a6045c3f4911 | [] | no_license | guokai8/rcellmarker | 969b13d4af8019fda574748064af4d72b77e58e6 | 32d3a12a4b84310a36f3eb645c7e364909257bd9 | refs/heads/master | 2022-05-04T00:48:55.315592 | 2022-03-30T17:27:52 | 2022-03-30T17:27:52 | 244,527,840 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 262 | rd | reverseList.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{reverseList}
\alias{reverseList}
\title{reverse List}
\usage{
reverseList(lhs)
}
\arguments{
\item{lhs}{list with names}
}
\description{
reverse List
}
\author{
Kai Guo
}
|
23f3d400f67be1d0e7d8141b9d82f32d179ed289 | 1ff45a674ca54329a98451899d834a094e70b115 | /asian-pacific-heritage/process-acs-data-not-used-yet.R | 6226b7f5e5da562dccfd4d138221263cc89ee796 | [] | no_license | psrc/equity-data-tools | 7642185d3c1d70e2ab71df489a9271c87356965c | d0bea587ec63731468c52895146fa3d7346ae321 | refs/heads/main | 2023-05-05T23:55:47.299847 | 2021-05-18T22:12:56 | 2021-05-18T22:12:56 | 359,532,801 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,761 | r | process-acs-data-not-used-yet.R | # Inputs ------------------------------------------------------------------
library(tidycensus)
library(tidyverse)
Sys.setenv(CENSUS_KEY='c4780eb03010d73b7ae4e6894c1592375e545a21')
census_api_key('c4780eb03010d73b7ae4e6894c1592375e545a21')
acs <- "acs1"
yrs <- c(seq(2010,2019,1))
psrc.county <- c("53033","53035","... |
6f208d4aba17a090405c66c02b05c936b2896949 | a330829b1c70080a8a3b221b093e5dccfa71af90 | /SDM_Project_HillsboroughCountyHomes.R | 11ea2c492bdceead2d0fa8260e66944449127454 | [] | no_license | erichmccartney/SDM_Project_HillsboroughCountyRealestate | 917c8954789877a7c1259b292ddec48cb4b4098a | 3cbd36ac50e3c3fe86034255c50c2933eb060b84 | refs/heads/main | 2023-08-28T17:40:52.587923 | 2021-10-24T13:31:42 | 2021-10-24T13:31:42 | 363,657,217 | 0 | 0 | null | 2021-05-10T00:43:51 | 2021-05-02T13:26:38 | R | UTF-8 | R | false | false | 9,114 | r | SDM_Project_HillsboroughCountyHomes.R | #' SDM Project: Hillsborough County Real Estate
install.packages("rio")
install.packages("moments")
install.packages("car")
install.packages("readxl")
install.packages("corrplot")
install.packages("reshape2")
rm(list=ls())
library(rio)
library(readxl)
library(lattice)
library(dplyr)
library(ggplot2)
library(corrplot... |
6f15eef9258b1c95edcd019951cb83520db8b29b | c200977129e98de598e665a37508d150f564d286 | /get_allele_id_to_query.R | 3312f56ab4250f818892d5efe663d8da16372766 | [] | no_license | jenjohnson7/CS702 | ba9b6cf029462a47168b297ed41001e42dec2138 | 78647a03f3237851b8985212f63631849fdbe385 | refs/heads/master | 2020-03-11T15:04:14.432669 | 2018-05-21T13:12:39 | 2018-05-21T13:12:39 | 123,441,033 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 475 | r | get_allele_id_to_query.R | library(tidyverse)
# get clinvar data
AD_clinvar_data <- read.delim('data/AD_clinvar_result.txt', header = TRUE)
AR_clinvar_data <- read.delim('data/AR_clinvar_result.txt', header = TRUE)
XLR_clinvar_data <- read.delim('data/XLR_clinvar_result.txt', header = TRUE)
#rowbind into total_data
total_data <- rbind(AD_cli... |
780ac1d9b7570ef64a887a3b797549c6f69457f5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/recluster/examples/recluster.group.col.Rd.R | c3d818b5873635061e2aad2bcab62bc018f74210 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 417 | r | recluster.group.col.Rd.R | library(recluster)
### Name: recluster.group.col
### Title: Compute mean coordinate values and RGB colours.
### Aliases: recluster.group.col
### Keywords: cluster
### ** Examples
data(datamod)
sordiss<- recluster.dist(datamod,dist="sorensen")
points<-metaMDS(sordiss, center=TRUE)$points
col<-recluster.col(points)
g... |
3cd4223bd99d8fed8dc979d0288900d1a8ee733f | 9822e0e83895f17a69d529c2c5a54097e2260af2 | /rf_AirBNB.R | 45018aaaec3ba36e5108e153499844cee67b0609 | [] | no_license | tboats/kaggle_AirBNB | e308a5938af514ea8793d48a71f27e31a298bb63 | 332378708251c136742d7e82f643287e3b80792b | refs/heads/master | 2021-01-10T02:52:35.610412 | 2016-03-06T07:14:29 | 2016-03-06T07:14:29 | 49,351,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,433 | r | rf_AirBNB.R | ######################################################################
# Goal of script: create a random forest model on AirBNB data to predict country of visit
#
#
# date of start: 01/09/2016
#
#
######################################################################
## load libraries
library(plyr)
library(dplyr)
libr... |
8550fe62ced39cac1c4422a6c52187b8dccd5414 | befe41bcf631337c50bb65c50d9f4c6ab548e0a5 | /server.R | 0c545b04c73d7c35bf040a889693f479dfae0c91 | [] | no_license | Tutuchan/parisdata | ce2003ca8e1cb3740887c8b826bb44644efec787 | 1c9cbfd13a6e1de3f5c02fa5927598ba526ce01e | refs/heads/master | 2021-01-10T15:21:12.491490 | 2015-09-30T13:04:40 | 2015-09-30T13:04:40 | 43,299,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,507 | r | server.R | library(shinydashboard)
library(shiny)
source("global.R")
shinyServer(function(input, output, session) {
output$textTest <- renderPrint({
# spPolygons@data$insee[input$mainMap_shape_click$id]-100
})
output$mainMap <- renderLeaflet({
pal = colorNumeric("RdBu", dfNbAccs$n)
leaflet(spPolygons) %>%
... |
d6431db5315b33693e9f1be406abcb0b880b26d4 | e9bec00a92cfb7b91186d458288784b4464a07d3 | /test_dplyr.R | 70665c5da4df6cd88b7223d674e54c2b7c48e60f | [
"MIT"
] | permissive | 15210280436/thomas | 4d6b296f8381f29d8a8df35a1b0d8d31e28cca4a | 7010af4e5421decc965fb379ca810340a776c624 | refs/heads/master | 2020-04-22T20:46:58.318338 | 2019-02-15T06:08:27 | 2019-02-15T06:08:27 | 170,652,009 | 0 | 0 | null | 2019-02-14T08:05:13 | 2019-02-14T08:05:13 | null | UTF-8 | R | false | false | 8,111 | r | test_dplyr.R | library(tidyverse)
library(nycflights13)
library(ggplot2)
library(DBI)
library(modelr) #
library(charlatan)
library(stringr)
con <- DBI::dbConnect(RPostgreSQL::PostgreSQL(),
host = "127.0.0.1",
dbname = "octopus_susuan",
user = "wangjf",
... |
c242f43d75b131c2326bf536cc327727899fd068 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1609955978-test.R | f5b798eae411a36083c7786640d198468ec8607a | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,511 | r | 1609955978-test.R | testlist <- list(id = c(60821L, -8748155L, 590633780L, 2051080192L, 0L, -8716289L, -16776961L, -1L, -1L, -13534598L, 2054881025L, 0L, 0L, 0L, 0L, 255L, 2054815744L, 0L), x = c(9.70418706716128e-101, 9.70418706716128e-101, -3.57143978277452e+250, -3.57143978277452e+250, -3.57143978277452e+250, -3.57143978277452e+250... |
894bec73cae39486bdb2fb9689e5106bdd1a15b0 | e3fd2e053b75918b8d39403dae93d735dbe47381 | /setupcode.R | 79154c4a1987a2c815c470aae7f5dd0cd0ed8f18 | [] | no_license | jeagleso/website | 00bfbb85f4218a7b5d22f682d4e15f5c50498617 | 51b35fbfa09fa51a57ab41da48c62746d17e65eb | refs/heads/main | 2023-04-20T14:17:20.126198 | 2021-05-01T16:30:22 | 2021-05-01T16:30:22 | 353,528,605 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 512 | r | setupcode.R | # install packages
# install.packages(c("distill", "postcards", "fontawesome"))
# load packages
library(distill)
library(postcards)
library(fontawesome)
# create website files
distill::create_website(dir = ".",
title = "Jenna Eagleson",
gh_pages = TRUE)
# create postca... |
29fc792577d6bfa728af923109b38a4a1ef0aaa3 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkPaperSizeGetHeight.Rd | cb8f0a47e6a3deaa73801a5bff8beefde8379478 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 479 | rd | gtkPaperSizeGetHeight.Rd | \alias{gtkPaperSizeGetHeight}
\name{gtkPaperSizeGetHeight}
\title{gtkPaperSizeGetHeight}
\description{Gets the paper height of the \code{\link{GtkPaperSize}}, in
units of \code{unit}.}
\usage{gtkPaperSizeGetHeight(object, unit)}
\arguments{
\item{\verb{object}}{a \code{\link{GtkPaperSize}} object}
\item{\verb{unit}}{t... |
7a2f8ba3f96550e27ef3c12e8230c90b554dac9b | 6cd15fd0e072741b5db8284ca20bf6534e495a20 | /man/mlpca_b.Rd | 0c39e54ccb3fe3f32450e26071ab12534903e55b | [
"MIT"
] | permissive | renands/RMLPCA | fffbd18c502e2e3ccfafaa4be677159877cb831b | 039d34002fe4b98688869184e5139a3b842bfa00 | refs/heads/master | 2023-05-09T07:34:03.769415 | 2021-05-31T19:22:13 | 2021-05-31T19:22:13 | 273,766,066 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,871 | rd | mlpca_b.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mlpca_b.R
\name{mlpca_b}
\alias{mlpca_b}
\title{Maximum likelihood principal component analysis for mode B error conditions}
\usage{
mlpca_b(X, Xsd, p)
}
\arguments{
\item{X}{MxN matrix of measurements.}
\item{Xsd}{MxN matrix of measurements... |
d15317af5c6172533dc950da58f7d0bf13b070eb | 7bba3974e2c51fa744ae2c8e5fc5cc8d46bde10b | /SM7 - R_script_heatmaps.R | 38d819674be6e935afb5c946ed3839c2a340ba5f | [] | no_license | pochotustra/genomics_endophytes | 07404aaa857f9d33dd3378ee448449fffdbde0c9 | 407c4e260dda6288b5da066a86acb32391e3a809 | refs/heads/master | 2020-05-16T21:09:32.077734 | 2015-03-25T13:26:14 | 2015-03-25T13:26:14 | 32,863,947 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 5,535 | r | SM7 - R_script_heatmaps.R | rm(list=ls(all=TRUE))
install.packages("XLConnect") #esto es para instalar un paquete que requiere para abrir el archivo de excel. Solo necesita correrlo la promera vez. Despues ya puede borrar esta linea
install.packages("plyr") # this is a new package you must installe the just the first time you use it.
setwd("C:... |
ae12163e43ceebb63cb864318ddd2750ccdd5767 | 29585dff702209dd446c0ab52ceea046c58e384e | /QCAGUI/R/findTh.R | 593e9ae669f908035de58285a8a8616b44d236c3 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 701 | r | findTh.R | `findTh` <-
function(x, n = 1, hclustm = "ward.D2", distm = "canberra", ...) {
if (!isNamespaceLoaded("QCA")) {
requireNamespace("QCA", quietly = TRUE)
}
other.args <- list(...)
###
### ### backwards compatibility
###
if ("groups" %in% names(other.args)) {
... |
20ca84e3a554efc46edf0c31873e9507bc6e281b | cd521a577c838a89b9ea0bd0db03ed13588ee5b2 | /server.R | f12b1afc2ceea035855ef3c96b51ffecb077d4c5 | [] | no_license | chessstats/motion | 23490eb8644cf79aa1ab4bd7c93a67f5b5576de0 | 419aec8a82ee86291c7097f38baa8a5273457616 | refs/heads/master | 2021-01-10T13:35:05.155726 | 2016-02-16T05:26:54 | 2016-02-16T05:26:54 | 51,384,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,978 | r | server.R |
library(shiny)
library(plotly)
library(DT)
dt<-read.table("ratinghist.txt")
lists<-sprintf("%04d",dt$date)
load("players.dat")
names(players)<-paste("X",as.character(names(players)),sep="")
fideids<-names(players)
playernames<-as.character(players)
#cat("ids",fideids[1:5],"names",playernames[1:5])
dt$year=2000+dt$yea... |
f1e70d60591d8ed3a780be7dc9599c7c2d47e16a | 6aa307176ec4899e13015d4f20aa9a4fdaef46f7 | /man/powermcpt.Rd | 46c112a366b434258d2e626f51a7a369d9690e2e | [] | no_license | cran/MCPAN | 7a56bec761537a8bd3cf9cd66f1dd0b8d90bb680 | dcfedcf90abc5df5974e72fcf9b84c487f937e98 | refs/heads/master | 2020-12-24T15:50:00.850274 | 2018-03-22T11:22:58 | 2018-03-22T11:22:58 | 17,691,867 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,963 | rd | powermcpt.Rd | \name{powermcpt}
\alias{powermcpt}
\title{
Testversion. Power calculation for multiple contrast tests (1-way ANOVA model)
}
\description{
Testversion. Calculate the power of a multiple contrast tests of k means in a model with homogeneous Gaussian errors, using the function pmvt(mvtnorm) to calculate multivar... |
05cf05a83598b48f4043c9628f5e6d8d1f02a295 | 251c9dd59afa6d9ca96339d2b94eb72d6dd37179 | /man/readDcpRectangle.Rd | 90f7255ae88603c657ae01f4d735592e7ffcf90b | [] | no_license | KUNJU-PITT/dChipIO | ebcd315e18e6a52b6cfb25dc9d47677c0bee3c0e | 85080e5d289646f89c7ad96051cef3c155dfb7dd | refs/heads/master | 2020-03-31T09:50:11.248755 | 2016-01-14T07:13:13 | 2016-01-14T07:13:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,113 | rd | readDcpRectangle.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% readDcpRectangle.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{readDcpRectangle}... |
92fcd2cfd7af7565626d2eb2acf8afd88b92efa6 | 12a97000d7e61c7d5ddaaa05873ff98ebd90b34e | /man/fit_model.Rd | eb1803fa31eef762d3dd55260d272894771cad2b | [] | no_license | ThierryO/testlme4 | 0900472348a12af209d8020ae83362b0974f1deb | d1ee848b719760a4896acbc5e35f69f6c1d80914 | refs/heads/master | 2020-04-06T04:30:37.865206 | 2015-03-23T16:42:08 | 2015-03-23T16:42:08 | 32,745,270 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | rd | fit_model.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/fit_model.R
\name{fit_model}
\alias{fit_model}
\title{Fit a poisson glmer}
\usage{
fit_model(formula, dataset)
}
\arguments{
\item{formula}{the glmer formula}
\item{dataset}{the dataset}
}
\description{
Fit a poisson glmer
}
|
8083738b8c02f6e27aa44f7fa151955127141186 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/genasis/examples/genplot.Rd.R | bced644e7bbcb452ea9b2ac6f1c68a3ce7e7865a | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,048 | r | genplot.Rd.R | library(genasis)
### Name: genplot
### Title: Plot of concentration time series
### Aliases: genplot
### Keywords: genplot
### ** Examples
## Definition of simple data sources:
c1<-c(0.386,0.256,0.182,0.254)
c2<-"fluorene"
c3<-c("2013-05-01","2013-06-03","2013-07-05","2013-08-07")
c4<-c("2013-05-08","2013-06-10","2... |
5bc84bdfff86192626e3c05ab84f9d209f7918f9 | 2da2406aff1f6318cba7453db555c7ed4d2ea0d3 | /man/undocumented.Rd | 8a801cc3b816b6c577ed58b8d8b61da11f967a25 | [] | no_license | rpruim/fastR2 | 4efe9742f56fe7fcee0ede1c1ec1203abb312f34 | d0fe0464ea6a6258b2414e4fcd59166eaf3103f8 | refs/heads/main | 2022-05-05T23:24:55.024994 | 2022-03-15T23:06:08 | 2022-03-15T23:06:08 | 3,821,177 | 11 | 8 | null | null | null | null | UTF-8 | R | false | true | 437 | rd | undocumented.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/undocumented.R
\name{undocumented}
\alias{undocumented}
\alias{grid.identify.points}
\alias{funvec}
\title{Undocumented functions}
\description{
These objects are undocumented.
}
\details{
Some are left-overs from a previous version of the bo... |
140cd41d4df5099e02c64e373212f235f7a3e3a5 | 05a9f722bfd91a75144ebf840f296f932b5baf20 | /BrestNewlyn/keyWestACREannualSLP.R | 5f4856d2ae3435395fff61f9b4a04812b10b7931 | [] | no_license | simonholgate/R-Scripts | 05118e4e92118a506eaf29bf6fa9aca4ea3f9477 | 89ab9ee9da1bbce10f4dc9a422259dda64748689 | refs/heads/master | 2020-05-17T14:48:02.345740 | 2012-06-21T11:19:58 | 2012-06-21T11:19:58 | 4,738,138 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,180 | r | keyWestACREannualSLP.R | ##****************************************************************************************************##
## Calculate annual mean SLP for Key West and San Francisco area using ACRE SLP data
##
##****************************************************************************************************##
##******************... |
9f39f61b6d49cf8094a458f943ec5b6302ced7ed | 1ea0969c88f299c5f97fd426cb0befe285adfc7e | /man/get_all_commits.Rd | ee71f03839be1aabdb57153bc1996d8002c8dd3e | [] | no_license | chapmandu2/gitscraper | b1e180fe46fc01314a79e969d9e1bbe8b47fb7b5 | 2f6bad9a705d79071ef829deb6bfa93ef1e0ce23 | refs/heads/master | 2020-04-21T18:35:33.218985 | 2019-02-08T12:04:14 | 2019-02-08T12:04:14 | 169,775,658 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 322 | rd | get_all_commits.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_all_commits.R
\name{get_all_commits}
\alias{get_all_commits}
\title{Get all commits}
\usage{
get_all_commits(git_repo)
}
\arguments{
\item{git_repo}{path to git repo}
}
\value{
data frame
}
\description{
Get all commits
}
\examples{
NULL
... |
6c6bae60d8292f3208064c9e8f939f529a4a853d | fe6cc44c3444421c510ec380118e92deb55b1564 | /class3-master/code.R | be0781817c6000577ab13049b1a6841aa62a2699 | [] | no_license | IlgizMurzakhanov/BDA | d5a9f0fe09f45a4fffd4eff256cc603eb6eabdc0 | 87cf6fbdde52fa53296488f269704e26fcb433a4 | refs/heads/master | 2021-04-08T05:41:47.741798 | 2015-12-19T19:50:10 | 2015-12-19T19:50:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,214 | r | code.R | #data <- read_rdump('data_file.data.R')
#fit <- stan("model_file.stan", data = data)
#print(fit)
#plot(fit)
library(rstan)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
options(width = 160)
data <- read_rdump('normal1.data.R')
fit <- stan("normal.stan", data = data)
print(fit)
plot(fit)... |
75d622b731178ad5c092297008f910d7fe0d11ef | fefc5800250818b2a53e1211cb83723af03ec82b | /reveals_handmade.R | 5d06baa0eb445be0e8741212514fc0fe12db085e | [] | no_license | mtrachs/reveals_test | 46c8b4968b251cd8ab4057035c25886672412d79 | ee4088ad812c45e79a2cf43585b21c7d194008be | refs/heads/master | 2020-03-19T08:17:00.630413 | 2018-06-05T15:33:17 | 2018-06-05T15:33:17 | 136,191,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,335 | r | reveals_handmade.R | library(zipfR)
library(rioja)
setwd('~/Reveals_NEUS/')
#--------------------------------------------------------------------------------------------------------------]
#function to estimate species dependent depositional coefficient
Ki <- function(b, R, zmax=400000){
ul1 <- b*(zmax-R)^(1/8)
ul2 <- b*(zmax+R)^(1/8)
... |
3df9bbe5db4f5f443f36854beb8774e1e408b370 | 06fc7cc5aa8aae3ded43c73a854c99be37ed25be | /RandomVariable/man/draw_nogen.Rd | 84a6c5c093e0740a4a260de4b08f03dd375d8b8c | [] | no_license | emadsalehi/R-package | 70c97acfa021f57c11365f3df9d74fb0bfd26003 | 1529223f72be9765d64bd46549fd0b924c25af40 | refs/heads/master | 2020-03-19T05:17:01.109380 | 2018-06-06T13:02:10 | 2018-06-06T13:02:10 | 135,916,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 266 | rd | draw_nogen.Rd | \name{draw_nogen}
\alias{draw_nogen}
\title{draw density plot of normal random variable}
\usage{
draw_nogen(u, s)
}
\description{
draw density plot of normal random variable with mean u and variance s:
draw_nogen(u, s)
}
\examples{
draw_nogen(60, 16)
}
|
a71d7132bff0c031d32885198bd7c516c04095ef | cd58a7407a07c4b846465c489e9f7c5ff41fc002 | /R/root_tree_in_outgroup.R | e38b35227f0007b07a6acd6419c30c00c4af3042 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | simeross/CuPhyR | e09c25c63bb5f8cf8800a87ecbafb971fbdca923 | a69819cb48d6e5f5ed982ae9ad8bb85f6c1d9347 | refs/heads/master | 2022-04-13T06:49:33.264968 | 2020-03-31T08:38:19 | 2020-03-31T08:38:19 | 241,898,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,760 | r | root_tree_in_outgroup.R | #' Root phylogenetic tree of a phyloseq object
#'
#' @description This funtion defines the leaf with the longest path as the root of the phylogenetic tree.
#' This makes results reproducible by avoiding the behaviour of some functions that would otherwise pick a
#' random leaf as the root of an unrooted phylogenetic tr... |
7fdea95ec3c5ac915a9cab15da9d54daca384a80 | ba0d52a9447cc2cedcaacafd8349fc50a32363b5 | /man/plotSurvGenderSeverity.Rd | 701375eda5afa3238f16c8df1e0b051a43d44140 | [
"CC0-1.0"
] | permissive | robschick/tangled | 49590a754531b8e50294abb4d86fcd9cc85d037c | e4c0e49fa87802dd39fba01dc4fba5cef25e7b31 | refs/heads/master | 2023-04-07T19:24:43.838552 | 2022-05-04T19:11:30 | 2022-05-04T19:11:30 | 33,547,111 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,303 | rd | plotSurvGenderSeverity.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotSurvGenderSeverity.R
\name{plotSurvGenderSeverity}
\alias{plotSurvGenderSeverity}
\title{Plot of Kaplan-Meier survival curve for all entangled whales.}
\usage{
plotSurvGenderSeverity(kmlines, censTicks, yearEnd, increment, legendLab... |
6f8c6cb2e0604c0ff474d789c311f68ec2c169c1 | e646416a1bbc302f73d2fdcbe78c5a8069e40fc8 | /random_foodwebs/info_food_webs.R | fb2e5e63391444e6e8c1ba18a27bfdf9fdf60e72 | [
"MIT"
] | permissive | jusinowicz/info_theory_eco | c0ef0c0f94eca2df3b7308098f05b72233261c43 | b0770b10464732aa32d13f46ba3c5ef958a74dcc | refs/heads/master | 2022-05-28T19:34:50.642858 | 2022-05-05T17:37:19 | 2022-05-05T17:37:19 | 140,295,569 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,627 | r | info_food_webs.R | #=============================================================================
# R code to create to explore the Information Theoretic properties of
# simple food webs. This creates a simple food web with an underlying dynamic
# model.
# 1. Food-web includes resource, herbivore, and predator:
# A. Resource is ba... |
9c1c990cfa4dffa7fbe1b7a45b41c8b6e7b5b489 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/biogeo/examples/edat.Rd.R | 33baa36668112e43aa008500b818a87bd4ad4fa5 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 202 | r | edat.Rd.R | library(biogeo)
### Name: edat
### Title: Species collection records dataset and environmental variables
### data
### Aliases: edat
### Keywords: datasets
### ** Examples
data(edat)
head(edat)
|
99695970907a3682c3e333eddff2a71cec5280f9 | 283409d2a37155d58855bc9be3b78e0ad7cdacb8 | /Assignment-1/5.R | 7a3759b15e659430d9187dbbe15349b6ba4cd7a7 | [] | no_license | VivianeLovatel/Brasil_2019 | ddca243336145336c94ce09ff97d1918bf67e95d | 82128b52ed7fa47d343cfaccf6da698f44e9883a | refs/heads/master | 2020-07-07T00:45:58.305182 | 2019-08-20T15:20:36 | 2019-08-20T15:20:36 | 203,190,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 166 | r | 5.R | numLions = 42
numTigers = 17
country ="South Africa"
a="is"
b ="The number of lions in"
c<-"The number of tigers in"
paste(b,country,a,numLions,c,country,a,numTigers) |
20e9eecec8e25b8ed149eb6a6dc01010cb908e5c | 541b8e18f977371bc002aa506489d6ab0dc6b165 | /man/r18S_cov_tbl.Rd | c5040f3377fa1a2697c280416db730282f8da0b7 | [] | no_license | hesselberthlab/endoU | 2c1953418eebac8f1bcca01bd6d64b59e67d0032 | bc926ec7b7368ccab93916a19c8d2a241b3c4eee | refs/heads/master | 2022-12-31T14:09:14.934835 | 2020-10-23T22:45:18 | 2020-10-23T22:45:18 | 151,328,734 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 364 | rd | r18S_cov_tbl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{r18S_cov_tbl}
\alias{r18S_cov_tbl}
\title{18S coverage table}
\format{An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 65736 rows and 7 columns.}
\usage{
r18S_cov_tbl
}
\descripti... |
7a0af2899b302027e26c3203dbf54125c46a77f0 | 9d9062f4972ca4eda10966882e8a35d7745b619c | /figures/defense/r-scripts/plotTraceUQPosterioTC216.R | 708b4bdf644d22065489dbf83bab915f664258db | [] | no_license | damar-wicaksono/wd41-thesis | 651abda4d1565745b15993f9d3c1ebd349e83bcc | 7af132b0d5755a702490970e64a8c2986bd00f45 | refs/heads/master | 2021-01-17T05:26:23.472518 | 2019-07-12T22:34:35 | 2019-07-12T22:34:35 | 60,852,652 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,954 | r | plotTraceUQPosterioTC216.R | #
# title : plotTraceUQPosterioTC216.R
# purpose : R script to create plot of UQ propagation using posterior samples
# : for TC output
# : FEBA Test No. 216
# author : WD41, LRS/EPFL/PSI
# date : Jan. 2018
#
# Load required libraries ----------------------------------------------------... |
eade0e4215ccc753881a36952489f5958d5d492f | 37db44bf803a83936031efd79a3727f8c5c2ab51 | /PK/server.R | a14fe31291029c8873b76fc53da2bf0372036d34 | [] | no_license | jeffwzhong1994/R-shiny-web | 81b226d03c1b491c5ee4472f8b15507c12d4d967 | b5c082de47593e2d3fdc6d8253cbc8bdf4d66729 | refs/heads/master | 2020-09-20T03:15:33.284097 | 2019-11-28T00:57:34 | 2019-11-28T00:57:34 | 224,364,866 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 717 | r | server.R |
server=function(input,output){
output$pk=renderDataTable({
library(dplyr)
library(lubridate)
data=read.csv("pk records.csv")
data$a.rtime=ymd_hms(data$a.rtime)-hours(16)
data$year = paste(year(data$a.rtime),"-",month(data$a.rtime))
data$year
data$a.rtime= as.Date(data$a.rtime)
data$a... |
b5f22dfc2630d855b9f02170ee45be598d4381a5 | 6b955291e90d4097e13c3808523e2d20b3a71398 | /man/Gini.Rd | 94b6cc85bb3020052875d8743c9c48f707053a89 | [] | no_license | cran/shipunov | 640f34408ae65c59a8fa655c23d01e5e86af38bc | 8cd6acac881f048a17ddafcfc414a4894fa02f63 | refs/heads/master | 2023-03-16T23:19:10.341396 | 2023-02-05T13:42:56 | 2023-02-05T13:42:56 | 185,279,307 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,269 | rd | Gini.Rd | \name{Gini}
\alias{Gini}
\title{Compute the simple Gini coefficient}
\description{
Computes the simple Gini coefficient of unequality
}
\usage{
Gini(x)
}
\arguments{
\item{x}{a numeric vector with non-negative elements}
}
\details{
Gini coefficient is a common measure of inequality. Here it presents only
f... |
34662d734a7fd2b67d6687211666ed3eb519f1a1 | 3ef1867d88291165d60c1189f84a27fb04ab1b7c | /exam/exam2_Q2.R | 41a5536f448d5eb1e789840f12d467db3a80f51b | [] | no_license | dalsgit/510 | d319476b7ba1e2319c91c55f9d010749bb926a65 | 04af567cf4339edebd2d09ca8982183a59d01d3f | refs/heads/master | 2021-01-19T09:03:52.182561 | 2017-05-15T20:11:40 | 2017-05-15T20:11:40 | 82,082,671 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 825 | r | exam2_Q2.R | setwd("C:/study/psu/git/510/exam")
library(astsa)
y=ts(scan("e2q2.txt"))
plot(y,type="b")
diff1 = diff(y,1)
plot(diff1,type="b")
model = ts.intersect(y, lag1y=lag(y,-1))
x = model[,1]
P = model[,2]
c = -86 ## Threshold value
##Regression for values below the threshold
less = (P<c)
x1 = x[less]
P1 = P[less]
out1 = lm... |
b397c046b66223ac297a1119571f15956cd1a9a7 | 22c8c61fd3f43093dba2ca6320804ec726c7a7e5 | /1_linear_model_miRNA_mRNA.R | 40c5c51b1a4ca0fa907989acff08c7c782b28bc6 | [
"MIT"
] | permissive | rwindsor1/miRNA_hallmarks_of_cancer | add8d92ba2f143ac282604377a25e355831f7733 | 0c6e504033ef3d79ef642fa8a8f339feb4f20ad6 | refs/heads/master | 2020-04-23T07:14:32.169467 | 2018-10-10T01:53:38 | 2018-10-10T01:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,928 | r | 1_linear_model_miRNA_mRNA.R | #linear model of miRNAs predicting various signature scores
library(RankProd)
library(reshape2)
library(penalized)
cancer_types_list <- list();
cancer_types_list[[1]] <- c('BRCA','UCEC','HNSC')
cancer_types_list[[2]] <- c('KIRC','LUAD','THCA')
cancer_types_list[[3]] <- c('PRAD','LUSC','OV')
cancer_types_list[[4]] <- ... |
5b9bf8a8d356d8ab6a96eeba958404572ce555c0 | 1cb097e8ead264823dac5e5e8821ebd6132da64d | /R/utils.R | 5deb022b80ae47994062a0a2d62a0eaa40bb897e | [] | no_license | impact-initiatives/koboAPI | 2cd41c1655364ae8977e12a5ae4255f5908f5a2b | 91b802a44edf92ba6d9eb192148d7267bce87b1b | refs/heads/master | 2021-05-19T07:04:23.139014 | 2020-01-08T14:57:46 | 2020-01-08T14:57:46 | 251,577,490 | 0 | 1 | null | 2020-03-31T11:00:55 | 2020-03-31T11:00:54 | null | UTF-8 | R | false | false | 488 | r | utils.R | #' @name nullToNA
#' @rdname nullToNA
#' @title Replaces NULL values by NAs
#' @description Replaces NULL values by NAs
#' @param x Vector to be treated
#' @return Returns the vector with NULL replaced
#' @author Elliott Messeiller
#'
#' @export AddstartCol_SelectMultiple
nullToNA <- function(x) {
x[sapply(x, is.nu... |
c85c1756b40b634060fb71a7ba7ee614664c8077 | e7ea72b1750bb43c6ec4ad9c12479cb9c93681ba | /week2/moneyball.R | a8db134964ea82824baec086862307bc99e4dff0 | [] | no_license | scholarly/ae | 0ea867c7b53f5a396bc536df6950fc3e3888ad82 | 566ebcfd1419fba25698b7835554cbe46f308edf | refs/heads/master | 2021-01-01T19:46:33.204250 | 2015-04-27T23:55:43 | 2015-04-27T23:55:43 | 31,639,688 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 782 | r | moneyball.R | baseurl = "https://courses.edx.org/c4x/MITx/15.071x_2/asset/"
files = c( "baseball.csv")
get_data = function(url,local){
if(!file.exists(local)){
download.file(url,local,"curl")
}
read.csv(local)
}
data_dir = function(fname){
paste("data",fname,sep="/")
}
getm = function(file){
get_data(paste(baseurl,... |
3d2d73da9b69160e6c5122e8a2745b8a942620a4 | 860979ede989eec54b804e18c023a84f1b196ceb | /cachematrix.R | 17966d1ffce838cba09eb5b222feceb3a2ebb0a2 | [] | no_license | oveedl/ProgrammingAssignment2 | 705366e8aac50d9f34b35f6045a99365ff43a356 | c691d388b1a82a1dd6be98c28dbf8f35f60124f6 | refs/heads/master | 2021-01-14T11:25:52.433109 | 2015-10-18T08:21:15 | 2015-10-18T08:21:15 | 44,273,977 | 0 | 0 | null | 2015-10-14T20:18:52 | 2015-10-14T20:18:52 | null | UTF-8 | R | false | false | 1,321 | r | cachematrix.R | ## This set of functions handles an object for storing a matrix and
## and its inverse. The inverse is only calculated when it is asked
## for, and then stored in a cache to avoid more computational work
## if it should be needed again.
## Create a CacheMatrix object containing a matrix and an empty
## placeholder f... |
313bf207b976254ddd1155cde46e56f8ff057cb9 | fafb9d8b9c02b4a5dc6bad0021107feb8abdbef6 | /man/change_speed.Rd | 268f8bb19f8cd6bc7641532e2b186f565418a3c4 | [
"MIT"
] | permissive | UBC-MDS/AudioFilters_R | e8bdf710796961bd9eef13ba99962ea6d5318259 | ffd77322b38d889104692152d7ca941cd3cbd2de | refs/heads/master | 2020-04-21T04:42:03.806263 | 2019-03-09T04:11:31 | 2019-03-09T04:11:31 | 169,320,277 | 1 | 2 | MIT | 2019-03-07T18:22:18 | 2019-02-05T22:02:43 | R | UTF-8 | R | false | true | 587 | rd | change_speed.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/change_speed.R
\name{change_speed}
\alias{change_speed}
\title{Change the playback speed of an audio signal}
\usage{
change_speed(input_signal, rate)
}
\arguments{
\item{input_signal}{numeric}
\item{rate}{numeric, desired rate of change to t... |
8b30374a89723d3185be008a19e72c56841f685b | d4638aa62f44afebf5234eff1e6977b3c0738d3d | /man/market.api.process.Rd | e727cb82d424e9f60871a8590add6e448e785be7 | [
"MIT"
] | permissive | cran/Rbitcoin | 549137db2d433674021ee54908e5882d0da2016e | a3f72a513fa20076daff1c1d8d4fdf9014e41243 | refs/heads/master | 2020-05-20T09:22:30.013880 | 2014-09-01T00:00:00 | 2014-09-01T00:00:00 | 17,693,080 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,930 | rd | market.api.process.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{market.api.process}
\alias{market.api.process}
\title{Process market API}
\usage{
market.api.process(market, currency_pair, action, req = list(), ...,
verbose = getOption("Rbitcoin.verbose", 0),
on.market.error = expression(stop(e[["message"]], call. = FALS... |
584fbe394dbdb8ced0e7c1e8fa52de6de982d857 | 6526ee470658c2f1d6837f7dc86a81a0fbdcffd5 | /man/setPodsMatrix.mwIPM.Rd | 8747d4d60998f9995ac616cf0142994b466f3bde | [] | no_license | mdlama/milkweed | c7e8a24021a35eb6fbef13360400d2d4069b4649 | b791c8b39802f33471f8e827f369afa47c06d6af | refs/heads/master | 2023-09-06T03:00:45.554997 | 2022-09-14T15:25:58 | 2022-09-14T15:25:58 | 76,479,540 | 0 | 0 | null | 2021-09-21T19:04:44 | 2016-12-14T16:59:01 | R | UTF-8 | R | false | true | 477 | rd | setPodsMatrix.mwIPM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mw_ipm.R
\name{setPodsMatrix.mwIPM}
\alias{setPodsMatrix.mwIPM}
\title{Create pods matrix.}
\usage{
\method{setPodsMatrix}{mwIPM}(obj, update = TRUE, perturb = rep(0, 4))
}
\arguments{
\item{obj}{A mwIPM model object.}
\item{update}{Update d... |
516e27e03cf2674661955a26536217ed968da41f | 6c321997b2237e3432ebc89866e47c5636e8ccde | /man/stratifiedSamplingForCV.Rd | 020b6b8cd1e59f3ae5f1abe60a61dd72f47b3ac8 | [] | no_license | cran/coca | e37d4a524d58e47400158ac4cfea0ea10570038e | 2baeffda08df37be4aa3b0638f99e00869a49a37 | refs/heads/master | 2021-05-16T23:21:41.927083 | 2020-07-06T16:00:09 | 2020-07-06T16:00:09 | 250,513,558 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 645 | rd | stratifiedSamplingForCV.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fill-moc.R
\name{stratifiedSamplingForCV}
\alias{stratifiedSamplingForCV}
\title{Divide data into 5 subsets using stratified sampling}
\usage{
stratifiedSamplingForCV(response)
}
\arguments{
\item{response}{Vector of categorical responses}
}
... |
67d3bec99b99b3d4407f9dd1199c4febb1ef612b | 1d8ca36b20ffe9dc150803662434fe8e04c52b5d | /607/Projects/Porject 3/Data-607-Project-Three-Dan-Branch/Data-607-Project-Three-Dan-Branch/textmining 210322 2032.R | df8d450dd54be9f4d006617fbc0743e15c187069 | [] | no_license | zachsfr/Cuny-SPS | 5842c51b7594b2e8da6f90125ce712ec78eed6e6 | de707926e72996622f9eb63de38713f03b5f9db6 | refs/heads/main | 2023-05-27T14:08:29.826608 | 2021-06-07T19:27:21 | 2021-06-07T19:27:21 | 336,085,896 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,577 | r | textmining 210322 2032.R | #This script takes atlanta, a folder of txt job descriptions for data scientists. It generates ds_skills_df, a dataframe. ds_skills_df has 1 row for each job listing in atlanta, and one column for each term in ds_skills_list. The value in each cell is the number of appearances of the column name in the listing.
librar... |
8bfe96da1ef63ec3d112f099c41e56a9fa12c376 | d746fef241f9a0e06ae48cc3b1fe72693c43d808 | /ark_87287/d74s4s/d74s4s-018/rotated.r | 9c2f9abf140f526bce22944a801a2a1f27067859 | [
"MIT"
] | permissive | ucd-library/wine-price-extraction | 5abed5054a6e7704dcb401d728c1be2f53e05d78 | c346e48b5cda8377335b66e4a1f57c013aa06f1f | refs/heads/master | 2021-07-06T18:24:48.311848 | 2020-10-07T01:58:32 | 2020-10-07T01:58:32 | 144,317,559 | 5 | 0 | null | 2019-10-11T18:34:32 | 2018-08-10T18:00:02 | JavaScript | UTF-8 | R | false | false | 195 | r | rotated.r | r=0.46
https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d74s4s/media/images/d74s4s-018/svc:tesseract/full/full/0.46/default.jpg Accept:application/hocr+xml
|
f91d7286520d167f58ac7538b510eb6cd726818a | e189d2945876e7b372d3081f4c3b4195cf443982 | /man/show_samples.Rd | 78f112112fc985a9ee69d63450fb1b8c4f931fcd | [
"Apache-2.0"
] | permissive | Cdk29/fastai | 1f7a50662ed6204846975395927fce750ff65198 | 974677ad9d63fd4fa642a62583a5ae8b1610947b | refs/heads/master | 2023-04-14T09:00:08.682659 | 2021-04-30T12:18:58 | 2021-04-30T12:18:58 | 324,944,638 | 0 | 1 | Apache-2.0 | 2021-04-21T08:59:47 | 2020-12-28T07:38:23 | null | UTF-8 | R | false | true | 765 | rd | show_samples.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/icevision_utils.R
\name{show_samples}
\alias{show_samples}
\title{Show_samples}
\usage{
show_samples(
dls,
idx,
class_map = NULL,
denormalize_fn = denormalize_imagenet(),
display_label = TRUE,
display_bbox = TRUE,
display_mask =... |
1f15d8a0b220c92de942a2c6f762ffd945d01c58 | b77b91dd5ee0f13a73c6225fabc7e588b953842b | /shared_functions/calculate_nndist_all_lg.R | 23cc089ae6f7caa88ecf8f99bebc6acc68b7b0bf | [
"MIT"
] | permissive | ksamuk/gene_flow_linkage | a1264979e28b61f09808f864d5fa6c75568147b0 | 6182c3d591a362407e624b3ba87403a307315f2d | refs/heads/master | 2021-01-18T09:18:02.904770 | 2017-04-02T16:51:40 | 2017-04-02T16:51:40 | 47,041,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,471 | r | calculate_nndist_all_lg.R | calculate_nndist_all_lg <- function (stats.file, num_permutations, trace = FALSE) {
## first, build null distributions of nndists for each linkage group:
nnd.stats <- list()
for (j in unique(stats.file$lg)){
if(trace){cat(paste0("LG ", j, "..."))}
# subset for lg j
stats.file.lg <- stats.file %>%
fil... |
a8aeb00dac6753c6cc2d6dac44d7d48bc07de9d6 | 318db4587504dba25316efb0f68ea49ec1279914 | /DTRfunction_Feb2013.R | af16cca6b202fbee38e9271568ef8b9cc2345d0c | [] | no_license | lbuckley/BuckleyetalFE2015 | 84b74299dab90145bb2e808dae150077edd54946 | 3e85de8db094600e980de19ee0f04ca52e354193 | refs/heads/master | 2016-09-03T00:55:14.116232 | 2015-10-28T20:04:08 | 2015-10-28T20:04:08 | 31,223,798 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,130 | r | DTRfunction_Feb2013.R | # library( fields)
#library( evd)
#library( evdbayes)
#library( ismev)
library(chron) #convert dates
#library(gdata)
#library(maptools)
#library(spdep)
#Function to calculate Parton and Logan 1981 diurnal variation
#truncated sine wave to predict daytime temperature changes and an exponential function to predict nig... |
cd3f4123681d668abe93aa7ddef6af1f38102751 | 9efa3d105b7323709cf9157226054e4bf91afeaa | /Scripts/Model/3d plotly.R | 606e30e735cc98f3926c535fd939a2101bef0429 | [] | no_license | jachuR/WiFi-project | 065c24b1d0a50cd53addfef7401de5a6449b4e68 | 6d3828323ec16963a78f94d25513b4d2e61fb052 | refs/heads/master | 2021-02-07T08:51:53.296147 | 2020-02-29T17:53:41 | 2020-02-29T17:53:41 | 244,005,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,067 | r | 3d plotly.R | map_errors_training <- readRDS(file = "Data/Results/FinnalTable_F_C.RDS")
#map_errors_training - można znaleźć w X1_floor_S
p <- plot_ly(map_errors_training %>% filter(FLOOR <2), x = ~LONGITUDE, y = ~LATITUDE, z = ~FLOOR,
marker = list(color = ~WAP310, colorscale = c('#FFE1A1', '#683531'), showscale = T... |
92ac6ca1cbda4216e2801485d557c647f3ed70cb | 135f8eed2aa58a1776c5b24a72aa95a50c81d3c4 | /man/components.fbl_prophet.Rd | d2d5db8cd78a00dedaa31691c99f820cd5bcf976 | [] | no_license | mitchelloharawild/fable.prophet | f1ce81baafc923fa730fb584ffd9edf78b304780 | 6d3c4ac596dda43b7c457a62c59256b3fda59db8 | refs/heads/master | 2022-09-15T18:37:15.686104 | 2022-09-02T02:27:13 | 2022-09-02T02:27:13 | 162,971,323 | 59 | 9 | null | null | null | null | UTF-8 | R | false | true | 1,267 | rd | components.fbl_prophet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model.R
\name{components.fbl_prophet}
\alias{components.fbl_prophet}
\title{Extract meaningful components}
\usage{
\method{components}{fbl_prophet}(object, ...)
}
\arguments{
\item{object}{An estimated model.}
\item{...}{Unused.}
}
\value{
A... |
0c93f374b6d21e3dd4df3115766a0efa7aa02920 | fab4e7ad290309d0028e8de349d262519b705ef0 | /gene_constraints/plot/use_density.R | d8c44262c0e1b2433726f7d4f36d4037021091da | [] | no_license | michaelbarton/michael-barton-thesis-figures | f4f3eb5937983b13c0b081cbc1b69d8228f436fd | 7e0ad7de773cd5156209458b56ba3e2bc5915100 | refs/heads/master | 2016-09-11T04:09:10.956144 | 2009-08-17T15:42:57 | 2009-08-17T15:42:57 | 86,110 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 441 | r | use_density.R | rm(list=ls())
library(lattice)
source('helpers/find_replace.R')
source('helpers/flux_data.R')
data <- flux_data()
data <- subset(data, value > -16)
plot <- densityplot(
~ value | setup,
groups = variable,
bw=1,
xlab="Absolute reaction flux (log.2)",
auto.key=TRUE,
data=data
)
postscript("results/use_dens... |
74f6f7787d01eb936fe90f614918c6b5de9df309 | 3ed96bb9a7e7e0ed668b2fc05d29311ac4756a5d | /clases/M1_clase2_r-base.R | 7e32218e6811583922fb65ff7f9afe2907871236 | [] | no_license | JulioCursos/analisis_reproducible_iibp | ccababc0e55f205d0bee2e37e107063f37e36c56 | 5fb83e1e6e7908fab7873288a483e007da4248d5 | refs/heads/main | 2023-05-03T06:49:14.143767 | 2021-05-26T17:59:58 | 2021-05-26T17:59:58 | 371,774,381 | 0 | 0 | null | 2021-05-28T17:31:01 | 2021-05-28T17:31:00 | null | UTF-8 | R | false | false | 7,480 | r | M1_clase2_r-base.R |
############-----------CLASE 2. R-BASE----------############
# CONTENIDO:
# 2.1. Directorio de trabajo/ Espacio de trabajo
# 2.2. R como calculadora
# 2.3. Objetos
# 2.4. Estilos para comentar, nombrar archivos, objetos
# 2.5. Tipos de datos (numericos, caracter, factor, logico),
# 2.6.Estructura de datos (vecto... |
20ad0fb2302eb8da3d95a62159ed069264ced541 | 888eb6041144ac34c7ed0d17684f856a4e3b95fd | /R/compare_designs.R | eb704e84900d254a884835bddb27b1c687b6c21a | [] | no_license | reuning/DeclareDesign | c5ae645ae7e661469ff4c9a54f252c69619b2e51 | b089b97397c6d95f334c129fdc0fb8fccb00d4d6 | refs/heads/master | 2023-08-19T19:30:45.244887 | 2021-10-17T13:11:15 | 2021-10-17T13:11:15 | 417,950,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,914 | r | compare_designs.R | compare_partial <- function(FUN, DIFFFUN, is_data = FALSE){
if(is_data){
function(design1,
design2,
format = "ansi256",
mode = "auto",
pager = "off",
context = -1L,
rmd = FALSE) {
stopifnot(requireNamespace("diffobj"))
... |
a9528fc4e434e799cc3cee0e0fc5b993e20ff016 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PivotalR/examples/null.data.Rd.R | d7197ac8dc7fe5f0cd884fe6bb85b0a5a17d5a30 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,219 | r | null.data.Rd.R | library(PivotalR)
### Name: null.data
### Title: A Data Set with lots of 'NA' values
### Aliases: null.data
### Keywords: database data operation
### ** Examples
## Not run:
##D
##D
##D ## set up the database connection
##D ## Assume that .port is port number and .dbname is the database name
##D cid <- db.connec... |
e6c2dcb36f1efa257cc05e9d6dafb9803272b1da | 0f413fffdd3a6f7d740e64ff125875a0992deebc | /global.R | f38f72ca74ea66fb92614b55a5abaae68dcefd7e | [] | no_license | CEREMA/appli_conso_espace_doubs | 461820251a7df15cbc24b7984a7414b6c3d12de9 | 57fb3044dd08a45da1d364bfd6258f9292ff7d00 | refs/heads/master | 2021-12-06T11:46:40.058287 | 2021-06-16T15:15:11 | 2021-06-16T15:15:11 | 373,520,341 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,203 | r | global.R | #
# APPLI DE VISUALISATION DES ENVELOPPES BATIES DU DOUBS
#
#
library(sf)
library(DBI)
library(rgdal)
library(RSQLite)
library(plotly)
library(leaflet)
library(leaflet.extras)
library(shiny)
library(data.table)
library(shinydashboard)
library(shinyWidgets)
library(RColorBrewer)
library(lwgeom)
lib... |
d4994854947ea808e5ba005522882397f514935c | e0eba6a80fe2b5e346829f0d6f0c90d4748af58d | /data_creation.R | ca067558e38ed4f93244cf7f3a1be957747acb12 | [] | no_license | argyelan/MRI | ddcd33f077f6701e41c7a0d9471cfc37288b77aa | fdd3c05bc85f84eb22e28b3ec87a2f68c60dbe06 | refs/heads/master | 2020-06-20T21:28:23.542187 | 2019-07-26T16:25:12 | 2019-07-26T16:25:12 | 197,256,016 | 0 | 0 | null | 2019-07-26T16:25:13 | 2019-07-16T19:33:17 | R | UTF-8 | R | false | false | 2,283 | r | data_creation.R | #**************************************#
# Script to create the data file to be handled#
#**************************************#
#Edit file directories if needed
library(data.table)
library(corrplot)
library(dplyr)
file <- '/nethome/rkim/hcp_example/example3/Nodes.nii' #Import data
x <- paste0('fslstats ',file,' -R'... |
3d02ebf2f68406e1af2f3b1a2849323ce812fe85 | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /inst/apps/figure2_5/server.R | 31d74e052bea67befcfefd6daa579b36c584879b | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 185 | r | server.R | server = function(input, output, session) {
observeEvent(input$evalfig5, {
output$plotfig5 <- renderPlot({
return(isolate(eval(parse(text=input$fig5plot))))
})
})
|
96fd7e69352686539bbdc2bbcbff6453f61e5fe0 | 375b0780581873c3d5ec6035a5f1d4227f0f1bea | /tests/testthat/test.vig.R | 18d6d27d82c4290b6c2431761d7025fad1f57cf5 | [] | no_license | cran/odds.converter | e7d5d3498410277e6eee1667324300c8f2e3efd8 | 335a2c09ec76b5f8b33ff0f8a7da4a9ebff4dbbd | refs/heads/master | 2021-01-10T13:14:56.227086 | 2018-06-01T11:29:53 | 2018-06-01T11:29:53 | 36,883,159 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,488 | r | test.vig.R | us <- c(-110, -120, -110, -100)
probs <- c(11/21, 6/11, 11/21, 1/2)
vigs <- c(1/22, 1/23)
# US input
expect_equal(odds.vig(us[1], us[3]), vigs[1])
expect_equal(odds.vig(us[c(1, 3)]), vigs[1])
expect_equal(odds.vig(us[c(1, 3, NA)]), NA_real_)
expect_equal(odds.vig(home = us[c(1:2, NA)],
away = us[... |
45f3c3e631345cfe5c9e11163c0fba49d9a624d0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DiagrammeR/examples/select_edges_by_node_id.Rd.R | b9df8ff21be25c0d5eb0091d991db8bfaf6cb7cf | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 848 | r | select_edges_by_node_id.Rd.R | library(DiagrammeR)
### Name: select_edges_by_node_id
### Title: Select edges in a graph using node ID values
### Aliases: select_edges_by_node_id
### ** Examples
# Create a graph with 5 nodes
graph <-
create_graph() %>%
add_path(n = 5)
# Create a graph selection by selecting edges
# associated with nodes `1` ... |
f81b1bd06f179e684783beca62086558e66e435d | 9c54073b91052e69fcea27c7c7b685e0d12ae6d6 | /CMPT318/Assignment1/Untitled.R | 24412a0a058204bc45e7b1b40d108f64a046df39 | [] | no_license | yifanliu98/gitSFUBowen | b271b70867fa351717ce5fccda62d7fa974aafde | 00a46d36bb78aa602ed278844ddef3409cf7204a | refs/heads/master | 2022-02-24T07:57:11.145612 | 2019-09-19T05:45:48 | 2019-09-19T05:45:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 605 | r | Untitled.R | dataset <- read.table("Dataset1.txt", header=TRUE, sep=",") #525600 with NA values
require( lubridate )
library("depmixS4")
dataset <- na.omit(dataset) #521860 with na values omitted.
dataset$Date <- as.POSIXlt(dataset$Date, na.rm = TRUE, format ="%d/%m/%y")$wday
sunday <- dataset[which(dataset$Date == 0),]
sunday$Tim... |
d7db935686efede3e34c8bc7bb6a31da19199107 | 8944a932cf6b08d91e2975f4344598ebf15f03b2 | /man/KmeansClust.Rd | 5fbeab3222d1c3595fd28b874a175bc3750a2df1 | [
"MIT"
] | permissive | admurali/self | c830e8b486435f1503c2a3999035105c3dc0bf3d | 112a723f6d388ac9323902407c88425d5ea38315 | refs/heads/master | 2020-05-30T23:24:11.664562 | 2016-12-15T07:53:04 | 2016-12-15T07:53:04 | 59,989,165 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,093 | rd | KmeansClust.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kmeans_clustering.R
\name{KmeansClust}
\alias{KmeansClust}
\title{K-Means Clustering}
\usage{
KmeansClust(data, x, y, cluster, rstart = 1)
}
\arguments{
\item{data}{is the dataset containing the observations.}
\item{x}{is a reference to a co... |
3fe203018d6a8ac74cb870e6acf7bd4cfacb00c6 | a7f19a71d2bfb2fc3294d3aaae3be1aef6aafe3b | /Econometria/Trabajo_final.R | c3d24d19fed35337e75058260926684b4f301838 | [] | no_license | ArturoGon/Master | d3fe89e50964a51cc43cffe255e853f45e881a8e | 322a8d9c36d9bb4ff81591885f219d0e03056b0c | refs/heads/main | 2023-06-02T08:06:13.664904 | 2021-06-14T09:54:30 | 2021-06-14T09:54:30 | 376,586,518 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,291 | r | Trabajo_final.R | rm(list=ls())
cat("\014")
library(wooldridge)
library(ISLR)
library(leaps)
library(stats)
library(ggcorrplot)
library(RColorBrewer)
library(tidyverse)
library(glmnet)
library(pls)
library(caret)
library(MLmetrics)
library(car)
library(selectiveInference)
library(covTest)
library(hdm)
attach(discrim)
... |
d5209c496715bd41d7897702ef6e4466091e796d | 22f93d06424cbeeb1343623c20b1256aae2a08df | /classwork1/R-intro1_classwork.R | cbebf5fc92bc125eba0c38190cf43c7844cebf0e | [] | no_license | normall777/MyDataAccessMethods | fedfc6c7814ec75a8cc7561d32186d1e2209203d | 4c78903f2a5962082693f92303c0ddcbfd1079b9 | refs/heads/master | 2020-03-29T07:13:21.849549 | 2018-12-17T22:22:46 | 2018-12-17T22:22:46 | 149,657,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,441 | r | R-intro1_classwork.R | 1234+4567
29-45
325/25
56*12
11*11
111*111
1111111*1111111
options(digits=14)
options(width=40)
5:32
1:10
(1:10)+3
(1:10)-3
(1:10)*3
(1:10)^2
(1:10)^3
3:4
31 %% 7
31 %/% 7
7*4 + 3
x <-c(4, 1, 8, 9)
y <-c(6, 2, 4, 3)
plot(x,y);
lines(x, y)
x <- 1:10; y <- x^2;
plot(x,y)
plot(x,y);
lines(x,y)
learn... |
184ac0fbe82633047d548e5f99c961d4d2ca77c1 | 60f1af254960315177c12f81558260d747582dc1 | /codes/R/get_genebody_from_gtf.R | 1254961d2fa584da7eca8c93258cccaa3a965ba4 | [] | no_license | 15101538237ren/tcga | 4f1dd60ca524aa770a72380fec4081e0aeba02c6 | be81c473c15aa669a704598600f1d21e7df0b1a6 | refs/heads/master | 2021-09-07T16:20:42.789796 | 2018-02-26T01:36:11 | 2018-02-26T01:36:11 | 113,286,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 858 | r | get_genebody_from_gtf.R | library(GenomicFeatures)
data_path = "~/PycharmProjects/tcga_raw_data/GRCh38/"
out_path = "~/PycharmProjects/tcga/global_files/"
txdb <- makeTxDbFromGFF(paste(data_path, "Homo_sapiens.GRCh38.90.gtf",sep = ""), format="gtf")
genes <- genes(txdb)
gene_df <- as.data.frame(genes)
ensembl_ids<-gene_df[,6]
library(biomaRt)
m... |
2b53022345283a6c5526dc6e1c8dee03dea0758d | f9e5ae04eae16761374e5c92f69db4a50f4fb34e | /R/NetworkView.R | 7f1f05da0049df6f37dc804a4f4df1ef7fab21f3 | [
"Apache-2.0"
] | permissive | PriceLab/TrenaViz | f09ddc1ff6fc0e824890c833b55cced05e67a90a | b88f6785ed6efa398863d697fa83d64201059061 | refs/heads/master | 2021-07-22T15:40:47.936451 | 2020-04-29T18:29:42 | 2020-04-29T18:29:42 | 159,706,619 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,618 | r | NetworkView.R | #' import shiny
#' import cyjShiny
#' import TrenaProject
#' import graph
#' @name NetworkView
#' @rdname NetworkView
#' @aliases NetworkView
#------------------------------------------------------------------------------------------------------------------------
# library(TrenaProject)
# library(cyjShiny)
#-----------... |
f63252f044500e005838ad11d22162144d216d8a | a87349aeb0fe7ec8264f159731c413ab4f9bded5 | /project/etl/model.R | f822bf8122ecf566bc3255e81a399104999c3a3f | [] | no_license | ivan-rivera/EndOfMe | 08bd5598206624cdf5b0d59eb9caa6e9cdde6f00 | fdddd2b4ac8fc9b01a5f5f8497c4e4ed25fa0b57 | refs/heads/master | 2021-08-28T03:41:12.151848 | 2021-08-09T18:30:41 | 2021-08-09T18:30:41 | 207,624,691 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,013 | r | model.R | # ================================
# Modelling
# ================================
#' Build and evaluate models
#'
#' @param sleep_collection list with processed sleep datasets
#' @param response_vars vector of strings that currently supports the default values only
#' @param recent_data_for_validation boolean, if tru... |
499dca05810e503030cb313c585804b231af3a58 | a3b61b2926f9cf93af8fd7f774c2ca1323f56e12 | /R_scripts/DE_genes_bar_chart.R | a998774f0723a3081155bb19a89d1f8b750a462f | [] | no_license | kerrimalone/AlvMac | 77542b414e655bff2a84fc4e3fc93a753277a0df | dfbb9acffd90c7d3d24615232ba780ab6e0b6bab | refs/heads/master | 2021-01-11T13:54:36.028650 | 2017-06-20T13:58:35 | 2017-06-20T13:58:35 | 94,886,756 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,221 | r | DE_genes_bar_chart.R | ###############################
# Load required packages #
##############################
library("ggplot2")
#http://stackoverflow.com/questions/38268741/geom-bar-ggplot2-stacked-grouped-bar-plot-with-positive-and-negative-values-p
###############################
# Read in and manipulate data #
#################... |
f9da7f61beb6afc5eaceab48bcbd69d28559b81d | efcf5fd4b6137da8e32d69c73de74d806d5db630 | /R/getAuthenticationKey.R | c3e64dbf2a43565a8c8959b8d3a8751824fc4201 | [] | no_license | bestdan/telegramr | 49c785a3fbb8457b90c253ac15ea7d538b9357f6 | dcf617e29f99b87de2b075111daf2a4e06099fb9 | refs/heads/master | 2021-08-19T17:30:10.508546 | 2017-11-27T03:03:14 | 2017-11-27T03:04:19 | 112,140,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 476 | r | getAuthenticationKey.R | #' @name getAuthenticationKey
#' @title getAuthenticationKey
#' @description Get a local authentication key for interacting with Telegram
#' @param bot The yaml block which corresponds to your key.
#' @importFrom yaml yaml.load_file
#' @examples
#' \dontrun{
# res <- getAuthenticationKey(bot="life_tasker")
#' }
getAu... |
3eab1135b9dbeed95f24f7d4fc38fee05fd11f32 | 29585dff702209dd446c0ab52ceea046c58e384e | /cocorresp/R/coca.formula.R | 01ade955390c3dc7b5a6cd01054346a0f969b690 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,717 | r | coca.formula.R | "coca.formula" <-
function(formula, data, method = c("predictive", "symmetric"),
reg.method = c("simpls", "eigen"), weights = NULL,
n.axes = NULL, symmetric = FALSE, ...)
{
parseFormula <- function (formula, data)
{
Terms <- terms(formula, "Condition", data = data)
fl... |
d7e9097491cb2cd44e26f6a354d1b6b748809cb5 | 910060d06b6c929bd49be80e2d2044e4e691fc0a | /R/R Scripts/Bioestadistica-R_03_Tratamiento_de_datos_en_R.r | e278d6b584bafa2ec71044f1c346d7de724c9338 | [] | no_license | Rodrigo-MP/Masterbioinfo | 701b28e7cdbf4f28ce6b2d7d6d3aa6ca7433f8ff | 272d9a99b4e7dd4b14241e94c4bee7f9ccdbd985 | refs/heads/master | 2020-08-31T01:17:21.541780 | 2019-11-19T19:13:14 | 2019-11-19T19:13:14 | 218,543,989 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 4,784 | r | Bioestadistica-R_03_Tratamiento_de_datos_en_R.r | ################################################################################
################################################################################
## CURSO: Bioestadística con R - Máster de Bioinformática
##
## Autor: Jesús Herranz
##
## Sesión 03: Tratamiento de datos con R
##
#######... |
589daf830190a5543fa76a51301ecd6e7805bd09 | 54b4976030ae6a42e10282c8f41609ef266721c9 | /R/ecd-package.R | 0f11f539b91b4b3f44e8cfea0b21b10296083ee1 | [] | no_license | cran/ecd | b1be437b407e20c34d65bcf7dbee467a9556b4c1 | 18f3650d6dff442ee46ed7fed108f35c4a4199b9 | refs/heads/master | 2022-05-18T20:24:56.375378 | 2022-05-09T20:10:02 | 2022-05-09T20:10:02 | 48,670,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,516 | r | ecd-package.R | #' ecd: A package for the stable lambda distribution family.
#'
#' The ecd package provides the core classes and functions for the stable lambda distribution family.
#' The stable lambda distribution is implemented in \code{\link{dsl}} section.
#' The lambda distribution uses the \code{ecld} namespace. SGED is consider... |
359bc16c0415e60950691c7072c0b49c4e6841c6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/provenance/examples/minsorting.Rd.R | b556e77007bc20e588046873e54807f80f492f0c | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 351 | r | minsorting.Rd.R | library(provenance)
### Name: minsorting
### Title: Assess settling equivalence of detrital components
### Aliases: minsorting
### ** Examples
data(endmembers,densities)
distribution <- minsorting(endmembers,densities,sname='ophiolite',phi=2,
sigmaphi=1,medium="seawater",by=0.05)
plot(dis... |
ac012aed3fd295150526110c53e2f6c3d246c68c | cbf60188ccba4933635055f23c97af3f409e42aa | /Danica_Ex04_01.R | df2c1f2926e6768975f73e96ca6fff72278ec772 | [] | no_license | dshipley2/Learning_R | 3890d4e09718b8a1ec8b7f168359c413135459b3 | b7ed062a7be68242a621f8858b503be5e6905d89 | refs/heads/master | 2020-04-28T06:53:47.198218 | 2019-03-12T22:08:34 | 2019-03-12T22:08:34 | 175,074,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,651 | r | Danica_Ex04_01.R | # Up and running with R
# Ex04_01
# Recoding Variables
# Use dataset "social_network.csv" which records the
# gender and age of 202 online survey respondents
# along with their preferred social networking sites
# and an estimate of how many times they log in per week
# Create data frame "sn" from CSV file w/... |
9852eb9bebcb63bb3a54b337c812fb026605a27e | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /heuristicsmineR/man/print.dependency_matrix.Rd | 157a3f1ba47e052fe087743ed191b1e836198ccf | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 436 | rd | print.dependency_matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.dependency_matrix.R
\name{print.dependency_matrix}
\alias{print.dependency_matrix}
\title{Generic print function for a dependency matrix}
\usage{
\method{print}{dependency_matrix}(x, ...)
}
\arguments{
\item{x}{dependency matri... |
69aac8e8f87e603c18b15bfb179080fe958176fc | 6a4f552946002eb86443f39bd9887c91f1608c1f | /R/ageAccel.R | 59861569e3af40e9cab1345dfe68f03f586caffb | [] | no_license | RichardJActon/DNAmAgeMini | 20f01399205d4dc94283583d1eee61a4c21dd610 | 0a443edece74cdd68a95442b910d2d2222115a43 | refs/heads/master | 2020-04-21T14:09:45.905735 | 2019-02-08T16:41:30 | 2019-02-08T16:41:30 | 169,625,124 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 270 | r | ageAccel.R | # age acceleration
#' ageAccel
#' @export
ageAccel <- function(pred,chron) {
if (!(is.numeric(pred) & is.vector(pred))){ warning("pred is not a numeric vector")}
if (!(is.numeric(chron) & is.vector(chron))){ warning("chron is not a numeric vector")}
pred - chron
}
|
40ced25eb6aa148466cb0ef40d34b2ab6510677c | aae743a14d850d2eb3daa1bf573ff082af5aa5cc | /man-roxygen/RDclass.R | 816f0e433acb2d7c66ba50b6a7d42758cf591b7b | [] | no_license | mdroste/RDHonest | 5d8f8890d7195db7044c91d3d5d37742c4b7a084 | c471e3cfa1533807dc988e15bbecaa83d85846a4 | refs/heads/master | 2020-06-15T13:28:13.308470 | 2019-06-24T17:50:39 | 2019-06-24T17:50:39 | 195,312,954 | 1 | 0 | null | 2019-07-05T00:05:11 | 2019-07-05T00:05:10 | null | UTF-8 | R | false | false | 177 | r | RDclass.R | #' @param M Bound on second derivative of the conditional mean function.
#' @param sclass Smoothness class, either \code{"T"} for Taylor or
#' \code{"H"} for Hölder class.
|
208d10ab6f11106b18ed87bb28af8501bc6deea1 | a5dc2f5e2cb3ecd3ab28fac55d6c11d13064e5f7 | /R-package/quantmod/man/refit_quantile_genlasso.Rd | 794a845a9aca1090ce440cb6c03c03e864a06f0d | [] | no_license | elray1/quantmod | b1fdb1f8cac954a0e3309aee5d2271b62ade1761 | e6d3dff57ae7564e0d8ff98cf0654332d9b6794f | refs/heads/master | 2022-10-10T08:28:50.427163 | 2020-06-11T14:58:33 | 2020-06-11T14:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,304 | rd | refit_quantile_genlasso.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cv_quantile_genlasso.R
\name{refit_quantile_genlasso}
\alias{refit_quantile_genlasso}
\title{Refit function for cv_quantile_genlasso object}
\usage{
refit_quantile_genlasso(obj, x, y, d, tau_new = c(0.01, 0.025, seq(0.05,
0.95, by = 0.05), ... |
f670371efc1cdbc5b184c103bb492180c711fde6 | 92e597e4ffc9b52cfb6b512734fb10c255543d26 | /man/hsDelEmptyCols.Rd | 09403276a8bf50cf00a92e9557e176122ee03b08 | [
"MIT"
] | permissive | KWB-R/kwb.utils | 3b978dba2a86a01d3c11fee1fbcb965dd15a710d | 0930eaeb9303cd9359892c1403226a73060eed5b | refs/heads/master | 2023-05-12T15:26:14.529039 | 2023-04-21T04:28:29 | 2023-04-21T04:28:29 | 60,531,844 | 9 | 1 | MIT | 2023-04-21T04:28:30 | 2016-06-06T13:52:43 | R | UTF-8 | R | false | true | 883 | rd | hsDelEmptyCols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/column.R
\name{hsDelEmptyCols}
\alias{hsDelEmptyCols}
\title{Delete empty Columns of Data Frame}
\usage{
hsDelEmptyCols(dataFrame, FUN = function(x) all(is.na(x)), drop = FALSE)
}
\arguments{
\item{dataFrame}{data frame of which empty columns... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.