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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b3d43d37ae9e8723ee75e8461282701dd30c233b | 88c805daf65c1aedf987ce92ad3ac087c052f06d | /R/alm.alg.R | 0a389f26787a938782784de3604f292f3b3c9b86 | [] | no_license | Tao-Hu/ZIBBSeq | 0dc29b8abf57bf0546d1cb247b74896882d612cb | 808ca2898a86eeae4143421837b592459313f43e | refs/heads/master | 2021-07-04T11:13:23.640267 | 2017-09-27T01:32:13 | 2017-09-27T01:32:13 | 104,956,050 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,117 | r | alm.alg.R | alm.alg <- function(para.init, s, lambda, grpIdx, grpSize, X, Y, Y.c,
ziMatrix, K, rho, tol.fista, imax.fista,
tol.alm, imax.alm) {
# get dims
n <- dim(Y)[1]
m <- dim(Y)[2]
p <- dim(X)[2]
q <- dim(ziMatrix)[2]
# initial Lagrangian multiplier w's
theta <- matrix... |
3188507cfa0ef902150a7d79e3b3cb2a77db0d17 | 8f42c61ef8c4fd5807030397796896b571f65407 | /functions.R | 4b7209bdc748be4827cc536bd80591fb2f46334d | [] | no_license | sidbdri/enrichment_rshiny | 1109e136155b9a7f5e44bf462b767ef4c6f0b555 | 036532b1d981a60e278d8b16abf4f8322775d41b | refs/heads/master | 2021-02-15T18:41:16.508562 | 2020-04-02T15:13:39 | 2020-04-02T15:13:39 | 244,921,318 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,289 | r | functions.R |
draw_venn<-function(query, ref, back){
query<-unlist(str_split(query, "\n"))
ref<-unlist(str_split(ref, "\n"))
back<-unlist(str_split(back, "\n"))
query<-query[query != ""]
ref<-ref[ref != ""]
back<-back[back != ""]
overlap12 <- length(calculate.overlap(x=list(query, ref))$a3)
overlap13... |
b7076e0cdc578dc2121f89e66527228cb5b5120c | ab9e65ac9ba7d2839200ec27d2fa4fd6fb3c793d | /script/aula_11_script/sabesp.R | 24811ad845fdddb1f7c61322e339c6588b1fc592 | [] | no_license | Droszczak/curso-r.github.com | f466af42160b19f2683945ffb87a72379c29b340 | ea0eebf90f6a210aac4ac8811ccee71b80313426 | refs/heads/master | 2023-02-26T15:36:05.077321 | 2021-02-06T18:38:38 | 2021-02-06T18:38:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,767 | r | sabesp.R | require(httr)
require(rvest)
require(tidyr)
require(lubridate)
require(dplyr)
require(stringr)
require(ggplot2)
require(scales)
rm_accent <- function (x) gsub("`|\\'", "", iconv(x, to = "ASCII//TRANSLIT"))
renomear <- function(x, ...) {
names(x) <- eval(substitute(c(...)))
x
}
baixa_sabesp <- function(x) {
link ... |
c7061ded198d8691c7775ca8dfcc27f9b71bf4b9 | 5e87428e86d60c71315170df532ca4418063731b | /ReservingAutoInsurance.R | 56f09070423188a4ba634584932ea8526a78d4a5 | [] | no_license | veeranalytics/ReservingAutoInsuranceProducts | 733383f9f0bae8f791da8c4b675be5d1084be544 | 0b40026ab6532dd0fa788504901a9def035c3f63 | refs/heads/master | 2020-04-16T17:18:23.547620 | 2019-01-16T12:20:01 | 2019-01-16T12:20:01 | 165,771,366 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,798 | r | ReservingAutoInsurance.R | # Import libraries
library(ChainLadder)
n <- 7
# Claim dataset Thefirst column holds the origin year,
# the second column the development
# year and the third column has the incremental payments / transactions.
Claims <- data.frame(originf = factor(rep(2007:2013, n:1)),
dev=sequence(n:... |
d45c677da7651b106be84a68cfb478e2761cf799 | 3b9312b9e66f57fc1573cbd5b5866fb987059a49 | /bin/campy_dada2_processing.R | 81e8f49148f9e5de2282b48e59be19b693e98470 | [] | no_license | gregmedlock/campy_murine_diets | a468b0fa123d699fa6f1d42d63d3c5d41db6094b | 3f1216db2d17ec1ac6ef50cd876a65abf67c7feb | refs/heads/master | 2021-09-15T01:51:00.455827 | 2018-05-23T19:18:48 | 2018-05-23T19:18:48 | 119,574,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,150 | r | campy_dada2_processing.R | library(dada2)
library(ShortRead)
library(ggplot2)
library(phyloseq)
path <- "~/Documents/projects/campy_murine_diets/data/20170224_16S-35570571/"
fns <- list.files(path)
fns
### Load forward and reverse reads
fastqs <- fns[grepl(".fastq$", fns)]
fastqs <- sort(fastqs) # Sort ensures forward/reverse reads are in same... |
251eeb0c49a9f2918fcb8eaca49efd677a4e01af | 86e9dd83e99996ff69767a94d5a1430880bffe2c | /C/12/12_lab.R | 2090573616401062a57913c6fdf2777c69a2270a | [] | no_license | biscofil/data_analysis_exercises | a068499c7e5e7d4160e204d15db0a783f7c465f9 | f3a9a6c280557f9353ec3931ac23f2a421bd9d24 | refs/heads/master | 2020-03-17T21:45:29.596858 | 2018-05-20T23:24:03 | 2018-05-20T23:24:03 | 133,973,646 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 475 | r | 12_lab.R | de_bilt <- read.table(file = "KNMI_20160831.txt", header = FALSE, skip = 12, sep = ',')
names(de_bilt)<-c("station", "yyyymmdd", "rainfall")
head(de_bilt)
month<-substr(de_bilt$yyyymmdd, 5, 6)
sel<-month=="04"
y<-de_bilt$rainfall[sel]
summary(y)
y[y < 0]<-0
summary(y)
boxplot(y)
hist(y, freq = FALSE)
x<-y[y>0]
libr... |
06d38b13f3d8beb5ec544ddf644445e6b5ce2865 | 10a2d7bc8930a90503609233c88aa06bc9477f29 | /man/scale_colour_discrete.Rd | 3a339e0891817411c6b5a2f0409b629258ecccaa | [] | no_license | u6yuvi/MissingDataGUI | c2b3b39d6e24ce3b43fdee8864f3ee04c9bfe62e | 7b0da584d2e4285b80dec9471158b73759f0abdd | refs/heads/master | 2021-01-19T01:07:29.834674 | 2016-04-25T08:58:53 | 2016-04-25T08:58:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 357 | rd | scale_colour_discrete.Rd | % Please edit documentation in R/utils.r
\name{scale_colour_discrete}
\alias{scale_colour_discrete}
\title{Change the discrete color scale for the plots generated by ggplot2}
\usage{
scale_colour_discrete(...)
}
\arguments{
\item{...}{parameters passed into the function}
}
\description{
Change the discrete color scale ... |
f31520ee9533a5a2d3c9f93a9f2180d2dcaf54e1 | 0378bb8cbb6fc691bb2ab274a19b9a0a0e971eae | /Iris.R | ebd4494c6c98db317eda1b9cc31cdf666ddd0b73 | [] | no_license | mrunali3437/Random-Forest | fbcf19e4832b74984a34872b49eb9a0fb0dca3cd | adb4abffa3ef389a98b821cb1fb59dc967ca6e67 | refs/heads/main | 2022-12-25T14:49:06.555474 | 2020-10-13T08:43:35 | 2020-10-13T08:43:35 | 303,641,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,658 | r | Iris.R |
#we Build a Random Forest for the Iris Data
datasets::iris
data("iris")
attach(iris)
library(caret)
library(randomForest)
summary(iris)
#The column Species is already in the form of a categorical Variable
names(iris) #Gives the Column Names
dim(iris) #Gives the Number of Rows and Columns
str(ir... |
00334789676740da73e4cd7c438d2ae7c4371f8d | 9bd511b1c231447ba530284d0021aff0fa768cec | /CityDensity.R | d9f952323265a01fafdd8d780655154f55ba240f | [] | no_license | enricomarcovergara/appdensitycalculation | 291a5ccd3cead8a5e340c98f9b8c5184476d7658 | 0d0a36a072130b916f7adb53eec9d395ec653c70 | refs/heads/master | 2020-04-30T04:54:56.495091 | 2019-03-20T03:30:43 | 2019-03-20T03:30:43 | 176,619,119 | 0 | 4 | null | null | null | null | UTF-8 | R | false | false | 780 | r | CityDensity.R | #CITY DENSITY
pop <- read.csv("population.csv")
regarea <- read.csv("regionarea.csv")
library(dplyr)
colnames(pop)
numCity <- aggregate(pop$CityProvince,list(Region=pop$Region),function(x) length(unique(x)))
colnames(numCity)[2] <- c('TotalNumCity')
numCity
regarea
CityArea <- merge(numCity,regarea)
... |
538bef789e79cc4d96e5a9f3a1a5959026410e34 | 4786eec2f0b08b8df043c8288c047a66ce0c9099 | /R/census.R | 73e102c6040f20e3b63fbc4f8c45a72329a6d1ca | [] | no_license | kosukeimai/eco | d516b4e3e521a0156ef1800b66706dcb524a43c6 | 75d961fa0454036d44494c5d9b07537b3b33bfd4 | refs/heads/master | 2022-11-17T01:25:39.808138 | 2022-11-03T01:19:25 | 2022-11-03T01:19:25 | 84,952,870 | 4 | 3 | null | 2020-08-11T17:58:33 | 2017-03-14T13:34:59 | C | UTF-8 | R | false | false | 1,323 | r | census.R |
#' Black Illiteracy Rates in 1910 US Census
#'
#' This data set contains the proportion of the residents who are black, the
#' proportion of those who can read, the total population as well as the actual
#' black literacy rate and white literacy rate for 1040 counties in the US. The
#' dataset was originally analyze... |
b8f6ac0048e1289603c03f6b195d6fc241b3247e | 260a1e3b07cf8a8935027b0a669febb0afe89f7c | /r101/readPSES.R | 149cede99ad3bf5f8acaac8e188bc79519ff6e0d | [] | no_license | M-IVI/R-Ottawa | b3dbf9ecbd504e59d6bfeda68d9c116c2b60a32d | 90e0d79f2eb70bc089e0bb96d2288772c2b1fdad | refs/heads/master | 2021-04-24T06:00:50.494020 | 2020-05-28T15:16:20 | 2020-05-28T15:16:20 | 250,088,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,639 | r | readPSES.R | # readPSES.R
# D.Gorodnichy
PSES_ID_COLS = c("LEVEL1ID" , "LEVEL2ID" , "LEVEL3ID" , "LEVEL4ID" , "LEVEL5ID" ); psesKeys = PSES_ID_COLS; COLS_PSES = PSES_ID_COLS
OPEN_CANADA_URL <- "https://www.canada.ca/content/dam/tbs-sct/documents/datasets/pses-saff/2018/2018_PSES_open_dataset_Ensemble_de_donn%C... |
cd6d5adacd1a123f73b89ecb3bfdf6967078f948 | 1f617f5a6191411dd5e535be37d8608b031906c4 | /man/baggr_compare.Rd | 20279eb5d20a2e674bf836a4c1d266bc977144dd | [] | no_license | cran/baggr | e63bf49aa3460db5dba567e9514b63b444bdc523 | bc9c1c88d29eab82f2e623397da4e7d913d7c46c | refs/heads/master | 2023-04-06T22:01:38.614702 | 2023-03-22T09:20:02 | 2023-03-22T09:20:02 | 218,299,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,653 | rd | baggr_compare.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/baggr_compare.R
\name{baggr_compare}
\alias{baggr_compare}
\title{(Run and) compare multiple baggr models}
\usage{
baggr_compare(
...,
what = "pooling",
compare = c("groups", "hyperpars", "effects"),
transform = NULL,
pro... |
c044a47f6d547f556dad8f4290ce1bb1c8428a21 | 14c5f84de6a6b5bcbb526c4bdc6e2eaac5aff9bd | /Youtube_search_results.R | 3c0c266fe1e9b818d0ca5ed8ad67df72689bbef2 | [] | no_license | Nachtjagdgeschwader/Youtube_search_scrapping | f80c99069b5e02ace8ed3734c2e46dd0a56adfc1 | ed85b6ada40cd3304b9544cb13f83e8c812d2eb0 | refs/heads/master | 2021-09-04T00:41:28.026740 | 2018-01-13T13:20:15 | 2018-01-13T13:20:15 | 85,432,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,158 | r | Youtube_search_results.R | # First, you need to download PhantomJS headless WebKit from here http://phantomjs.org/download.html
# and extract it to a desired folder
install.packages("RSelenium")
library(RSelenium)
# installing and running the RSelenium package which we will use for driving
# the PhantomJS WebKit
psPath <-
"C:/*/phantomj... |
fcc67d4a12c681aa853673bbf58b5e1db6569336 | 5c6fbdd4764df04b72d938afb9227519e1d5e69f | /R/wunc.R | 1987ce906d2e0667a8d942bd5b3a9bf9dd891666 | [
"MIT"
] | permissive | chainsawriot/nucommit | d3cae16a394a27b37d867148984fcdddcd7d533f | 7ee9cf1556c3d593eb8459387b078c528e4734ee | refs/heads/master | 2021-07-15T00:25:15.055126 | 2020-11-19T14:25:22 | 2020-11-19T14:25:22 | 225,418,499 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,343 | r | wunc.R | .clean <- function(input) {
if (all(c("user_id", "created_at", "text") %in% names(input))) {
output <- dplyr::select(input, user_id, created_at, text)
} else {
## POSITIONAL ASSUMPTION
output <- input[,1:3]
names(output) <- c("user_id", "created_at", "text")
}
if (!"POSIX... |
8c2045a13210499bdf7e62296227b5c76d340e8b | 7f026bc3deee32e4732c13cd318cb32119c7dd69 | /man/qar.sim.Rd | 7fdb121f5f1a14406c10c8b80c1368b0f4be19f9 | [] | no_license | cran/TSA | 109803777566ded77104af3a01e288c749daa97b | 5050db06a645f31f2a37ac81a90fc5d2c590a25c | refs/heads/master | 2022-07-28T07:23:53.254418 | 2022-07-05T10:36:22 | 2022-07-05T10:36:22 | 17,693,886 | 1 | 8 | null | null | null | null | UTF-8 | R | false | false | 1,306 | rd | qar.sim.Rd | \name{qar.sim}
\alias{qar.sim}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Simulate a first-order quadratic AR model}
\description{
Simulates a first-order quadratic AR model with normally distributed noise.
}
\usage{
qar.sim(const = 0, phi0 = 0, phi1 = 0.5, sigma = 1, n = 20, init = 0... |
6971962079d81bb8d2fe4c475a092df835b70b25 | c485c6c823f09b5b23d3f7f0e3caa40332101ba1 | /inst/RunScripts/Run_MQ_QuantTwoGroupAnalysis.R | 6f52d3a3e2e4fe1a80cd2a7b5b99b52ec8fc6182 | [] | no_license | LucasKook/SRMService | e6d208dcfe09d7dacb950d24a4ddb7bd8751a121 | dd2aa9f952a4ebd6706627d3e8a1b8cca5ce4a57 | refs/heads/master | 2022-02-21T08:46:48.792797 | 2019-01-29T13:01:01 | 2019-01-29T13:01:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,405 | r | Run_MQ_QuantTwoGroupAnalysis.R | #
# If you are going to use results produced by the scripts please do cite the
# SRMSerivce R package by providing the following URL
# www.github.com/protViz/SRMService
# by W.E. Wolski, J. Grossmann, C. Panse
#
rm(list=ls())
library(limma)
library(SRMService)
### Protein groups file
packagedir <- path.package("SRMSer... |
189bdcae676249f5ffd413b7ee306fa41d584bc7 | b5cf7ad90c793fa7b26e075d85040b3421dceaaf | /plotconhadly.r | 794573548eff00f95060e814ade7d8ed60063396 | [] | no_license | apsteinmetz/test | 57915576b47c0a6a099f959ae9176f1e745658fa | 5f75bfa064b6b4fe1a496ec95b4b4456e122bf87 | refs/heads/master | 2021-01-20T13:59:01.283202 | 2018-09-28T20:15:38 | 2018-09-28T20:15:38 | 82,726,456 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 952 | r | plotconhadly.r | # hadley's plotcon 2016 talk
library(tidyverse)
library(gapminder)
library(dplyr)
gapminder<-gapminder%>%mutate(year1950=year-1950)
by_country<-gapminder %>% group_by(continent,country) %>% nest()
country_model <- function(df) {
lm(lifeExp ~ year1950, data=df)
}
models <-by_country %>% mutate(model = map(data,... |
3d941da02d8e7af452216a5c9feef90d314e6c73 | 996790634a55078a7d1469286e54b7dff5b23b31 | /man/pit_sample.Rd | 8e896ce8fbf80fe14e641904d3d11d9b1369a940 | [
"MIT"
] | permissive | epiforecasts/scoringutils | d811ff7dc30e0f4ba6639ed6a42897793fe67b54 | b7090104e0736f2f59a2b9771171a256f3af3514 | refs/heads/main | 2023-08-08T22:48:48.957717 | 2023-07-28T10:19:06 | 2023-07-28T10:19:06 | 240,501,300 | 32 | 13 | NOASSERTION | 2023-09-06T13:12:03 | 2020-02-14T12:16:42 | R | UTF-8 | R | false | true | 4,136 | rd | pit_sample.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pit.R
\name{pit_sample}
\alias{pit_sample}
\title{Probability Integral Transformation (sample-based version)}
\usage{
pit_sample(true_values, predictions, n_replicates = 100)
}
\arguments{
\item{true_values}{A vector with the true observed va... |
9e114ed4c80154d68220476a731bc78cf8205530 | f624abe47a57527cb58f4d34c482709a4961f949 | /inst/shiny-metabase/components/main/body.R | c948ca9cb216bc021cdbb500d8072e31f0c6d127 | [] | no_license | zhuchcn/ShinyMetabase | ffdcd852844e7fcbb6cafb6ee6c58f2b342b3e90 | 8a61bb851132876977cb551e0241920cc9d75dd9 | refs/heads/master | 2020-04-27T15:07:48.624245 | 2019-03-18T17:45:05 | 2019-03-18T17:45:05 | 174,434,028 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,299 | r | body.R | import::here(TabOverview, .from="../overview/overview.R")
import::here(TabNormality, .from="../normality/normality.R")
import::here(TabUnivariate, .from="../univariate/univariate.R")
import::here(TabMultivariate, .from="../multivariate/multivariate.R")
import::here(NetworkTuning, .from="../network/NetworkTuning.R")
imp... |
2d3914f2fbc4eec8f561c5809f9068d428918181 | cc5091d91fa7e614f45fb9b83b4dd7e9c96710e3 | /man/roc_neat.Rd | 438fe0d20ca3131732d2220b09c33f7982882a21 | [
"BSD-2-Clause"
] | permissive | gasparl/neatstats | 814aeba4aee20c70f6f671953e870f47e2aa38aa | 22171ed04211c8136e3e7532e56ca664194d5f35 | refs/heads/master | 2022-12-10T13:32:08.363769 | 2022-12-07T10:33:45 | 2022-12-07T10:33:45 | 187,226,036 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 4,598 | rd | roc_neat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/roc_neat.R
\name{roc_neat}
\alias{roc_neat}
\title{Difference of Two Areas Under the Curves}
\usage{
roc_neat(
roc1,
roc2 = NULL,
pair = FALSE,
greater = NULL,
ci = NULL,
hush = FALSE,
plot_rocs = FALSE,
roc_labels = "",
cut... |
41561dce58b7f8479058bf72b4aa99ba53ef0c86 | 88481c995db9fcfa8e0fdc576ebaea210e289c9e | /code/referencePanel/calcPrecisionTPM_NoIsoFilt_MLE.R | ccb82d1ce3601c2f227afc00ce4b479062511c0f | [] | no_license | mccabes292/actorPaper | 9612e032b6bbe15f3f3710ed2af6185dcd086929 | d204419c1c1f8dda7193ec44ce928833b5876c8b | refs/heads/master | 2020-09-12T04:16:52.304561 | 2019-11-23T04:38:29 | 2019-11-23T04:38:29 | 222,301,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,090 | r | calcPrecisionTPM_NoIsoFilt_MLE.R | library(readr)
library(magrittr)
library(DirichletMultinomial)
args=commandArgs(TRUE)
index=as.numeric(args[1])
calcDMMLE=function(gene){
print(gene)
ctsTemp=gtex[gtex$gene_id==gene,]
cs=colSums(ctsTemp[,-(1:2)])
ctsTemp=ctsTemp[,c(TRUE,TRUE,cs!=0)]
fit=DirichletMultinomial::dmn(t(ctsTemp[,-(1:2)]),k=1,verbo... |
339b4e29fb88d54dd864f2961eed083f65dc9200 | 3877ee02e7deec476c64901c474a24ad56dcd431 | /R/meta.retrieval.all.R | ba7e5fe168e5fc7c36b3a7586b4431281bddaac9 | [] | no_license | ropensci/biomartr | 282d15b64b1d984e3ff8d7d0e4c32b981349f8ca | e82db6541f4132d28de11add75c61624644f6aa1 | refs/heads/master | 2023-09-04T09:40:15.481115 | 2023-08-28T15:56:25 | 2023-08-28T15:56:25 | 22,648,899 | 171 | 34 | null | 2023-09-14T12:28:02 | 2014-08-05T15:34:55 | R | UTF-8 | R | false | false | 3,345 | r | meta.retrieval.all.R | #' @title Perform Meta-Genome Retrieval of all organisms in all kingdoms of life
#' @description Download genomes, proteomes, cds, gff, rna, or assembly stats
#' files of individual species of all kingdoms of life.
#' @param db a character string specifying the database from which the genome
#' shall be retrieved:
#... |
257f84ff46073ded29e7d62d1e83f657bb89bc07 | 32fbef51ecce23ecfe421ec8055c94e8170272a6 | /man/getWRFDataDir.Rd | 8bc88c542dcafea610b3fec7615b755f1838d2bc | [] | no_license | MazamaScience/AirFireWRF | b10fcedfe6a3161eb95aa5c422edd8762be515e9 | 44c97372d491c49032630e3b112dba7d3c04a765 | refs/heads/master | 2023-01-08T17:07:24.743029 | 2020-11-03T22:11:44 | 2020-11-03T22:11:44 | 282,019,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 359 | rd | getWRFDataDir.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AirFireWRF.R
\name{getWRFDataDir}
\alias{getWRFDataDir}
\title{Get package data directory}
\usage{
getWRFDataDir()
}
\value{
Absolute path string.
}
\description{
Returns the package data directory where model data is located.
}
\seealso{
\li... |
0e7eeb40ad042b9db5a11ab245d12b49dbeb7ecf | 2099a2b0f63f250e09f7cd7350ca45d212e2d364 | /AI-Dataset/Summary_rnd/S0004370217301376.xml.A.R | a21a03bbc18fa4da598b45d1b1f11fe774d001de | [] | no_license | Angela7126/SLNSumEval | 3548301645264f9656b67dc807aec93b636778ef | b9e7157a735555861d2baf6c182e807e732a9dd6 | refs/heads/master | 2023-04-20T06:41:01.728968 | 2021-05-12T03:40:11 | 2021-05-12T03:40:11 | 366,429,744 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,642 | r | S0004370217301376.xml.A.R | <html>
<head>
<meta name="TextLength" content="SENT_NUM:8, WORD_NUM:153">
</head>
<body bgcolor="white">
<a href="#0" id="0">But we now can use the semantics of speculative knowledge.In order to prove that {a mathematical formula}(M′,s′)⊨KiSφ, we assume that {a mathematical formula}t′∈Ri′(s′) and that {a mathematical f... |
6b4b431dca5288383f49918d9707a162df093e86 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/isotone/examples/weighted.median.Rd.R | 3da877dc1eac4801b173b050540b7811b1dfdc91 | [] | 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 | 208 | r | weighted.median.Rd.R | library(isotone)
### Name: weighted.median
### Title: Weighted Median
### Aliases: weighted.median
### Keywords: models
### ** Examples
y <- 1:9
w <- c(rep(1,5), rep(2,4))
res <- weighted.median(y, w)
|
ae7f387742102d11befe0f98c76bd79d7cac18bb | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/9369_0/rinput.R | 7e554b3e66aab86858b8070aaf82ea0e424bd250 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("9369_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="9369_0_unrooted.txt") |
4dbdb772bf5ecbcdbbf61ae75606bbfef828928d | 6ce79966b1b89de1a6d6eb29cea945188c18652c | /R/algorithms__MovingKnots_MCMC.R | c906d525cf408cc6b330001367ff38a91ee752dd | [] | no_license | feng-li/movingknots | d3041a0998f0873459814a09e413c714fff700c6 | 5f921070e4cd160a831c5191255f88dd7d4c850c | refs/heads/master | 2021-06-10T00:18:57.172246 | 2021-03-22T05:56:44 | 2021-03-22T05:56:44 | 145,708,629 | 4 | 3 | null | null | null | null | UTF-8 | R | false | false | 10,316 | r | algorithms__MovingKnots_MCMC.R | #' MCMC for movingknots.
#'
#' Details are available in the paper.
#' @param gradhess.fun.name NA
#' @param logpost.fun.name NA
#' @param nIter NA
#' @param Params NA
#' @param Params4Gibbs NA
#' @param Params.sub.struc NA
#' @param Y NA
#' @param x0 NA
#' @param splineArgs NA
#' @param priorArgs NA
#' @param Params_Tr... |
29c44da200b171e666b8e56b417985a63ac960f1 | c3fced9fa3881b8d07000adfb5bebe4213eaa4a4 | /ANALYSIS/DATA/control_variables.R | 35f2fc68c33654eb754feed78455fe58124f25d8 | [] | no_license | rafael-schuetz/Pareto | ea9c06cb588113bbdf6a3b5da27a2d2a22f37dc8 | 74c414268d429373b83ccfb27bf222ae25b97c32 | refs/heads/master | 2022-04-13T11:36:56.587595 | 2020-04-08T18:31:48 | 2020-04-08T18:31:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,203 | r | control_variables.R | ### Kontrollvariablen für die DiD-Estimations
# Die id-fixed effects kontrollieren bereits für alle zeit-invarianten Eigenschaften, die
# zwischen den Einrichtungen variieren (z.B. Bundesland, Große / Kleine Stadt). Die time-fixed
# effects kontrollieren für Eigenschaften, die über die Zeit variieren, aber für die Ei... |
b43786dd50f77eb4bcdeaf17e69f65289e79b662 | 973d9b1632b1788e569892476321b545ef4c4192 | /man/remove_named_cols_from_df.Rd | b8c98d3b0f4a4bfc011bae01085effdaf1660bfc | [] | no_license | moj-analytical-services/costmodelr | 8c9049b876b29ac9dd557e4e8271a49a4f154dbd | c95222b0800c5f725c156d5cbc4e86545bc4f8bb | refs/heads/master | 2021-01-20T13:10:41.236112 | 2017-05-06T09:38:48 | 2017-05-06T09:38:48 | 90,454,724 | 0 | 2 | null | 2017-05-06T10:14:26 | 2017-05-06T10:14:26 | null | UTF-8 | R | false | true | 302 | rd | remove_named_cols_from_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{remove_named_cols_from_df}
\alias{remove_named_cols_from_df}
\title{Removed named columns from a dataframe}
\usage{
remove_named_cols_from_df(df, drops)
}
\description{
Removed named columns from a dataframe
}
|
79857a7b095dd5b1f88971ab9cbdf7e4fae5d959 | 3d557b698ecea160be63191450cac35defd10f58 | /R/consensusBrlen.R | cadce68866c0d293429e36cd88537b0655c945f0 | [] | no_license | bomeara/utilitree | cb0601f105429ad292b27ae3cfeca29a6b348ad0 | 47c908ee5b3b1b285c255a22a29e51de5722f5f8 | refs/heads/master | 2016-08-08T16:23:59.109616 | 2014-07-29T20:46:39 | 2014-07-29T20:46:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,315 | r | consensusBrlen.R | consensusBrlen <-
function(focalTree,sourceTreeList,type=c("proportion","mean_brlen","median_brlen","sd_brlen"),print.progress=TRUE,return.val="tree") {
type<-match.arg(type)
if (class(focalTree)!="phylo4") {
focalTree<-as(focalTree,"phylo4")
}
if (class(sourceTreeList[[1]])!="phylo4") {
sourceTreeList<-lapply(... |
8961e5572d4db0d8f17d3d4ee618bbfe108abe28 | 289cc280222cc40f32686dc42c2ee68891e452ed | /man/hzar.meta.init.Rd | 13ec7683baacc02f02ddff7980b5f5da2df0e91c | [] | no_license | GrahamDB/hzar | 6cd68626d54103f6be26c5a80c41d45ea267eb9a | fe52dfc553e69dd5367a8735b687992231f72e18 | refs/heads/devel_v0.2 | 2023-05-25T16:51:49.440605 | 2019-10-23T18:39:57 | 2019-10-23T18:39:57 | 175,032,847 | 1 | 1 | null | 2023-05-16T23:59:44 | 2019-03-11T15:46:00 | R | UTF-8 | R | false | false | 1,520 | rd | hzar.meta.init.Rd | \name{hzar.meta.init}
\alias{hzar.meta.init}
\alias{hzar.meta.tune}
\alias{hzar.meta.fix}
\alias{hzar.meta.lower}
\alias{hzar.meta.upper}
\alias{hzar.meta.init<-}
\alias{hzar.meta.tune<-}
\alias{hzar.meta.fix<-}
\alias{hzar.meta.lower<-}
\alias{hzar.meta.upper<-}
\title{
Observe and Alter the model parameters in the... |
dd416c97d78c02add5fe738773866369b0e17aab | 1ea35aa8adc3131f178d873800c1c818343b9dec | /src/R/ROMOPOmics/man/readStandardTables.Rd | c9915d5920c6bd65f78672ad899c44c1cd5fae5a | [
"MIT"
] | permissive | NCBI-Codeathons/OMOPOmics | 9afa7abd4f59baa48248b73a823d5e50d0197663 | c6f0293f99189cc682d04aef9f40e43a8878ca8b | refs/heads/master | 2020-12-06T04:54:42.723704 | 2020-06-04T16:45:14 | 2020-06-04T16:45:14 | 232,348,286 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 517 | rd | readStandardTables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/readStandardTables.R
\name{readStandardTables}
\alias{readStandardTables}
\title{readStandardTables.R}
\usage{
readStandardTables(input_files)
}
\arguments{
\item{standard_table_files}{List of CSV files to incorporate.}
}
\description{
Given ... |
4e177570a9771b941fa589baea99302b28376e1c | 5106c53826b243575b106fd00a3ac1539bd66cad | /man/plot_argo.Rd | ddf35fa17a5ccc1f1665826e5d27232a686f2887 | [] | no_license | cran/argo | ec1c58d544f3fc10c15e6d18c9d27d29c25dfb2e | cd77311a40ebb3f4aabbb350b567c337fd920236 | refs/heads/master | 2023-06-07T22:10:54.609142 | 2023-05-24T10:20:14 | 2023-05-24T10:20:14 | 236,549,033 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,193 | rd | plot_argo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{plot_argo}
\alias{plot_argo}
\title{Time series plot of ARGO applied on CDC's ILI data}
\usage{
plot_argo(GFT_xts, GC_GT_cut_date, model_names, legend_names, zoom_periods)
}
\arguments{
\item{GFT_xts}{dataframe with all predicted... |
addadb7f3ff2b00cfb77ecf1f2430b8dbf658136 | 27aff212b65e315f1f31d6a053027e253c04a8e4 | /get_merge.R | 489164727c8c691b280d3e993ce99fb3c2697265 | [] | no_license | aljrico/triple_a | f82ccefc8b8969a55bc14f270884ccf9e0e52658 | 427db264dd1ef09edeff7d0214d728e988b8ead4 | refs/heads/master | 2022-04-04T10:27:38.957945 | 2020-01-04T21:54:16 | 2020-01-04T21:54:16 | 177,411,242 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,048 | r | get_merge.R | library(tidyverse)
library(zoo)
getMerge <- function(prices, financials){
# Get common days
k <- 1
absences <- which(!(financials$date %in% prices$date))
while(sum(!(unique(financials$date) %in% unique(prices$date))) > 0){
count <- sum(!(unique(financials$date) %in% unique(prices$date)))
financials$date[[abs... |
fa664597e3fdaa7cf476ec8252c459bb634d6ac6 | 5015d7aba85f3371535678e9f678144a5c064d5c | /1806_pilot_analysis/pilot-data_combine.R | 8746a7d35ab0122010f0eb8a652ade0737cd8ef3 | [] | no_license | montero-melis/2018_replication_sheb-pulv2013 | fa942a8b0c3b04578fcc3f022d00afd6e4ba46de | 1ef3ab5e3e78935c8c6e539130acf14f59999aa8 | refs/heads/master | 2021-08-06T15:05:58.778015 | 2021-06-23T18:58:14 | 2021-06-23T18:58:14 | 134,530,954 | 0 | 2 | null | 2021-06-23T18:58:15 | 2018-05-23T07:29:40 | Python | UTF-8 | R | false | false | 20,100 | r | pilot-data_combine.R | ## Process and combine individual participant data
# This script takes the pilot data after coding and combines it into single
# data files for each task, saving it to disk after some processing.
# Tasks: 1. Memory task, 2. Verb ratings, 3. Verb understanding.
library(dplyr) # for left_join
# -------------------... |
cb08593c264eee65aa9f8eefb1b0d527d87ed02d | 4db2b5ae0fa68ad90d26673359182c0a83a680ff | /man/check_s3_uri.Rd | 9445067b6821164bf664542414986b7634a828a6 | [] | no_license | cran/botor | 2ee5d62d9accef6419afa96806583d3783367aa8 | 6781c087746f7519c4fa0a3018e793f933353d3b | refs/heads/master | 2023-03-16T03:13:26.698530 | 2023-03-12T14:00:02 | 2023-03-12T14:00:02 | 216,648,618 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 571 | rd | check_s3_uri.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/checkmate.R
\name{check_s3_uri}
\alias{check_s3_uri}
\alias{assert_s3_uri}
\alias{test_s3_uri}
\alias{expect_s3_uri}
\title{Check if an argument looks like an S3 bucket}
\usage{
check_s3_uri(x)
}
\arguments{
\item{x}{string, URI of an S3 obje... |
3eaaa991080dc2484373f44ec6ace411df00bb39 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Letombe/Abduction/aim-200-3_4-yes1-4-00/aim-200-3_4-yes1-4-00.R | 17f5adf85f1e3ced8f47fdb6aba8636f74342bd5 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 72 | r | aim-200-3_4-yes1-4-00.R | 95301355a18659f4a5af0c8219b71798 aim-200-3_4-yes1-4-00.qdimacs 1478 3316 |
1c12dcc8dc15a8cb1055624b94d16656022e4417 | 9bc58af42b1a2ac00b8b73283d0276930b46b0af | /man/QuartetStatus.Rd | 734d095fbc74643af7571e2b777ddfcf4809f077 | [] | no_license | ms609/Quartet | 039147600b4db97b6c59ee137ce0b9c6922553d6 | 7ce55d5c0867c6c67a3f8eabb93627a2917fb8c8 | refs/heads/master | 2023-05-23T23:26:07.326694 | 2023-04-20T18:24:46 | 2023-04-20T18:24:46 | 80,424,189 | 7 | 4 | null | 2022-08-30T13:10:05 | 2017-01-30T13:34:42 | C++ | UTF-8 | R | false | true | 6,258 | rd | QuartetStatus.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/QuartetDistance.R, R/tqDist.r
\name{SharedQuartetStatus}
\alias{SharedQuartetStatus}
\alias{QuartetStatus}
\alias{ManyToManyQuartetAgreement}
\alias{TwoListQuartetAgreement}
\alias{SingleTreeQuartetAgreement}
\title{Status of quartets}
\usage... |
02bcc06a219068104ab8bb120583700f13b522a9 | 80b8f237d1faed2e1786aada66bfdd08bf2fec68 | /R/plot_ckmeans.R | 34ae4d3d85aedd72d5340bf27777d73633f9bf45 | [
"MIT"
] | permissive | TankredO/ckmeans | 17bb71210f4d28adb82cf5dbeb5401c658d42bd6 | f97d378e1a6ed328f263507dc0e5d83cae664478 | refs/heads/master | 2020-06-18T17:51:49.817535 | 2020-04-02T10:14:09 | 2020-04-02T10:14:09 | 196,389,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,383 | r | plot_ckmeans.R | #' Generic plotting function for distances (distance matrices)
#' @title Plot distance matrix
#' @author Tankred Ott
#' @param x object to plot
#' @param ... further arguments passed to the class specific plotDist functions
#' @import graphics
#' @import grDevices
#' @export
plotDist <- function(x, ...) UseMeth... |
6385278e2f98ced2e9fdc68738e32d0b48ddea9c | b76879ca270a8d94a42ee2cf821ae24508d5a510 | /man/get.cumulative.Rd | 0b1d9e68a9478fd7e15f0559cab2da8da5b8cd32 | [] | no_license | cran/DCL | ee11184e6a8b74515ea856e3bd27acda5488d861 | bd9aa3502f861a5c0ff0266730a438c7d0d7116a | refs/heads/master | 2022-05-17T09:38:59.010683 | 2022-05-05T15:40:02 | 2022-05-05T15:40:02 | 17,678,627 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 583 | rd | get.cumulative.Rd | \name{get.cumulative}
\alias{get.cumulative}
\title{Cumulative triangle
}
\description{
Switch from an incremental to a cumulative triangle
}
\usage{
get.cumulative( triangle )
}
\arguments{
\item{triangle}{
An incremental run-off triangle
}
}
\value{
The cumulative triangle
}
\author{
M.D. Martine... |
0ed42b35c72fe6e2e469692a08e17ba72894363c | 83ae358d90cb1c54c8be380bc7bd628a2f6ed530 | /man/alka.Rd | 6ee077c4a3d4c1d7a2ad7851067e2b0c593cba86 | [] | no_license | cran/Rlab | c7963e1210e2140fc6d397ff6a2cf289f0dd3bd2 | c72e630626f6df15cf75ffd8b9ee7c85322aeda8 | refs/heads/master | 2022-05-28T16:35:40.306539 | 2022-05-04T22:10:02 | 2022-05-04T22:10:02 | 17,693,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 545 | rd | alka.Rd | \name{alka}
\alias{alka}
\title{Alka-Seltzer dissoloving times}
\description{
This data set contains the times in seconds that it takes Alka-Seltzer tablets to dissolve in water and 7UP at two different temperatures.
}
\format{
A data frame with 8 observations on the following 4 variables.
\describe{
\... |
8739aa896e562a05ee2d985499d41a5203f6314b | 2280a98f3399445859a9b1ee7a1ff2d16046e445 | /MicroMSRedX.R | b397bc04c7b81d10257bcb3323b9db7e03f5b852 | [] | no_license | SidBaj/Data-Science-R | b38b110972246898599339aa040e3a4a9327f384 | c15aa1603ba2078b2e97027494e11c9d9dfb67c2 | refs/heads/main | 2023-02-15T02:24:59.894751 | 2021-01-06T13:54:27 | 2021-01-06T13:54:27 | 327,205,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 72,684 | r | MicroMSRedX.R | #EDx Micromasters Data Science
install.packages("gapminder")
install.packages("dslabs")
install.packages(tidyverse)
install.packages("tidytext")
install.packages("textdata")
install.packages('caTools')
install.packages('matrixStats')
install.packages("Rborist")
library(gapminder)
library(tidyverse)
library(ggplot2)
lib... |
5e60cfd42d7f1e1b4e5d5c50a21434fe64170a3f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Plasmidprofiler/examples/save_files.Rd.R | 4611d8d99d29275eea10e3bdbc3920a7854b5c38 | [] | 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 | 206 | r | save_files.Rd.R | library(Plasmidprofiler)
### Name: save_files
### Title: Save Files
### Aliases: save_files
### ** Examples
## Not run:
##D save_files(report, plot.png=1, report.csv=1, webpage=NA)
## End(Not run)
|
8a3650bc048fed8147d0d7a3d29436049a1ca765 | 52befa499933e19c59748f938829ac855d05b8f5 | /ms/figures/script_figures_analytical.R | 7f4ac07bdd062ec83406229571d5abf2937e86f1 | [] | no_license | DominiqueGravel/ms_diversification | 664a642ca6a7687939a2a5bd665497b7b4d9b30e | 3acb5adace062ef83f2ee4294bfed14d01b8aa40 | refs/heads/master | 2021-09-14T17:32:59.890887 | 2018-04-20T18:57:06 | 2018-04-20T18:57:06 | 37,342,956 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,671 | r | script_figures_analytical.R | u = function(u0, u1, a_u, I) u0 + u1*exp(-a_u*I)
e1 = function(e0, a_e1, I) e0 + (1-e0)*exp(-a_e1*I)
e2 = function(e1, e2, a_e2, I) 1 - e2 - (1 - e1 - e2)*exp(-a_e2*I)
C = 0.1
dev.new(width = 20, height = 8)
#par(mar = c(5,6,2,1),mfrow =c(3,2))
par(mar = c(5,6,2,1),mfrow = c(1,2))
#---------------------------------... |
3a75a95893670973a9c39ae4a3e63d8ae037c023 | 7db4fbc1ad431152941743b8c7eae53ecca1ce51 | /ui.R | 3f77eb58004283cfbed2f0de49e96d26b3d6b59a | [] | no_license | macadamia/ChillCalculator | 1cdde28e6dfef6b5db6ab6b20176ac4b366189cb | c66b414720bd3dae06ebe8f4de992a21e54712dc | refs/heads/master | 2021-01-11T18:59:57.556729 | 2018-06-06T03:59:47 | 2018-06-06T03:59:47 | 79,286,488 | 1 | 0 | null | 2018-05-24T05:51:15 | 2017-01-18T00:22:33 | CSS | UTF-8 | R | false | false | 12,194 | r | ui.R | #Chill Units Calculator
#ui.R
shinyUI(
fluidPage(
includeCSS( "www/assets/v3/css/qg-main.css"),
tags$head(
tags$script(src = "js.cookie.js")
),
useShinyjs(),
extendShinyjs('www/myJSCode.js'),
tags$head(includeScript("google_analytics.js"),
tags$head(tags$style('.headerRow{backgroun... |
9029e1b4f0439a50accc49382345d9c08ffd77ea | 7a74dcdfcbfa695a44188c0144a972e76e36c785 | /app.R | cc496f087c944ba2317dc0e2cb5a3c08808d4c72 | [] | no_license | jhk0530/dynamicUI | aacf6451d1e3e52325c18976e283ae497263ecba | e5373b3d683df69920fbf711609ebd8b4581a714 | refs/heads/master | 2021-01-06T10:36:14.444129 | 2020-02-18T07:36:56 | 2020-02-18T07:36:56 | 241,299,073 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 612 | r | app.R | library(shiny)
library(shinyjs)
ui = function(){
fluidPage(
shinyjs::useShinyjs(),
numericInput('num', 'num label', value = 1, min = 1, max = 5),
uiOutput('temp'),
actionButton('btn', 'btn label')
)
}
server = function(input, output, session){
output$temp = renderUI({
if(input$btn==0){re... |
684b09aa6f557db735c56c244664f7c81329a0b9 | 9719c43e784f48e79c81c7151ada584c105bbe11 | /R/ffsea-shiny.R | c08e19fd582a57a69bcb96407e31a6d4e2c9e0b0 | [
"Apache-2.0"
] | permissive | edavidaja/FacileAnalysis | ade3de9b07fb4d614a04dce7783843dfc57d5ce4 | 8f96cdf41904d606f81294f4ff169c658113dd86 | refs/heads/main | 2023-09-04T21:15:56.014307 | 2021-11-17T20:35:35 | 2021-11-17T20:35:35 | 430,765,832 | 0 | 0 | NOASSERTION | 2021-11-22T15:38:31 | 2021-11-22T15:38:30 | null | UTF-8 | R | false | false | 11,092 | r | ffsea-shiny.R | #' Full interactive executation of GSEA, soup to nuts.
#'
#' For now, feature set enrichment analysis are only performed downstream of
#' a `FacileAnalysisResult`. This requires that we have an ffsea method defined
#' for the specific class of the result, ie. `ffsea.FacilePcaAnalysisResult`.
#'
#' @rdname interactive-f... |
642c6446a0818817955daa528501804b8a0b430d | 017414614b3d26ea10faa775fc3d4e630752ddd1 | /man/tar_cue.Rd | a63d97f5b7ea3da502fc1d6a741cb39d84d708fb | [
"MIT"
] | permissive | krlmlr/targets | 4822815b7ae412af115296e5010de2edc61d1c50 | a8cbf46ce5d2274bd623085be749af3059ce6083 | refs/heads/main | 2023-04-13T16:43:18.213413 | 2021-04-21T20:29:07 | 2021-04-21T20:29:07 | 360,385,953 | 1 | 0 | NOASSERTION | 2021-04-22T03:55:53 | 2021-04-22T03:55:53 | null | UTF-8 | R | false | true | 3,932 | rd | tar_cue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tar_cue.R
\name{tar_cue}
\alias{tar_cue}
\title{Declare the rules that cue a target.}
\usage{
tar_cue(
mode = c("thorough", "always", "never"),
command = TRUE,
depend = TRUE,
format = TRUE,
iteration = TRUE,
file = TRUE
)
}
\argum... |
ab296ac9603a4a1a619baaf3f28803dcce52e764 | 6f4b03aff4fe842a787409355ca322f41e7ff42f | /Plot1.R | 028098c528877c20d21f91740e210af54487445c | [] | no_license | c0rn06/ExData_Plotting1 | 417f0c94fccb9dbe5d295f0a1752bc0f319f91b1 | 869f1274d6c8f20c23725bc8ee975cf27a93d1d1 | refs/heads/master | 2021-01-20T07:51:34.501291 | 2017-05-02T16:08:52 | 2017-05-02T16:08:52 | 90,052,422 | 0 | 0 | null | 2017-05-02T16:03:53 | 2017-05-02T16:03:52 | null | UTF-8 | R | false | false | 671 | r | Plot1.R | ##read in an table and subset out dates to use
ptable <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", colClasses=c("character","character","double","double","double","double","double","double","numeric"),na.strings="?")
## subset out the two days we are looking for
ptabledata <- subset(... |
47756df4cdef3aeff65604f2955406da605470a0 | ce3ffe0654f6754363e3cbbec727e7fd31fa4571 | /r_tennis/tennis.r | f6f9967e0009f2a48db3dea6db5756a35788524d | [] | no_license | rpln/dennis | e963db45c66efc716cb85d9488d8b81856048cf9 | 2cb1be34124f06042073dc8d4ce56ba7e0c5d0c5 | refs/heads/master | 2022-04-17T10:16:03.331087 | 2020-03-25T20:48:01 | 2020-03-25T20:48:01 | 180,239,017 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 782 | r | tennis.r | library(R6)
dist = function(location_1, location_2){
sqrt(sum((location_1 - location_2)^2))
}
Tennis <- R6Class("Tennis",
public = list(
verbose = NULL,
r = NULL,
framerate = NULL,
initialize = function(redis_conn, framerate, verbose = 1){
self$verbose = verbose
... |
338611126e2a7093f6c983e306d24092045b5ff6 | 82ebca79ba8d951dcc595e9a7d75dbad04922434 | /R/RSlo.R | a8c982dcce5b9bd859115b9961c66c028a96212f | [] | no_license | cran/MGBT | a291743388abe24f6f5ce72a334b0dec1c191324 | aa4356208f05d6036f3f425ec37c656da345bba0 | refs/heads/master | 2021-07-31T05:57:05.060470 | 2021-07-21T17:30:02 | 2021-07-21T17:30:02 | 218,823,042 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,099 | r | RSlo.R | #COHN****|==|====-====|====-====|====-====|====-====|====-====|====-====|==////////
#COHN
#COHN Alternative test: RST from Rosner (1975a, TNMX 18(2) pp. 221-227)
#COHN (adjusted to look only for Low Outliers
#COHN p. 169
#COHN RST <- function(x,k,n=length(x)){
#COHN y=sort(x);(y[k]-mean(y[(k+1):(n-k)]))... |
5aa2b2fda1a97be4203a14a3c833aa586d1a5bbd | 20ffda6c995a3c7fccb8015d4d972d7326c02576 | /Getting_Trees_And_Data/R/functions.R | 4c547bd46fdf7682f19195494a54c5f99e3dae1e | [] | no_license | JBaily/phylometh_exercises | abc659ae8e8325ddab31565b63ed66d6c6a0d88c | fcd78aebbc7cd68bab7e84a8a577c5b0db82980c | refs/heads/main | 2023-04-08T17:48:48.696199 | 2021-04-21T20:31:24 | 2021-04-21T20:31:24 | 332,876,886 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 184 | r | functions.R | plot_tree <- function(phy, file) {
pdf(file=file, width=20, height=20)
plot(phy)
plot(phy, type="fan")
plot(phy, type="fan", show.tip.label=FALSE, edge.width=0.1)
dev.off()
} |
22d62d3cb0cf8c0246a40b601eab15b52dc0b3fe | 2e2b4e090626d27adf065735751efe31248dcbbd | /BGLS.R | 5d04be2554fb1493bd4628491e6c1a5e68bd5a5a | [] | no_license | P-R-McWhirter/skycamT_variable_classification_functions | 62742e89da01dee71bd690119f6079389721c7c4 | ae32976f882a8fc999843571a4d0b82c5aed6538 | refs/heads/master | 2021-02-18T21:16:55.109810 | 2020-03-05T18:26:20 | 2020-03-05T18:26:20 | 245,238,114 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,283 | r | BGLS.R | BGLS <- function(data, radii = 0.001, lim = 100, plow = 0.5, phigh = 100, ofac = 1, spur = F, jit = 0){
starttime <- Sys.time()
ra <- as.numeric(as.vector(data$RA))
declin <- as.numeric(as.vector(data$DEC))
radra <- radii / abs(cos(declin*pi/180))
channel <- odbcConnect("sktobs", uid ... |
227c382fd0ce0b69996abeb5ea081ceaae0e0b81 | 82e54075c63f2368841edfcc3c3ff9a45be213f7 | /man/utils_rsltsexprob.Rd | bcbe588752ae5987cdc3e66c11810e60d3c8fa5f | [] | no_license | aawhip/hydrospatial | d4ff9b651e65eb36eacfe7ccf2599d609447ba68 | 14bc119df1d4d8be3222fe07e7cd6d2800920205 | refs/heads/master | 2021-06-28T10:21:08.621803 | 2020-10-11T19:52:55 | 2020-10-11T19:52:55 | 157,914,278 | 4 | 4 | null | 2020-10-11T19:52:56 | 2018-11-16T19:49:11 | HTML | UTF-8 | R | false | true | 624 | rd | utils_rsltsexprob.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_rsltsexprob.R
\name{utils_rsltsexprob}
\alias{utils_rsltsexprob}
\title{Set exceedance probability table from annual time series}
\usage{
utils_rsltsexprob(d, tmsrs, sc)
}
\arguments{
\item{d}{Data frame in format used for 'hsa' functio... |
0f680fdf55b87b292af1a84afc19d540d9081c61 | b25dc2fbf7c7815a2ab0e0657b6c0355104b1679 | /R/mylm.R | 9ce1ae80e7658ad7bc20c8cff9a378eba71ad12b | [] | no_license | Anderssorby/mylm | 61406efff5a21976ce50582ac2464f8bb535f025 | bdcd712b765ca3e2e61afa80c0020006ef2e50b0 | refs/heads/master | 2020-03-28T12:18:57.677918 | 2018-09-28T12:13:22 | 2018-09-28T12:13:22 | 148,287,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,833 | r | mylm.R | # Select Build, Build and reload to build and lode into the R-session.
mylm <- function(formula,
data = list(),
contrasts = NULL,
...) {
# Extract model matrix & responses
mf <- model.frame(formula = formula, data = data)
x <-
model.matrix(attr(mf, "terms")... |
5140d85be9c357ca464c6dba1ea4db29c0f44a54 | 77157987168fc6a0827df2ecdd55104813be77b1 | /palm/inst/testfiles/pbc_distances/libFuzzer_pbc_distances/pbc_distances_valgrind_files/1612988237-test.R | 5fc7b421c864f2d54d23c7fbb080d186ccdea74c | [] | no_license | akhikolla/updatedatatype-list2 | e8758b374f9a18fd3ef07664f1150e14a2e4c3d8 | a3a519440e02d89640c75207c73c1456cf86487d | refs/heads/master | 2023-03-21T13:17:13.762823 | 2021-03-20T15:46:49 | 2021-03-20T15:46:49 | 349,766,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 495 | r | 1612988237-test.R | testlist <- list(lims = structure(0, .Dim = c(1L, 1L)), points = structure(c(NaN, 1.12512633411741e+224, 3.18758514287482e-241, 1.1125369201759e-308, 1.21357302056518e+132, 4.94065645841247e-324, 4.94065645841247e-324, 4.94065645841247e-324, 4.94065645841247e-324, 7.90667225870809e-310, 6.48706401202575e+174, 2.456... |
42dd2fbcb2e4b60940bf2fbc2326829df330cbfc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PUPAIM/examples/freundlichanalysis.Rd.R | d1b2ccd298de5be0547342a3af661e69cdea58c1 | [] | 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 | 186 | r | freundlichanalysis.Rd.R | library(PUPAIM)
### Name: freundlichanalysis
### Title: Freundlich Isotherm Analysis
### Aliases: freundlichanalysis
### ** Examples
freundlichanalysis(c(1,2,3,4,5),c(1,2,3,4,5))
|
70e76c78f5daf60278ddbe5de9ca72a974fe23e6 | 02203a5e1487c6bf95647b38038e2428c261aad7 | /R/nearblack.R | 3ae56d39c65864f276dd3a7665cf94adb216d93e | [] | no_license | cran/gdalUtils | 8793292640f94d0f8960804f0ba9d4b5099baad7 | 9aa3955becca0970f98513ca20e4bff56be44d81 | refs/heads/master | 2021-06-07T07:27:23.972525 | 2020-02-13T19:10:02 | 2020-02-13T19:10:02 | 17,696,298 | 3 | 8 | null | null | null | null | UTF-8 | R | false | false | 6,334 | r | nearblack.R | #' nearblack
#'
#' R wrapper for nearblack: convert nearly black/white borders to black
#'
#' @param infile Character. The input file. Any GDAL supported format, any number of bands, normally 8bit Byte bands.
#' @param o Character. outfile. The name of the output file to be created. Newly created files are creat... |
cf45f5df640faa4c75f54b5bd1c6435fac4498b1 | 20925a992f5e542366b049232bdea1aa7aca1112 | /config/census_spec.R | fef14b2f9dfed9648a0250eedeefddca696cbd68 | [] | no_license | r4atlantis/atlantisom | 608a42edcfa16a4e4ee1cbc449d12f26fd15421a | b39a88f268a76014de9844ae8fffa67876c218fd | refs/heads/master | 2023-06-25T13:57:15.235092 | 2022-06-30T22:30:05 | 2022-06-30T22:30:05 | 47,479,048 | 7 | 6 | null | 2021-04-29T14:03:50 | 2015-12-06T01:14:26 | R | UTF-8 | R | false | false | 1,864 | r | census_spec.R | # should return a perfectly efficient survey
effic1 <- data.frame(species=funct.group.names,
efficiency=rep(1.0,length(funct.group.names)))
# should return all lengths fully sampled (Atlantis output is 10 age groups per spp)
selex1 <- data.frame(species=rep(funct.group.names, each=10),
... |
03bcfc1b7fc045d9a1584841bec3a8be4afc83cf | 9805296e474418dcbe3b3796be3ccf1deda87699 | /R/na_pad.R | 736e5a348822cd5ef1fcaf2e19a0b479badaecc7 | [
"MIT"
] | permissive | gpilgrim2670/SwimmeR | 0b23f5a940e8e91de0e5f28618921649781a0f73 | 99771b92d5b692a4e09d795e0ab809a844b3c32e | refs/heads/master | 2023-03-31T03:21:05.070693 | 2023-03-24T01:02:25 | 2023-03-24T01:02:25 | 211,669,184 | 2 | 2 | NOASSERTION | 2023-03-15T00:04:13 | 2019-09-29T13:42:59 | R | UTF-8 | R | false | false | 595 | r | na_pad.R | #' Pads shorter lists in a list-of-lists with \code{NA}s such that all lists are
#' the same length
#'
#' Adds \code{NA} values to the end of each list in a list of lists such that
#' they all become the length of the longest list. The longest list will not
#' have any \code{NA}s added to it.
#'
#' @param x a list of ... |
37974f9f7ace402a614bde3b382f94c38aa521ae | 885f74da2928461078ace7d0dedb814797b3efd1 | /Parte1/scatterPlot.R | 9eff02f89fb1fd06b6b36f0965f5957aa7c60fa6 | [] | no_license | t0ny00/Inteligencia-2-Proeycto-1 | bc5013a2caf12ec1503bc5b6b263588001f1c962 | bd2cd842a18a7d70e3f7cace8479b57cf1b127b4 | refs/heads/master | 2021-01-19T10:58:59.957243 | 2017-02-20T04:32:30 | 2017-02-20T04:32:30 | 82,225,968 | 0 | 0 | null | 2017-02-20T02:08:53 | 2017-02-16T21:04:03 | Python | UTF-8 | R | false | false | 527 | r | scatterPlot.R | data = read.table("x01-data-30Iter.txt")
weights = read.table("x01-weights-30Iter.txt")
plot(data$V2,data$V3,type = "p",pch = 19, col="blue",
xlab = "Brain Weight (normalized, unknown scale)",
ylab = "Body Weight (normalized, unknown scale)",
main = expression(paste("Weight relation between brain and body a... |
26ab7a831f508b124ad2d742a6567ccb20307e55 | 636bffab8f50a57cd20a171f724ecfcdd43e10d1 | /tests/testthat/tests.R | af6de4879e3357ec217ea46a30492d3612d90c38 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | shiandy/methods1proj | 71e29eee0d256cb9727e946f659c7f879e28accf | d4eb49718986b4bf18b3401770297d848593007d | refs/heads/master | 2021-07-06T20:47:39.119688 | 2020-11-05T20:25:53 | 2020-11-05T20:25:53 | 74,291,212 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,006 | r | tests.R | context("General Unit Tests")
test_that("Generated xs have right dimensions", {
expect_equal(dim(gen_xs_default(5, 2)), c(5, 1))
expect_equal(dim(gen_xs_corr(5, 2)), c(5, 1))
})
test_that("Generated ys have right dimensions", {
n <- 100
ys <- gen_data(n, c(1, 2))$ys
expect_equal(length(ys), n)
... |
a9d82c919b43519d114c9aa8abeab929cd3213ac | 0d80c27ba1f05646b567709a435661372b7ab131 | /example_investing_dot_com.R | 9b9f41e7ee41e950a723d7a666d9c6914b05983a | [] | no_license | ByeongheonSong/qae | b86edea675afbe3168027f40898e40ad24d80920 | 0edac75981f3baecc1f894779a9b921c53601531 | refs/heads/master | 2022-12-10T21:39:02.171515 | 2020-08-22T03:56:42 | 2020-08-22T03:56:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,066 | r | example_investing_dot_com.R | ## Investing.com
library(rvest)
library(stringr)
library(dplyr)
## Major indicies
URL <- "https://www.investing.com/indices/major-indices"
res <- read_html(URL)
# Table
tab <- res %>%
html_table() %>%
.[[1]]
names(tab)[1] <- "v1"
names(tab)[dim(tab)[2]] <- "v.last"
major.indices <- tab %>%
select(-v1, -v... |
c6ebf35712f280fb8a5c482a2838541f18f613ec | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diversityForest/inst/testfiles/numSmaller/libFuzzer_numSmaller/numSmaller_valgrind_files/1610037254-test.R | c56fc4769a75dca214c3d117a31e3db633599bdc | [] | 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 | 425 | r | 1610037254-test.R | testlist <- list(reference = numeric(0), values = c(8.81439202903199e-280, NaN, NaN, 3.22723679863502e-319, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0... |
25d1c131b12863e1391ee1420b12cecf19314e5f | fb04f67adde5c1cb23591b0f7f1c9327b2cb2c0d | /R/plot_FDEffect.R | 97c67e1b7bbe9d2a8533b228085ca05d8a3869be | [] | no_license | cc458/postregplots | 083570ad08456414a62515a5a30aac44e6f8df2a | d7622e3a201de582e4bd1d8812ca222be3bb6cd8 | refs/heads/master | 2021-03-19T17:06:21.245912 | 2019-08-21T00:48:22 | 2019-08-21T00:48:22 | 118,621,131 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,197 | r | plot_FDEffect.R | #' A function to plot the first difference in the predicted probability of the interaction between a binary and interval variables in Logit model with cluster sd .
#'
#' This function creates a facet plot for the interaction terms in Logit model using simulations
#'
#' @param ModelResults list. Specify model name of th... |
c640682d0b23c04a2bea4006f21510711b267e3e | 6467006af3e2c7eeef63f15755a6a307cfc89d62 | /man/dclust.Rd | 0ee4fbaf00a69a6e453baa33ac4fa3d259509799 | [] | no_license | cran/RcppML | a73d9b855fdf18b020095fdb6ffda99334a5ca3e | 10d0c0f9a7706a18036186d50b21b7600b6e08a3 | refs/heads/master | 2023-08-06T17:40:58.842650 | 2021-09-21T18:00:02 | 2021-09-21T18:00:02 | 390,405,623 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,631 | rd | dclust.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dclust.R
\name{dclust}
\alias{dclust}
\title{Divisive clustering}
\usage{
dclust(
A,
min_samples,
min_dist = 0,
verbose = TRUE,
tol = 1e-05,
maxit = 100,
nonneg = TRUE,
seed = NULL
)
}
\arguments{
\item{A}{ma... |
9e897dc59faf39176dc7d1cc4b29209d67bf2e86 | ecd22941528dc4486b1df8cc79aacfda31ff8b31 | /Assignment_4_kawthar.R | 387b5544ded0ac836430e01f2a0e366609c78d0c | [] | no_license | kawbabs/GreyCampus | d4c67810efb4cc320ddf1e12a63bea3d555331c5 | 70b3a009cd5a4b9f92f9d0c52778f7537dbeb402 | refs/heads/main | 2023-04-17T07:39:07.203617 | 2021-05-01T06:47:15 | 2021-05-01T06:47:15 | 340,961,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,940 | r | Assignment_4_kawthar.R | # ## Case I
# I. Data: The World Values Survey is an ongoing worldwide survey that polls the world
# population about perceptions of life, work, family, politics, etc. The most recent
# phase of the survey that polled 77,882 people from 57 countries estimates that
# 36.2% of the world's population agrees with the... |
d2866b4666db154b1af89177da5888292cf16515 | f0d5df048c0d5ac4f969a03b477515bd762a446c | /R/sysinfo.R | 76fbf2080267c4b3e619ddddc193b420766a161c | [] | no_license | HenrikBengtsson/startup | 67a01ac529ff0adc8dd0e722bbaccbd80010cb2a | abd1be760a8665e7f301129ec97e1d5d1b175a43 | refs/heads/develop | 2023-04-07T06:44:59.018075 | 2023-04-06T01:42:50 | 2023-04-06T01:42:50 | 73,848,752 | 163 | 8 | null | 2022-04-03T06:44:22 | 2016-11-15T19:38:47 | R | UTF-8 | R | false | false | 1,368 | r | sysinfo.R | #' Information on the current R session
#'
#' @return A named list.
#'
#' @examples
#' startup::sysinfo()
#'
#' @export
sysinfo <- function() {
## Built-in system information (character)
sysinfo <- as.list(Sys.info())
sysinfo$os <- .Platform$OS.type
sysinfo$gui <- .Platform$GUI
sysinfo$interactive <- interact... |
bb750ead754ec5d606aaf9fde5cd350196ddd351 | 42616e3030398ffd971a88a3ba57886d7eed7795 | /man/is_valid.Rd | 4409c352c2cb367299cb8041fe4bb0c3c1f276ba | [] | no_license | jandersonniche/stringe | aa38709cabefbe5af873793f20381a17ece1e9e8 | eca3f18faeeded0a75a583483cc719b527eff189 | refs/heads/master | 2020-09-25T03:24:03.149105 | 2019-12-04T16:21:18 | 2019-12-04T16:21:18 | 225,906,940 | 0 | 0 | null | 2019-12-04T16:11:26 | 2019-12-04T16:11:26 | null | UTF-8 | R | false | true | 334 | rd | is_valid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/base.R
\name{is_valid}
\alias{is_valid}
\title{Is Valid Values}
\usage{
is_valid(x)
}
\arguments{
\item{x}{}
}
\description{
This function selects only non-null, non-na values, non-blank, and non text 'NA' values.
}
\examples{
is_valid()
}
\k... |
49b86fdfeff25630578319210c8fd01e2dc65ff4 | 8fda15f44fe49fdd40d0f9779c2161d25ef119d7 | /R/filterLocalMaxima.R | a5f20d33a33e0cfff0000846f1311f4a766f146c | [] | no_license | hansoleorka/myR | 8316ec286e1bb448991062e291b7178e25985ada | 93f3a8ec529fe1067287913695b73d9a62e1e84f | refs/heads/master | 2021-01-22T07:18:27.714349 | 2019-01-08T12:30:12 | 2019-01-08T12:30:12 | 23,343,903 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,717 | r | filterLocalMaxima.R | #' Local Maxima Filtering
#'
#' Find local maxima's in a local neighborhod
#'
#' @param CHM a object of class SpatialGridDataFrame
#' @param w matrix of weights e.g. a 3 by 3 matrix; see Details. The matrix can also be expressed as the number of cells in a single direction or in two directions from the focal c... |
b7fe65f2448fbd0a72be5cf64e3e1ec507795f48 | c7e9a7fe3ee4239aad068c6c41149a4a09888275 | /OLD_GALLERY_RSCRIPT/#197_HivePlot.R | ee4b3b14a399e877748ab4261977c6f3f9753d93 | [
"MIT"
] | permissive | holtzy/R-graph-gallery | b0dfee965ac398fe73b3841876c6b7f95b4cbae4 | 7d266ad78c8c2d7d39f2730f79230775930e4e0b | refs/heads/master | 2023-08-04T15:10:45.396112 | 2023-07-21T08:37:32 | 2023-07-21T08:37:32 | 31,253,823 | 591 | 219 | MIT | 2023-08-30T10:20:37 | 2015-02-24T09:53:50 | HTML | UTF-8 | R | false | false | 3,659 | r | #197_HivePlot.R | # -----------------------------------------------------------------------------------------------------------------------------------------------------
# HIVE PLOT
library(HiveR)
library(dplyr)
library(stringr)
library(RColorBrewer)
library(grid)
# for readability, rows are added via rbind
# generates an edgelist
# I... |
6fa99654f6c81d8f914671374f92e6380c8289c4 | 18461b6f1bae5ccf97469723d98ae53e4d1aa705 | /man/simulateDataTtest.Rd | 5ee4c6868a81d3d4b89181ac3ee628d78b837047 | [] | no_license | rjbderooij/blindData_Git | 4f96a1c24c3b1d6ab4893e6edcbaf322de337aff | 55b12b7ffc852de37a5db1cbc2b70774f3e485cc | refs/heads/master | 2023-01-30T19:00:59.850132 | 2020-12-17T13:47:46 | 2020-12-17T13:47:46 | 290,745,050 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,477 | rd | simulateDataTtest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulateDataTtest.R
\name{simulateDataTtest}
\alias{simulateDataTtest}
\title{Suitable for t-test:
The function "simulateDataRegression" simulates correlational simulates
experimental data for a 2 group t-test analysis. The function returns ... |
27a905e50ee73421f733bae1a75d203369ad92f9 | 40fd023a950315e2a5d916643b9b3f884ab4b02c | /week_after_2ndSet.R | bf5792f581a1291a67be99679210a94c38c27bf5 | [] | no_license | MattSnively/capstone | 43eb6ee6d9ef455c9a75288c0d513d5792cc2b2e | 63d30056f3d1c3a8053a729242a1c59ef67f7194 | refs/heads/master | 2021-04-29T19:20:52.167991 | 2018-04-25T15:39:25 | 2018-04-25T15:39:25 | 121,711,780 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,628 | r | week_after_2ndSet.R | library(plyr)
library(tidyverse)
library(rtweet)
#make sure it's a data frame!
df5 = as.data.frame(week_after_sb_2)
#strip down to actual tweet only
s5 <- df5$text
# check check
#summary(s5)
#str(s5)
#remove non-graphical characters
s5 <- iconv(s5, 'UTF-8', 'ASCII')
#remove non-graphical characters
... |
ffa5d8b54323e23b4b6cfa9496415d093dccd545 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/plotwidgets/examples/showPals.Rd.R | 9a651aedb415056f31e15f38f4b31ee78944b183 | [] | 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 | 245 | r | showPals.Rd.R | library(plotwidgets)
### Name: showPals
### Title: Demonstrate selected palettes
### Aliases: showPals
### ** Examples
## Show all palettes in plotwidget
showPals(plotPals())
## Show just a few colors
showPals(c("red", "green", "blue"))
|
62e1aeb27a6a1b5503f16ef1a3c8f3646e6586ff | e313d8481e8d51c1b55b51296b939dafcc78482f | /loadfromgsheet.R | 7832a127b316e55bb34f161c117868de42cfb102 | [] | no_license | deekshit3991/analytics1 | 3a63654a9726a1145f1ecc64191b436b3f8b6813 | de38d7957a4d5c5a9b22397a1206be5802b17733 | refs/heads/master | 2023-06-22T23:42:38.115132 | 2023-06-11T02:46:14 | 2023-06-11T02:46:14 | 145,305,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 438 | r | loadfromgsheet.R |
library(gsheet)
url <- 'https://docs.google.com/spreadsheets/d/1h7HU0X_Q4T5h5D1Q36qoK40Tplz94x_HZYHOJJC_edU/edit#gid=216113907'
denco <- as.data.frame(gsheet2tbl(url))
str(denco)
head(denco)
#loyal customer
denco %>% group_by(custname) %>% summarise(n=n()) %>% arrange(desc(n))
denco %>% count(custname,sort = T)
# r... |
85aa98223b8e08363bc1b818532e004ecd0c2788 | 03946226e5dd1c00c21d84b9b677eb1a0bd5c738 | /man/export.Rd | ca50f542faa9607efeedba9970fecc0c433a81fe | [] | no_license | lgeistlinger/EnrichmentBrowser | c9b072a07c9a70cbc940b36cb9973303c7b4ab84 | 81a7d679cec2aeca0feb8eec21cacaf00646e6fa | refs/heads/devel | 2023-08-08T05:02:45.920640 | 2023-07-30T03:43:28 | 2023-07-30T03:43:28 | 102,148,735 | 21 | 14 | null | 2023-07-17T21:24:02 | 2017-09-01T20:00:56 | R | UTF-8 | R | false | true | 637 | rd | export.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export.R
\name{export}
\alias{export}
\title{Export results from set- and network-based enrichment analysis}
\usage{
export(res, to = c("enrichplot", "GOPlot"))
}
\arguments{
\item{res}{Enrichment analysis results as returned by \code{\link{s... |
3a0530cd9991580207e28e608fdb36e84b72c204 | 25a907150cf6db44764d436cd9adb83c90f13554 | /Code/NeuralNetCast01.2.R | 053f7bd30922fa0be52928ff0b3b900e9eb0a751 | [] | no_license | jevanilla/NeuralNetCast | 46ac63d290142e9e76118e38dfac3d6d66204893 | e7468a777022619c124dbda6f2cbc15346f7d8de | refs/heads/master | 2022-04-05T06:18:17.527232 | 2020-02-07T08:22:50 | 2020-02-07T08:22:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,838 | r | NeuralNetCast01.2.R | # Functions for neural network based forecast of species
library(keras)
# TODO
# - Make data cleanup a function
# - Make index selection for train/test a function
# - choose based on year(s), area(s), or percent (random)
speciesLoad <- function(fname = '../Data/CWM_yearsub.csv')
{
data <- read.csv(fname)
ret... |
8f39838459571612c461d9c06af2377aea852722 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rLDCP/examples/xml2rldcp.Rd.R | 55c458280c7bbf27630f6e8e097545d1ba34b85d | [] | 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 | 243 | r | xml2rldcp.Rd.R | library(rLDCP)
### Name: xml2rldcp
### Title: XML to rLDCP
### Aliases: xml2rldcp
### ** Examples
## Not run: xml2rldcp('extdata/comfortableroom.xml','comfortableroom.R')
## The xml is valid
## The code has been generated successfully
|
c8871527aaa616da74f0a404b9c618defe5bc42b | 9ff405bac37b4b84e6651ae628e3ccdf009ef50d | /install.R | 32b013623791d66509a68cc10e145b33732ac298 | [
"MIT"
] | permissive | haochunchang/Bioinformatics_Course | 819d94602aee3eae916e26348fbc6370628b5df3 | c060c1cfe2ccc3c6f0adbe3e414b3c7ce8a5385c | refs/heads/master | 2020-08-31T15:12:32.849074 | 2020-05-29T09:59:45 | 2020-05-29T09:59:45 | 218,719,280 | 0 | 3 | MIT | 2020-05-29T09:57:27 | 2019-10-31T08:32:03 | HTML | UTF-8 | R | false | false | 268 | r | install.R | if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("limma")
BiocManager::install("edgeR")
install.packages("RColorBrewer")
install.packages("ggplot2")
install.packages("ggrepel")
install.packages("statmod")
|
840761c6611d73d38c5266c58004f900a87935d9 | cd4c6064925c9fbb74a68b52ce8614a65926afef | /commit.R | 3e5afd3320be8fcbaeb8902390de625c8c5e029d | [] | no_license | nicholasdavies/newcovid | 53cfe0b6bd70e01606c369a2fa11e16acedd4ece | 204c35dd4b810f71c90472fbbd61068de1c4c1a4 | refs/heads/master | 2023-03-12T05:57:13.246461 | 2021-02-25T19:42:16 | 2021-02-25T19:42:16 | 323,409,362 | 27 | 4 | null | 2021-01-21T10:12:45 | 2020-12-21T17:52:11 | R | UTF-8 | R | false | false | 9,353 | r | commit.R | library(ggplot2)
library(data.table)
library(cowplot)
library(stringr)
# previous_data = existing
# new_data = rlang::duplicate(existing)
# new_data[between(date, "2020-07-01", "2020-07-06"), value := value + 5]
# new_data[between(date, "2020-07-01", "2020-07-06")]
# new_data = rbind(new_data, new_data[date == "2020-0... |
0c54657b0b0372d27b12dd0b55d0c58355b41519 | d97ac05c04ac282164943b6f2ad1202a96f4f835 | /sims/2_timeseries/2_timeseries.R | 6294699526848af21ec14d3260734bb547b6ace6 | [] | no_license | TomBearpark/ECO518_code | d81bbba0bd674b7662ec544e27a96b9d2b1bc6f4 | 6a998f58d63160dace441cca159a406edbf264fd | refs/heads/main | 2023-04-14T16:33:03.008259 | 2021-04-29T19:32:32 | 2021-04-29T19:32:32 | 335,358,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,521 | r | 2_timeseries.R | # Code for PSET 2
# Creates visualizations of the time series and ACFs for each of the
# models.
############################################
# 0 Set up
############################################
rm(list = ls())
pacman::p_load(purrr, dplyr, ggplot2, xtable)
theme_set(theme_minimal())
out <- paste0(
"/Users/tombear... |
36fa971f1b0f80214a6a25111517eb4666d3bfd8 | da02903fddc6257c36b39bd6ebc40bf282d1ea7f | /man/tv2taxlist.Rd | 5d658848e3cadadae3885b1d4d81e29a09771fe4 | [] | no_license | heibl/taxlist | df8115f197e06b71fc2abe9b681541bcc34b10f3 | 0c1a054d0cb80915e20ad73bb6feef7139e3e814 | refs/heads/master | 2020-03-29T06:47:04.138313 | 2018-07-09T20:33:35 | 2018-07-09T20:33:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,602 | rd | tv2taxlist.Rd | \name{tv2taxlist}
\alias{tv2taxlist}
\title{Import species lists from Turboveg databases.}
\description{
Importing species lists from Turboveg
\url{https://www.synbiosys.alterra.nl/turboveg/} databases into an object of
class \code{\linkS4class{taxlist}}.
}
\usage{
tv2taxlist(taxlist, tv_home=tv.home())
}
... |
8d48edc8b1fdef8288edd149561c81b0c432b3ec | bbd072b9e809ae264edff70af0c8ece04ffa8ba2 | /Assigment-3/7.R | eddd45e32965242fca60813f2f728f28ff126c66 | [] | no_license | GislaineCurty/Brasil_2019 | ef402323cd02aa092ebf7001a6419018835da15b | 80e15aeab2ea0cc3428f6ff698955a20642b0935 | refs/heads/master | 2020-07-07T00:35:10.283612 | 2019-08-21T20:00:02 | 2019-08-21T20:00:02 | 203,187,842 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 75 | r | 7.R | x=c(rep(1,10), rep(2,10),rep(3,10),rep(4,10),rep(5,10))
x
print(length(y))
|
c8ef6e527f8057dba86bd0841e1d91a0d5a626e9 | f696d5a4aeccc4e4a9c25824c511bd80c481ba42 | /Training system (induce models)/00_TRAINING_FROM_FULL_DATASET.R | 15b65ac4852ea956e16947162786524508c2b0a7 | [] | no_license | ursusdm/predictingHourlySolarRadiation | fd1a13a93418f58f1f752ec34f9e466c909a5cc5 | 5978d460f70703544ee4ff8492c81666b51c24b6 | refs/heads/master | 2022-12-17T21:10:26.551012 | 2020-09-17T16:47:32 | 2020-09-17T16:47:32 | 296,289,858 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 237 | r | 00_TRAINING_FROM_FULL_DATASET.R | source("./01_cleaning_demo_dataset.R")
source("./02_inducing_RF_for_regression.R")
source("./03_creating_dataset_for_classification.R")
source("./04_inducing_LMT_for_classification.R")
source("./05_creating_dataset_with_type_of_days.R")
|
4eead31580c4cf8b3ec5dd4e3caed905be66c380 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.machine.learning/man/lexruntimeservice_post_text.Rd | 1d7ec8372906ee563d51f06ebc16d8adb1c030d7 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 7,078 | rd | lexruntimeservice_post_text.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lexruntimeservice_operations.R
\name{lexruntimeservice_post_text}
\alias{lexruntimeservice_post_text}
\title{Sends user input to Amazon Lex}
\usage{
lexruntimeservice_post_text(botName, botAlias, userId,
sessionAttributes, requestAttributes... |
414a3cd5c1613202e35e0fd19ec01fe8aa03f1cb | 31d601468b54cb3e5ee0d91718c26a1ca23cefc0 | /latex/21-bootstrap/normal-rejection.R | 8d235c25e719090e342b1f61a74973129f276e85 | [] | no_license | echalkpad/sungsoo.github.com | 0dd8adb60516ce2faec77dde6de250e4d0935228 | 9c47302f0e122ef74b079bde4a4d90faaa861793 | refs/heads/master | 2023-03-17T12:38:09.129987 | 2015-09-16T07:34:00 | 2015-09-16T07:34:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 558 | r | normal-rejection.R | # generating N(0,1) by rejection method
# using exponential(beta=1) as the majorizing density
t0=Sys.time()
one.X=function()
{
n=1
c=(2/pi)^.5*exp(.5)
Y=-log(runif(1))
U=runif(1)
while (U*c*exp(-Y) > (2/pi)^.5*exp(-.5*Y^2))
{
Y=-log(runif(1))
U=runif(1)
n=n+1
}
Y=Y*(2*rbino... |
d2ec3ba35c10efd144e2210dcf18e928d6dfd8c2 | 98adcc451dd266a13fe2ca6a49142010062cfd3e | /simple_code/outputdata.R | b65bc5beda5edebc0812ac6a61b5c240ee047b42 | [] | no_license | 3mofstudy/R | 11dde775e05d78783478111483d83ae0db48d5ac | 69e51c6ad4b13337ac937cf4ccce4a9f24eeeb5f | refs/heads/master | 2021-10-26T18:08:04.969050 | 2021-10-07T06:05:18 | 2021-10-07T06:05:18 | 245,588,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 626 | r | outputdata.R | # 可匯出 資料矩陣或資料框
write.table(x = Kidney1, # 資料矩陣或資料框
file ="D:/Kidney1.txt", # 儲存位置
quote = TRUE, # 文字兩邊加" "
sep =",", # 分隔符號
row.names = FALSE, # 是否輸出行名
col.names = TRUE, # 是否輸出行名
eol = "\r\n", ... |
c97fa055c51caf1b8adac91667e59c85b85be6e7 | 19fb0ebe587de3dff7dfc097706c8cf5de3b5ff3 | /flashdrive/afternoon/wrtds.R | 9a84565d52e98a6f4b90847c4784889fce63dbea | [] | no_license | fawda123/swmp_workshop_2016 | 8de326e856cd1e8a1793c5b874e9282acfc0341e | 985917d2563ddf7bab0c29adafb6c01166b41a29 | refs/heads/master | 2020-06-23T17:20:21.224440 | 2017-01-17T17:09:49 | 2017-01-17T17:09:49 | 66,284,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 953 | r | wrtds.R | ## TS topics 1: WRTDS
# setwd('mypath')
# load SWMPr, nutrient data
library(SWMPr)
load(file = 'noczbnut.RData')
# rename, qaqc clean up, subset
nut <- noczbnut
nut <- qaqc(nut, qaqc_keep = c(0, 4))
nut <- subset(nut, select = 'chla_n')
head(nut)
# load wq data
load(file = 'noczbwq.RData')
# rename, qaqc clean up... |
d1ac8273383adf4e9a465e9cb6cb1544e9595f1b | 71ac65903672ab795f4ccc5eefd322a68a634615 | /man/splt_fsmi.Rd | 3e762ade4a83bbc4dca436c0f9edac4ffd3b4b8a | [] | no_license | jflournoy/probly | 754b2e213982af304736aac89d785331957f6534 | a3398f5ba56846dc7be31428aa882ed1c68634b7 | refs/heads/master | 2021-08-06T05:18:44.420012 | 2021-02-09T20:05:01 | 2021-02-09T20:05:01 | 125,664,436 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 608 | rd | splt_fsmi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{splt_fsmi}
\alias{splt_fsmi}
\title{Fundamental Social Motives Inventory Data}
\format{A data frame with M rows and N variables: \describe{
\item{blah}{blah} }}
\usage{
splt_fsmi
}
\description{
College sample on... |
ca343aa3bd5214fac8ba55711d14e67ef4399b74 | 781f542f9b84c87af5913de75f884dc397c5beca | /moshefiles/rjags_model-moshe.R | 9cfebc4a207119ef53fb43e79a5c0a2e8369c63e | [] | no_license | hezibu/invasionrate | 827cf642418aae27f9b114a1be03b29fddbe5447 | 8c08061f48da59decb60185a8c7ce4df07fce962 | refs/heads/master | 2021-10-10T16:06:58.038104 | 2021-09-28T14:10:37 | 2021-09-28T14:10:37 | 173,117,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,444 | r | rjags_model-moshe.R |
setwd("C:/Users/mkiflawi/Dropbox/Ideas/Belmaker/")
library(rjags)
modelString="#open quote
model {
for ( i in 1:N ) {
logit_P[i]=a+b*t[i]
P[i]=1/(1+exp(-logit_P[i])) # <---------------logistic
#P[i]=exp(-a*exp(-b*t[i])) # <---------------Gompertz
#P[i]=1-exp(-(a*t[i]^b)) # <---------------Weibull
dI[i] ... |
f5debeccaf5d58f4677d3fc7e50512c186d4d7af | 0dd7ba5c65f37a4674f6c5f57620af3cb4a28e81 | /apps/shinydisp2/server.R | a08b678ee48dd294b441616b7acdb53944db923a | [] | no_license | uwban/cvapps | 2a7d86096c579392b47fb2e57270a7bad4fcb17d | efdf0f702c1ee53ccb7db4d4a1a30d13f28cc939 | refs/heads/master | 2020-04-16T16:15:43.372554 | 2018-07-05T19:13:34 | 2018-07-05T19:13:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,980 | r | server.R | server <- function(input, output, session) {
# Relabel rxns dropdown menu based on selected drug
observeEvent(input$search_drug, {
hlt_choices <- drug_PT_HLT
pt_choices <- drug_PT_HLT
if (all("" != input$search_drug)) {
if (length(input$search_drug) == 1) {
hlt_choices %<>% filter(ing == i... |
59e381e1d2ba67275e9840280bb1a120a4b2fa60 | 3937cb382536a2326bc181bd872778aaf25c8bee | /man/french_dataset-class.Rd | 58698c1a6e0cceb02ea9f0e6f2ce35e262062b97 | [
"MIT"
] | permissive | nareal/frenchdata | 030f499bd6f390e368670470ad8be950a1a14aba | 7918f15f41fadea53255e5bd376f7e945474f6dd | refs/heads/master | 2023-08-21T13:11:36.108309 | 2021-09-10T17:54:13 | 2021-09-10T17:54:13 | 366,717,954 | 10 | 2 | NOASSERTION | 2021-09-08T17:13:51 | 2021-05-12T13:04:38 | R | UTF-8 | R | false | true | 1,030 | rd | french_dataset-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download_french_data.R
\name{french_dataset-class}
\alias{french_dataset-class}
\title{\code{french_dataset} S3 class}
\description{
The \code{french_dataset} exists to hold the results of reading the files lists of Kenneth's French data libr... |
b018dd72609105900a942328c6449bc0ea0a08bf | 9e3209e4bd9eaa05d9222a80f07ae995ccaea5eb | /hw03/code/binomial-functions.R | 8f13402b74db6bc3ea51d57e5943f0658c5c45e2 | [] | no_license | lindsey-chung/homework | 9be7f037f32a9d10178a06b2ff8b14c190cd6f21 | 7a934e879b1ed5cbb782ea4e7858a0a84c6126fe | refs/heads/master | 2021-04-03T08:36:51.555653 | 2018-04-26T22:47:13 | 2018-04-26T22:47:13 | 124,458,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,621 | r | binomial-functions.R | # ==============================================================
# Title: HW 03 Data Script
# Description: This script writes binomial probability functions
# Inputs
# Outputs: the following functions
# is_integer()
# is_positive()
# is_nonnegative()
# is_positive_integer()
# is_nonneg_integer()
# ... |
29a322e4d1878aeaa8dea9cc58f4fa12a442d89e | 5a8e7a53bdbdb29dfd64606b959a68abd9503739 | /man/kde.polys.Rd | 06ab3c989bd77ff0ec53b4df005e6536f76922d7 | [] | no_license | lsleezer/GISTools | fea72ededcc833a80f60c74f029d96f3ed458704 | f112202e534df31eb9528a0df21f82016d7b9c10 | refs/heads/master | 2023-05-28T03:50:56.591106 | 2014-10-06T00:00:00 | 2014-10-06T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,096 | rd | kde.polys.Rd | \name{Kernel Density Estimates From Points}
\alias{kde.points}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Kernel Density Estimates}
\description{
Given a set of points, a bandwidth, a grid density and a frame, produce a kernel density estimate}
\usage{
kde.points(pts,h,n=200,lims=NULL)
}
%- ... |
f14be8852b63615b3c3b8fc002e982e93142c91e | fd33f7df36e0a7fc63a9b707c153b63c78aa037e | /homework/homework4/pointwise.R | 3006f688b7d2c0e88ff396431c9ba49ba50e43d8 | [] | no_license | BingzheWu/StaticalLearning | 163de69ee3b4af0b4b4e0b25710045f4b8a6ca07 | 48ad7c564e28eaf3d54026201bcc7202f45bcc82 | refs/heads/master | 2016-09-01T05:57:29.053549 | 2015-10-26T02:26:32 | 2015-10-26T02:26:32 | 43,114,728 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 1,393 | r | pointwise.R | sgn<-function(num){ #很简单的符号函数,正为1,非正为0
sgn<-rep(1,length(num))
for(i in 1:length(num)){
if(num[i]<=0){
sgn[i]<-0
}
}
sgn
}
dk<-function(x,knot){ #对应教材中的dk(x)
dk<-(sgn(x-knot)*(x-knot)^3-sgn(x-0.9)*(x-0.9)^3)/(0.9-knot)
dk
}
Nk<-function(x,knot){ #natural cubic spline的基函数
Nk<-(dk(x,knot)-d... |
6b6d446b2fff6d313844a16e2f8252469664a8a3 | fe612f81a3118bf3ebef644bae3281bd1c156442 | /man/h2o.setLevels.Rd | 9bec48636510a3d9ecf19d1960a815bcdea58fed | [] | no_license | cran/h2o | da1ba0dff5708b7490b4e97552614815f8d0d95e | c54f9b40693ae75577357075bb88f6f1f45c59be | refs/heads/master | 2023-08-18T18:28:26.236789 | 2023-08-09T05:00:02 | 2023-08-09T06:32:17 | 20,941,952 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,146 | rd | h2o.setLevels.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/frame.R
\name{h2o.setLevels}
\alias{h2o.setLevels}
\title{Set Levels of H2O Factor Column}
\usage{
h2o.setLevels(x, levels, in.place = TRUE)
}
\arguments{
\item{x}{A single categorical column.}
\item{levels}{A character vector specifying the... |
f327a17d720eb524ba1ab05ac98100ffce7fee3f | 32ee2368f97561864223cee83a8e8cb24b6eca4e | /esf2.R | 73f581e6b8239b17cdd151aa6f8bbdcc5c610c9d | [] | no_license | wangzc1997/estimateDiffusionParameter | e557932ab24a010b43871704820fa2f8a803e7be | d3e7fc13911f0de5500ebb8cfee5fb68576e0253 | refs/heads/master | 2020-06-14T22:45:43.425935 | 2018-03-13T02:27:28 | 2018-03-13T02:27:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,459 | r | esf2.R | estfc2<-function(Y) {
# first function
for (t in 1:10000) {
x1=X[t]
x2=X[t+1]
n=1
g1=0
s1=0
s2=0
for (m in 0:n) {
t1=choose(n,m)*gamma(Y[1]+Y[2]+n+m-2)/gamma(Y[2]+m)*((x1-1)^m)
s1=s1+t1
t2=choose(n,m)*gamma(Y[1]+Y[2]+n+m-2)/gamma(Y[2]+m)*((x2-1)^m)
s2=s2+t2
}
... |
8fb69fa0a53540287e61943103060b4557b9beb2 | aa11504f73b327c7c0249c80971ba76a7d9322b7 | /Data Science Machine/modelingPip.R | 281e7ba5982f6af17e3b86e14d56e2988646b3b3 | [] | no_license | hamzafar/dsmachine | d13fb1fd9e698ce2ed9028fee5c86a939db6e24f | cc8dadc941117892f11ba8ab190c5c753c022c8b | refs/heads/master | 2020-12-26T02:21:45.375895 | 2017-01-11T17:24:13 | 2017-01-11T17:24:13 | 45,959,766 | 0 | 0 | null | 2015-11-11T04:29:43 | 2015-11-11T04:29:43 | null | UTF-8 | R | false | false | 54 | r | modelingPip.R |
testPip <- dbReadTable(mydb, 'outcome')[1:5000,]
|
ba9cbb2eeffabe1ef1abaf942d665a66d7573f2a | 2986385f34e53fccb02041e33ccf57ba7b6413b9 | /DESCRIPTION.R | 6032223d20652b112eccd2604a8045be4286fced | [] | no_license | SDS410-Spring2020/CEEDS | b6ddfcd5c2e3e934f211f2b7b90f9be4b0892341 | c64a6b6eb0355504901cbf2bcad81ac14136cde1 | refs/heads/master | 2022-04-03T13:40:38.290305 | 2020-02-25T19:12:25 | 2020-02-25T19:12:25 | 237,068,050 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 821 | r | DESCRIPTION.R | Package: ceeds
Title: Center for the Environment, Ecological Design, and Sustainability
Version: 0.0.1.9000
Authors@R: c(
person("Benjamin S.", "Baumer", email = "ben.baumer@gmail.com",
role = c("aut", "cre")),
person(given = "Marta", family = "Garcia", role = "aut"),
person(given = "Mirella", family = ... |
d4b16e0eaa734416aa05fbd8708b2e746b45c481 | c11e775503ad697d157b169317403f0c14c77713 | /rpackage/R/RcppExports.R | 8401dca0c67aca96ec469b49215e76acc3fb78c7 | [] | no_license | magnusmunch/NIG | 0df8e1fd004f643754a0e2b34503d43e2504428b | c92b5c23ff4f299d81813834294d45b34e398e58 | refs/heads/master | 2022-11-07T20:21:43.790758 | 2020-06-18T14:12:25 | 2020-06-18T14:12:25 | 161,490,141 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 933 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
.f.optim.mat <- function(alpha, lambda, nu, zeta, Cmat, Z, n, p, D, idsel, G, H, y, x, yty, Zpres) {
.Call(`_NIG_f_optim_mat`, alpha, lambda, nu, zeta, Cmat, Z, n, p, D, idsel, G, H, y, x, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.